Subject: Re: Odd behavior mounting FAT32 partitions
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Daniel Carosone <dan@geek.com.au>
List: port-i386
Date: 07/09/2004 09:59:33
--RXc6EO4W1yUvSQ0X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 08, 2004 at 07:52:30PM -0400, der Mouse wrote:
> > I am having some odd behaviors with mounting FAT32 partitions.  The
> > timestamp on the mount point changed to "Dec 31 1979" and the
> > permissions changed to "d-------w-"
>=20
> Normally, when you mount something, the attributes (mode bits,
> timestamp, etc) of the mounted-on object are hidden, replaced by the
> attributes of the root of the mounted filesystem.
>=20
> The real question here is why your FAT32 filesystem has a root
> directory with a mode that maps to 002 and a timestamp in 1979, and the
> only way that can be a NetBSD question is if the problem is in the
> NetBSD code that maps FAT32 attributes to NetBSD attributes.

This looks like a known bug fixed in the past few months.  I can't
recall the PR number offhand, but you should find it easily enough
with a simple PR search.  It had to do with a size change and ordering
of arguments in mount structures.

--
Dan.

--RXc6EO4W1yUvSQ0X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFA7d/kEAVxvV4N66cRAii7AKCPHCpl9TOC7ssYvfUYhcD4Jxmb2gCfb+GD
aC8tqettZTsCoGkMjtBFS9g=
=ElYZ
-----END PGP SIGNATURE-----

--RXc6EO4W1yUvSQ0X--