Re: [PATCH take 2][RFC] fat: Save FAT root directory timestamps to volume label

From: OGAWA Hirofumi
Date: Sat Jul 25 2009 - 02:41:18 EST


Jorg Schummer <ext-jorg.2.schummer@xxxxxxxxx> writes:

> 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 is the default.
>
> "rootts=load" only tries to load the root directory's timestamps from
> a volume label entry when mounting.
>
> "rootts=preserve" tries to load and save the root directory's timestamps
> if a volume label entry exists.
>
> "rootts=save" tries to load and save the root directory's timestamps.
> If the root directory was accessed but no volume label
> entry exists, the label "NO NAME" is created.

Looks like interesting hack. However, personally, I don't think I want
this, but I guess it can be only me.

Well, so, what is this for? If rootdir doesn't have timestamp, some app
is not working, or something?

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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/