Wonderful idea. Care to show us how to accomplish this, given that there's
no way to detect corruption aside from forcing a full scan of the filesystem
structure at mount time? (There isn't even a way to reliably determine
whether an MSDOS filesystem *exists* on the partition; the msdos fs code
checks to see if the basic parameters seem to make sense, as the best it can
do.)
The MSDOS filesystem isn't a sensible structure that can be verified easily.
There is no superblock magic number, no dirty flag, no sanity checking.
And we can't retrofit such checking because neither DOS nor Windows knows or
cares about it.
-- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering carnegie mellon university (bsa@kf8nh is still valid.)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu