Re: [PATCH] UTC timestamp option for FAT filesystems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Peterson
Date: Wednesday, June 25, 2008 - 4:56 pm

Andi Kleen wrote:

Are you saying that the tz code is racy in general (I saw the following thread
that you responded to as well):

	http://marc.info/?l=linux-kernel&m=115954057716441&w=2

Or are you saying that the proposed "utc" option makes things racy?

All the "utc" option does (with this patch) is disable application of the
kernel's "tz_minuteswest" offset, so using it actually should remove races with
a DST switch, right?


I am not sure about that either (i.e. whether tz_minuteswest is altered on DST
changes or if it is only changed at boot).

And I think you are right that the kernel's idea of timezone (i.e.
"tz_minuteswest") is basically obsolete ("man gettimeofday" talks about this).


Yes, I thought about also providing an option that lets the user specify the
offset at mount - this may be useful for other scenarios (like moving Windows
disks between time zones), but the UTC option, itself, is very useful in that it
let's one use UTC on FAT devices, which is the least problematic way to do
things (e.g. for digital cameras, etc.).

						-Joe
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Tue Jun 24, 10:24 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Andi Kleen, (Wed Jun 25, 3:33 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Wed Jun 25, 4:56 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Wed Jun 25, 7:44 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, OGAWA Hirofumi, (Thu Jun 26, 12:32 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 6:23 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, OGAWA Hirofumi, (Thu Jun 26, 7:37 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 8:45 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 9:01 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, OGAWA Hirofumi, (Thu Jun 26, 9:26 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 10:06 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, OGAWA Hirofumi, (Thu Jun 26, 10:08 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 10:21 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, OGAWA Hirofumi, (Thu Jun 26, 11:15 am)
[PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Thu Jun 26, 10:12 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, James Cloos, (Sat Jun 28, 3:24 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Sat Jun 28, 10:03 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Bernd Eckenfels, (Sun Jun 29, 1:20 am)
Re: [PATCH] UTC timestamp option for FAT filesystems, Andrew Morton, (Tue Jul 1, 4:25 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Andrew Morton, (Tue Jul 1, 4:27 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Tue Jul 1, 9:43 pm)
Re: [PATCH] UTC timestamp option for FAT filesystems, Joe Peterson, (Wed Jul 2, 7:47 am)