Re: [PATCH] FAT timezones [was Re: updating the RTC automagically]

Alexander Viro (viro@math.psu.edu)
Sun, 21 Nov 1999 06:19:46 -0500 (EST)


On Sat, 20 Nov 1999, Peter Samuelson wrote:

>
> [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.

What does it have to your TZ? Check where the kernel uses sys_tz, please.
They are not correlated. If you mean that users have FAT filesystems for
various timezones and mount them on the same box... Show me such animal,
please.

-
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/