NetBSD/sbin/fsck_msdos
gdt 9da1e4cf5f Change mismatch of bytes 11 to 90 to be a warning, not an error, and
print out the values of the bytes that do not match.
Add comment explaining that there is no documented rationale for the
check.

fsck_msdos checks that several bytes are equal in the primary and
backup bootblock.  There is no documented rationale.  The kernel does
not enforce this when mounting a filesystem.  I have a FAT32
filesystem on my disk (mounted as /share) which fails this check, but
is accepted by both Windows XP and NetBSD.  My volume differs in bytes
71-81.  The primary contains "SHARE " and the backup NUL bytes.

Further, fsck_msdos does not have code to repair the mismatch.  As a
result such filesystems can be used not checked.
2007-03-19 18:30:40 +00:00
..
Makefile Programs that use efun. 2006-08-26 18:14:28 +00:00
boot.c Change mismatch of bytes 11 to 90 to be a warning, not an error, and 2007-03-19 18:30:40 +00:00
check.c - removes unused ctype.h header 2007-03-10 00:30:36 +00:00
dir.c Remove more duplicate #includes, 2007-01-17 21:59:49 +00:00
dosfs.h
ext.h Kill __P(), ANSIfy, remove main() prototype. 2005-01-19 20:00:45 +00:00
fat.c don't use uint32_t when you mean size_t. 2006-06-06 16:19:11 +00:00
fsck_msdos.8 .Nm does not need a dummy argument ("") before punctuation or 2003-02-25 10:34:36 +00:00
main.c - removes unused ctype.h header 2007-03-10 00:30:36 +00:00