home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / time / ntp / 1144 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.5 KB  |  34 lines

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