home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!news.univie.ac.at!news.tu-graz.ac.at!fstgds01!chmr
- From: chmr@fstgds01.tu-graz.ac.at (Christoph Robitschko)
- Subject: Re: 386bsd & timezone
- Message-ID: <1992Sep11.194128.11492@news.tu-graz.ac.at>
- Sender: news@news.tu-graz.ac.at (USENET News System)
- Nntp-Posting-Host: fstgds01
- Organization: Technical University of Graz, Austria
- References: <1992Sep10.063811.3134@Saigon.COM> <STARK.92Sep10142919@sbstark.cs.sunysb.edu> <EICHIN.92Sep11051611@tsx-11.mit.edu>
- Distribution: usa
- Date: Fri, 11 Sep 92 19:41:28 GMT
- Lines: 27
-
- In article <EICHIN.92Sep11051611@tsx-11.mit.edu> eichin@athena.mit.edu (Mark W. Eichin) writes:
- >>> My solution was just to set the CMOS information to reflect standard
- > Has anyone made changes to get 386BSD to update the CMOS time
- >from the kernel time? xntp3 builds and works out of the box, but if
- >the CMOS time drifts far enough, at the next reboot xntpd will declare
- >that "something is wrong" and won't try to fix it.
- > _Mark_ <eichin@athena.mit.edu>
- > MIT Student Information Processing Board
-
- Yes, I have written a clock.c that does this.
- It does not handle DST (yet), because I don't know how the RTC handles it.
- Are the values for DAYST and DAYEND in the original clock.c correct
- for the 386 RTC ? If you have any information on DST (switch dates in
- the various Areas etc) please send it to me. Also, I have not yet seen
- a BIOS that lets you choose which DST Area you are in, so which one
- does it use ?
-
- As an aside, I am wondering when the CMOS time should be set.
- I have it set currently when the system time is set (in settimeofday() ),
- but I think it should also be set when the system is shut down
- (to save the time after adjtime() has been used). Any comments as to where
- such a call to resettodr() should be put are very appreciated.
-
-
- Christoph
- --
- signature: Result too large
-