Subject: Re: filesystem timezone
To: None <firstname.lastname@example.org>
From: Jason R Thorpe <email@example.com>
Date: 08/08/2002 17:58:08
On Fri, Aug 09, 2002 at 09:43:05AM +0900, firstname.lastname@example.org wrote:
> we're using GMT on RTC chip, as well as in-kernel clocks (struct timeval
> time and such) when we use NetBSD. some filesystems (like flashmemory
> removed from digital camera) have file timestamps in different timezone
> (in my case, JST). so when i mount it with mount_msdos, i will see
> file timestamps with 9 hours offset. i would like to see correct
> in what layer should we convert filesystem timezone? it should be
> configurable, so i guess mount option makes the most sense.
> (pardon me if i'm asking a dumb question, i'm not a filesystem/vm guy)
I would say add an option for a "time offset" on a per-mount point basis,
translated in the VFS layer.
-- Jason R. Thorpe <email@example.com>