Subject: Re: RTC_OFFSET and DST
To: Peter Seebach <seebs@plethora.net>
From: Andreas Wrede <andreas@planix.com>
List: port-i386
Date: 11/09/2004 18:58:56
--Apple-Mail-11--669031704
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On 9-Nov-04, at 6:35 PM, Peter Seebach wrote:

> Okay, so, I have a laptop which dual-boots Windows and NetBSD.
>
> Is there any way to tell the kernel "RTC is using local time"?
>
> More generally, is there any sane way to share a clock between Windows 
> and
> NetBSD and have it survive changes in timezone?

I use 'rtclocaltime=YES' in /etc/rc.conf - which works for 2.0_BETA and 
later.
DST should work, since rtclocaltime used sysctl kern.rtc_offset to do 
it's magic.
-- 
	aew

--Apple-Mail-11--669031704
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBkVnAEh/h9J/TQyERAk3SAKDZSEPLx5QKTXUdhUaTsBFGbQ0HuwCfbf99
UQhgSsfWb+jgXA923wGQsnc=
=1nIV
-----END PGP SIGNATURE-----

--Apple-Mail-11--669031704--