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)
Sat, Jul 25, 3:03 PM
Unknown Object (File)
Sat, Jul 25, 4:06 AM
Unknown Object (File)
Fri, Jul 24, 3:15 PM
Unknown Object (File)
Tue, Jul 21, 11:14 AM
Unknown Object (File)
Sun, Jul 19, 7:14 PM
Unknown Object (File)
Sat, Jul 11, 9:45 PM
Unknown Object (File)
Jun 25 2026, 11:35 AM
Unknown Object (File)
Jun 22 2026, 4:58 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.