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
..
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
dosfs.h
ext.h
fat.c
fsck_msdos.8
main.c - removes unused ctype.h header 2007-03-10 00:30:36 +00:00
Makefile