Subject: Re: Odd behavior mounting FAT32 partitions
To: Daniel Carosone <email@example.com>
From: chuey <firstname.lastname@example.org>
Date: 07/08/2004 20:58:48
Daniel Carosone wrote:
>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-"
>>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.
>>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.
I am happy to report that the problem has been resolved. It was just a
case of the userland being out of sync with the kernel.