Re: [PATCH] UTC timestamp option for FAT filesystems
- From: Andi Kleen <andi@xxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 00:33:43 +0200
Joe Peterson <joe@xxxxxxxxxxx> writes:
Attached is a patch to provide a new mount option ("utc") for DOS
(vfat/msdos) filesystems, allowing timestamps to be in universal
coordinated time (UTC) rather than local time in applications where
doing this is advantageous.
The time zone handling seems racy. e.g. consider the case DST
changes on that day. You convert before the switch over
and suddenly the time offset is different.
I'm actually not sure someone in user space is even updating the kernel
idea of the timezone for DST on a switch (generally it was assumed it's some
obsolete BSD concept and that all real programs only use the
user space glibc implementation that knows all the rules). So
DST might not be supported at all.
Also even if it worked it seems very limited. If you do that why not
have an option to set an arbitary time zone offset?
-Andi
--
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/
- Follow-Ups:
- Re: [PATCH] UTC timestamp option for FAT filesystems
- From: Joe Peterson
- Re: [PATCH] UTC timestamp option for FAT filesystems
- References:
- [PATCH] UTC timestamp option for FAT filesystems
- From: Joe Peterson
- [PATCH] UTC timestamp option for FAT filesystems
- Prev by Date: Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
- Next by Date: Re: [PATCH] rtc: remove BKL for ioctl()
- Previous by thread: [PATCH] UTC timestamp option for FAT filesystems
- Next by thread: Re: [PATCH] UTC timestamp option for FAT filesystems
- Index(es):
Relevant Pages
|