home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!gatech!news.ans.net!cmcl2!sbcs.sunysb.edu!sbcs!stark
- From: stark@cs.sunysb.edu (Gene Stark)
- Subject: Re: 386bsd & timezone
- In-Reply-To: David.Fox@Saigon.COM's message of 10 Sep 92 06: 38:11 GMT
- Message-ID: <STARK.92Sep10142919@sbstark.cs.sunysb.edu>
- Sender: usenet@sbcs.sunysb.edu (Usenet poster)
- Nntp-Posting-Host: sbstark
- Organization: SUNY at Stony Brook Computer Science Dept.
- References: <1992Sep10.063811.3134@Saigon.COM>
- Distribution: usa
- Date: Thu, 10 Sep 1992 19:29:19 GMT
- Lines: 17
-
- >I suppose others besides myself have noticed that 386bsd 0.1 is one
- >hour off on telling the time. Over here, even though the localtime
- >is linked to pacific New, it's one hour ahead of the correct time.
-
- I ran into this when I set up my system. After peering around in the
- kernel sources looking for how the timezones are set up, I finally drew
- the conclusion that the initialization of the system time from the
- hardware clock essentially ignores whether the "Daylight Savings
- Time" flag is set in the CMOS. In fact, 386BSD seems to clear this
- flag, as I noticed by setting the flag with config, then booting 386BSD,
- then resetting and taking a look with config again.
-
- My solution was just to set the CMOS information to reflect standard
- time, and to set the hardware clock accordingly. When I run DOS, I am
- currently one hour off, but that's life!
-
- - Gene Stark
-