Re: [PATCH] UTC timestamp option for FAT filesystems

From: Joe Peterson
Date: Wed Jul 02 2008 - 10:48:57 EST


Andrew Morton wrote:
> Can we update Documentation/filesystems/vfat.txt please?

Here's a patch to that doc file.

-Joe
Signed-off-by: Joe Peterson <joe@xxxxxxxxxxx>

--

--- linux/Documentation/filesystems/vfat.txt.orig 2008-05-31 12:07:25.000000000 -0500
+++ linux/Documentation/filesystems/vfat.txt 2008-07-02 09:40:48.000000000 -0500
@@ -96,6 +96,14 @@
emulate the Windows 95 rule for create.
Default setting is `lower'.

+tz=UTC -- Interpret timestamps as UTC rather than local time.
+ This option disables the conversion of timestamps
+ between local time (as used by Windows on FAT) and UTC
+ (which Linux uses internally). This is particuluarly
+ useful when mounting devices (like digital cameras)
+ that are set to UTC in order to avoid the pitfalls of
+ local time.
+
<bool>: 0,1,yes,no,true,false

TODO