lkml.org 
[lkml]   [1999]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] FAT timezones [was Re: updating the RTC automagically]

[Alexander Viro]
> Hold on. Why not use sys_tz? settimeofday(NULL, &tz) from userland
> utility and there you go. Nothing except the sucking filesystems will
> be affected. Why do you need per-fs granularity?

Because Linux allows per-user timezones and users are often allowed to
mount their own FAT filesystems.

That might sound contrived, and it almost is, but in my case, I run my
machine's system time at UTC, partly because I want to make sure things
like my FTP server use UTC, but as a user I have TZ=CST6CDT. If I (as
a user) mount a floppy, the mtimes should match the mtimes on our
legacy systems.

Joe Zbiciak <jzbiciak@dal.asp.ti.com> and I had this discussion not too
long ago on l-k ("Re: Bug in fat-fs code: file date/time wrong"); he
feels a lot more strongly than I do about the timezone semantics. His
conclusion was that the real solution to all this is to port ext2 to
the legacy systems....

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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