Re: [PATCH take 3][RFC] fat: Save FAT root directory timestamps tovolume label

From: Jörg Schummer
Date: Wed Sep 09 2009 - 03:48:23 EST


On Tue, 2009-09-08 at 17:39 +0200, ext Jamie Lokier wrote:
> Jorg Schummer wrote:
> > Standard FAT implementations cannot store any of the FAT root directory's
> > timestamps. This commit adds the mount option 'rootts', which allows saving
> > the FAT root directory timestamps as the timestamps of the FAT volume label
> > directory entry. At least Mac OS X is known to support the same mechanism
> > and interoperate with this commit.
> >
> > When mounting, the following values can be specified for the 'rootts' mount
> > option:
> >
> > "rootts=ignore" ignores root directory timestamps. All timestamps are
> > reset to 0 (1/1/1970). This has been the FAT behaviour
> > prior to this patch.
> >
> > "rootts=preserve" tries to load and save the root directory's timestamps
> > if a volume label entry exists. The mtime and atime are
> > corrected based on root directory entries' ctime. This
> > is the default.
> >
> > "rootts=save" tries to load and save the root directory's timestamps.
> > The mtime and atime are corrected based on root
> > directory entries' ctime. If the root directory was
> > accessed but no volume label entry exists, the label
> > "NO NAME" is created.
>
> Does Mac OS X do the same "NO NAME" thing?

AFAIK: No. It only supports the general mechanism of storing / loading
the root dir timestamps to / from the volume label entry.

But feel free to re-check that one.

JÃrg


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/