Skip to contentSkip to conversation

mount: Add documentation of FAT mount option time_offset

PATCH Applied Jan Kara 2 participants 2 messages Jan 28, 2015 – Feb 2, 2015 Util-Linux package

lore
Share & tools
lore

Jan Kara

author
#0 lore raw

PATCH 1/1 mount: Add documentation of FAT mount option time_offset

---
 sys-utils/mount.8 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
sys-utils/mount.8 +12 -0
index 15f8bfc7f512..bfa82a0d7635 100644
@@ -2011,6 +2011,18 @@ useful when mounting devices (like digital cameras)
 that are set to UTC in order to avoid the pitfalls of
 local time.
 .TP
+.BI time_offset= minutes
+Set offset for conversion of timestamps from local time used by FAT to UTC.
+I.e.,
+.I minutes
+minutes will be subtracted from each timestamp to convert it to UTC used
+internally by Linux. This is useful when the time zone set in the kernel via
+.BR settimeofday (2)
+is not the time zone used by the filesystem. Note
+that this option still does not provide correct time stamps in all cases in
+presence of DST - time stamps in a different DST setting will be off by one
+hour.
+.TP
 .B quiet
 Turn on the
 .I quiet
Signature · 1 line
2.1.2
maintainer Applied
#1 lore raw
Quoted 2 lines · Jan Kara
 sys-utils/mount.8 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com