[207] in SIPB_Linux_Development
gettime
daemon@ATHENA.MIT.EDU (Mark Eichin)
Fri Nov 19 18:14:00 1993
Date: Fri, 19 Nov 93 15:13:13 PST
From: eichin@cygnus.com (Mark Eichin)
To: linux-dev@MIT.EDU
Sal mentioned that "if it's working right, quiche should get the time
from gettime..." Well, gettime isn't in root's path, but once that
gets fixed, I'd like to suggest the "right" way to use it is to
1) keep the clock in utc
(to avoid the timezone lossage, though I'm not sure it's enough)
2) clock -u -r; gettime -s kerberos; clock -u -w
(so that if you *do* get a good time, you update the cmos clock, and
if you don't, it doesn't matter...) Be sure that the gettime we've got
doesn't have the old bug of misparsing garbage packets, and setting
the time to (time_t)-1.
_Mark_