diff options
author | peadar <peadar@FreeBSD.org> | 2005-09-29 14:09:46 +0000 |
---|---|---|
committer | peadar <peadar@FreeBSD.org> | 2005-09-29 14:09:46 +0000 |
commit | e0565b5794c9fb041922ccea2d6e78b8d943be8a (patch) | |
tree | f1b31f7b7644db0c1149bcf8e85258007c02209a /sys/fs/msdosfs/msdosfs_vfsops.c | |
parent | 678546cfbf6ba5267b9b10a06da241bf76a26cf8 (diff) | |
download | FreeBSD-src-e0565b5794c9fb041922ccea2d6e78b8d943be8a.zip FreeBSD-src-e0565b5794c9fb041922ccea2d6e78b8d943be8a.tar.gz |
Remove checks for BOOTSIG[23] from FAT32 bootblocks.
There seems to be very little documentary evidence outside this
implementation to suggest a these checks are neccessary, and more
than one camera-formatted flash disk fails the check, but mounts
successfully on most other systems.
Reviewed By: bde@
Diffstat (limited to 'sys/fs/msdosfs/msdosfs_vfsops.c')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 037d9b4..bc59b44 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -510,9 +510,7 @@ mountmsdosfs(devvp, mp, td) #endif /* !MSDOSFS_LARGE */ if (pmp->pm_RootDirEnts == 0) { - if (bsp->bs710.bsBootSectSig2 != BOOTSIG2 - || bsp->bs710.bsBootSectSig3 != BOOTSIG3 - || pmp->pm_Sectors + if (pmp->pm_Sectors || pmp->pm_FATsecs || getushort(b710->bpbFSVers)) { error = EINVAL; |