Date: Sun, 28 Oct 2007 18:08:26 +0700 From: Eugene Grosbein <eugen@kuzbass.ru> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: stable@freebsd.org Subject: Re: CMOS, daylight saving time and dual-boot Message-ID: <20071028110826.GA83337@svzserv.kemerovo.su> In-Reply-To: <20071028103508.GQ70883@server.vk2pj.dyndns.org> References: <20071028083955.GA69713@svzserv.kemerovo.su> <20071028103508.GQ70883@server.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 28, 2007 at 09:35:08PM +1100, Peter Jeremy wrote: > Based on a quick check, it doesn't look like adjkerntz(8) can handle > your situation. In the absence of any independent time source, it's > actually very difficult to handle this situation. In theory, it would > be possible to note that the last system shutdown (or last time the > RTC was set) and determine whether there's been a DST transition in > the period between then and now and adjust the RTC appropriately (I > believe Windows does this). The problem is that, unless this record > is kept within the RTC and all OSs co-operate in its meaning, each > OS will independently adjust the RTC when it is next rebooted (and > I believe multi-boot PCs run into this problem). It would be possible to utilize a bit in the CMOS at boot time to decide if BIOS time set to Summer time and clear it appropriately, in theory :-) Eugene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071028110826.GA83337>