[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can not mount a large FAT32 filesystem



On 9/28/05, Jim Rees <rees_(_at_)_umich_(_dot_)_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)
_______________________________________________
freebsd-fs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-unsubscribe_(_at_)_freebsd_(_dot_)_org"



Visit your host, monkey.org