Subject: Re: kern/22717: Explicit time zone handling for MS-DOS file systems
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 09/08/2003 07:19:29
> >Synopsis: Explicit time zone handling for MS-DOS file systems
> The patch below adds a '-t' option to mount_msdos, to set the time
> zone offset (in seconds) from UTC. If not set, the user's current time
> zone is used. (Maybe a larger unit of time (minutes) should be used,
> but seconds is most generic, and can also be used by a perfectionist
> to adjust for, e.g., a camera that doesn't keep perfect time. :-))
I would let the time be specified as 4, 4h, 4h45, 4h45m, 4h45m30, 4h45m30s
allowing values >60 for minutes and seconds and defaulting to hours.
Summertime is also a problem - the UTC time generated will be converted
using the standard timezone rules - so in summer files created in winter
will have the wrong time (and v.v.).
David
--
David Laight: david@l8s.co.uk