Re: [PATCH take 3][RFC] fat: Save FAT root directory timestamps to volume label
From: Jamie Lokier
Date: Tue Sep 08 2009 - 11:40:00 EST
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?
-- Jamie
--
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/