fsck on FAT32 filesystem?

perryh at pluto.rain.com perryh at pluto.rain.com
Mon Jul 23 03:13:52 UTC 2012


Robert Bonomi <bonomi at mail.r-bonomi.com> wrote:

> MSDOS/PCDOS had -no- O/S functions to directly access actual disk
> devices.  The ONLY fuctionality provided to the user, by the "O/S"
> was filesystem based access.  To get 'raw' device access, one had 
> to bypass the O/S entirely, and use direct BIOS calls (INT 13h).

FALSE TO FACT.

MSDOS/PCDOS had no _documented_ functions to directly access the
disks, bypassing the file system, but the functions _did_ exist.
The debugger's "read sector" and "write sector" commands used them,
and I suspect chkdsk, scandisk, and format probably also used them
although I never had occasion to verify one way or the other.


More information about the freebsd-questions mailing list