[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Getting system time in kernel..

On Wed, 03 Oct 2001 15:09:32 +1000, Keith Owens wrote:
>On Tue, 2 Oct 2001 22:01:41 -0700,
>David Schwartz <> wrote:

>> As an example, a filesystem might internally store local times in its
>>inodes. You may not be free to change the on-disk format.

>Whose local time? The local time where the machine is or the local time of
>the user accessing the machine from the other side of the world? There is a
>very good reason why timestamps are GMT (UTC).

Well that's an argument in favor of two things:

1) Avoiding such situations whenever possible by using UTC timestamps in
things like filesystems, and

2) Making local time offsets tuneable for each case where you need one. The
physical location of the machine might or might not be meaningful.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.124 / U:1.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site