NetBSD/sys/fs/msdosfs
gdt 7db024f8e7 When mounting an MSDOS fileysystem, do not require that bytes 252 and
253 of the superblock be zero.  Searching the net failed to find any
justification for checking these bytes; all available references say
that they are part of the boot code and not BOOTSIG2 and BOOTSIG3.

Modify the MSDOS 7.1 bootsector definition to have 420 bytes of boot
code and no BOOTSIG[23], rather than 418 bytes of boot code, to follow
available references and apparent Windows practice.  A test build
showed that these defines are not used other than in the check removed
by this commit.

Patch tested on netbsd-3, and enabled mounting of a 4 GB CF formatted
under Windows XP and then in a digital camera.  The CF was previously
unmountable.

Concept approved on tech-kern by christos@ and martin@.
2006-08-14 14:06:26 +00:00
..
Makefile
TODO
bootsect.h When mounting an MSDOS fileysystem, do not require that bytes 252 and 2006-08-14 14:06:26 +00:00
bpb.h - protect userland exported files against multiple inclusion. 2005-12-03 17:34:43 +00:00
denode.h integrate kauth. 2006-05-14 21:31:52 +00:00
direntry.h - protect userland exported files against multiple inclusion. 2005-12-03 17:34:43 +00:00
fat.h - protect userland exported files against multiple inclusion. 2005-12-03 17:34:43 +00:00
files.msdosfs
msdosfs_conv.c merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
msdosfs_denode.c integrate kauth. 2006-05-14 21:31:52 +00:00
msdosfs_fat.c integrate kauth. 2006-05-14 21:31:52 +00:00
msdosfs_lookup.c integrate kauth. 2006-05-14 21:31:52 +00:00
msdosfs_vfsops.c When mounting an MSDOS fileysystem, do not require that bytes 252 and 2006-08-14 14:06:26 +00:00
msdosfs_vnops.c Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
msdosfsmount.h - protect userland exported files against multiple inclusion. 2005-12-03 17:34:43 +00:00