This PR continues where the previous left off, with more updates to the directed driver, notably adding raw device access. More details:
Floppy driver cleanups
Added config option (#define) for full cylinder read buffering on small floppies, which may not always be desirable: Reading two tracks instead of one track means another ⅙ of a second to wait, which is advantageous for big file/device reads but may not average out in a positive way in general usage. (The full track buffer would be used by 360k and 720k floppies.)
Raw/char device support for floppies. The raw devices are /dev/rdf0, ....
Removed the CONFIG_BLK_DEV_CHAR configuration option. Raw access is now always included with the direct block drivers and (soon to be) required by some of the system disk utilities, such as disk, mkfs, fsck, makeboot… in the future possibly a format program for floppies. The code size implementing raw access is minimal.
This PR continues where the previous left off, with more updates to the
directed
driver, notably adding raw device access. More details:#define
) for full cylinder read buffering on small floppies, which may not always be desirable: Reading two tracks instead of one track means another ⅙ of a second to wait, which is advantageous for big file/device reads but may not average out in a positive way in general usage. (The full track buffer would be used by 360k and 720k floppies.)/dev/rdf0, ...
.disk
,mkfs
,fsck
,makeboot
… in the future possibly aformat
program for floppies. The code size implementing raw access is minimal.