Subject: Re: filesystem timezone
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 08/08/2002 17:58:08
On Fri, Aug 09, 2002 at 09:43:05AM +0900, itojun@iijlab.net 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
 > 	timestamps.
 > 
 > 	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 <thorpej@wasabisystems.com>