home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.time.ntp
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!asuvax!ncar!noao!rstevens
- From: rstevens@noao.edu (W. Richard Stevens)
- Subject: Re: more info requested on dosynctodr
- Message-ID: <1993Jan3.180546.15803@noao.edu>
- Keywords: xntp3, dosynctodr
- Sender: news@noao.edu
- Nntp-Posting-Host: gemini.tuc.noao.edu
- Organization: National Optical Astronomy Observatories, Tucson, AZ, USA
- References: <1993Jan3.151913.12953@noao.edu>
- Date: Sun, 3 Jan 1993 18:05:46 GMT
- Lines: 20
-
- > Just wondering if anyone can give any additional information on
- > just what the "dosynctodr" kernel flag does in SunOS, and why
- > it should be set to 0.
-
- OK, I can answer some of my own question after finding the code in
- ntp_util.c that handles this case. BUT, the code says that setting
- synctodr to 0 is not what you want (as a reboot will start off with
- a wacky time), but the tickadj(8) man pages says you should set it
- to 0 for SunOS 4.0. Also, the distributed Config.sun file does not
- set DOSYNCTODR_SUCKS, which goes against the source code comments.
- I'm confused as to how I should set it, both in the Config file and
- using tickadj.
-
- Lastly, the man page doesn't say so, but I assume that Sun's settimeofday(2)
- system call is what syncs the battery clock to its argument? [Don't you
- love the BUGS section of Sun's gettimeofday(2) man page saying there should
- be some way to set the time for a set of systems to millisecond accuracy ...
- I wonder if Solaris 2.1 includes NTP :-) ]
-
- Rich Stevens (rstevens@noao.edu)
-