Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 14:09:57 +0100
From:      Peter Edwards <peadar.edwards@gmail.com>
To:        Jim Rees <rees@umich.edu>
Cc:        fs@freebsd.org
Subject:   Re: can not mount a large FAT32 filesystem
Message-ID:  <34cb7c84050928060976c15ecf@mail.gmail.com>
In-Reply-To: <20050928125435.620941BBD4@citi.umich.edu>
References:  <20050928125435.620941BBD4@citi.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/28/05, Jim Rees <rees@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 !=3D BOOTSIG0
>             || bsp->bs50.bsBootSectSig1 !=3D BOOTSIG1) {
>                 error =3D 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34cb7c84050928060976c15ecf>