util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mount: Add documentation of FAT mount option time_offset
@ 2015-01-28  9:00 Jan Kara
  2015-02-02 10:29 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kara @ 2015-01-28  9:00 UTC (permalink / raw)
  To: kzak; +Cc: util-linux, Jan Kara

Signed-off-by: Jan Kara <jack@suse.cz>
---
 sys-utils/mount.8 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 15f8bfc7f512..bfa82a0d7635 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -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
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mount: Add documentation of FAT mount option time_offset
  2015-01-28  9:00 [PATCH] mount: Add documentation of FAT mount option time_offset Jan Kara
@ 2015-02-02 10:29 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-02-02 10:29 UTC (permalink / raw)
  To: Jan Kara; +Cc: util-linux

On Wed, Jan 28, 2015 at 10:00:25AM +0100, Jan Kara wrote:
>  sys-utils/mount.8 | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28  9:00 [PATCH] mount: Add documentation of FAT mount option time_offset Jan Kara
2015-02-02 10:29 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).