can not mount a large FAT32 filesystem

Peter Edwards peadar.edwards at gmail.com
Wed Sep 28 06:09:58 PDT 2005


On 9/28/05, Jim Rees <rees at umich.edu> wrote:
> Note that the check also must be removed near the top of mountmsdosfs(), at
> least in the cvs head version.
>
The only reference to BOOTSIG[23] in msdosfs_vnops.c were the ones I
removed: Do you mean here (line 445 of msdos_vfsops.c v 1.144)

> #ifndef MSDOSFS_NOCHECKSIG
>         if (bsp->bs50.bsBootSectSig0 != BOOTSIG0
>             || bsp->bs50.bsBootSectSig1 != BOOTSIG1) {
>                 error = EINVAL;
>                 goto error_exit;
>         }
> #endif

This is a different check: It's testing a different signature: the
"0xAA55" marker at the end of the bootblock, which _is_ actually
documented. (And MSDOSFS_NOCHECKSIG is unconditionally defined anyway)


More information about the freebsd-fs mailing list