Page MenuHomeFreeBSD

biosdisk needs to use std probe for floppy devices
ClosedPublic

Authored by tsoome on Jan 2 2019, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 3:15 AM
Unknown Object (File)
Sat, Oct 4, 3:39 PM
Unknown Object (File)
Sep 6 2025, 7:17 PM
Unknown Object (File)
Aug 28 2025, 3:40 PM
Unknown Object (File)
Aug 14 2025, 10:33 PM
Unknown Object (File)
Aug 10 2025, 4:16 PM
Unknown Object (File)
Jul 22 2025, 8:46 AM
Unknown Object (File)
Jul 8 2025, 12:32 PM

Details

Summary

With buggy int13 ah=15, we can mis-identify the floppy devices.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Are we *guaranteed* to have the floppy drives coming only at the start of the list?

Are we *guaranteed* to have the floppy drives coming only at the start of the list?

There is no such thing as *guaranteed* in the BIOS world. However, the fact about hard disks starting from 0x80 and floppy drives starting from 0 (or hdd's having high bit set:) is so fundamental that I hope they do not dare to break it:) In any case, if this fact is broken, all but trivial boot loaders are broken.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 5 2019, 7:20 AM
This revision was automatically updated to reflect the committed changes.