Re: [PATCH] UTC timestamp option for FAT filesystems

Joe Peterson
2008-07-02T14:48:56Z

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

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

Here's a patch to that doc file.

-Joe

[-- Attachment #2: vfat_doc.patch --]
[-- Type: text/x-patch, Size: 811 bytes --]

Signed-off-by: Joe Peterson <joe@skyrush.com>

--

--- 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