Subject: kern/17889: need timezone offset support on mount
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 08/09/2002 12:04:16
>Number:         17889
>Category:       kern
>Synopsis:       need timezone offset support on mount
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 08 20:09:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.6E
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6E NetBSD 1.6E (STARFRUIT) #166: Wed Jul 31 01:14:07 JST 2002 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
	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.

	discussion on tech-kern suggested:
	"I would say add an option for a "time offset" on a per-mount point
	basis, translated in the VFS layer." (thorpej)

	http://mail-index.netbsd.org/tech-kern/2002/08/09/0000.html

>How-To-Repeat:
	mount flashmemory card from digital camera, and see file timestamp
	offsetted 9 hours.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: