/etc/adjtime is a file with fudge factors that says how much your
clock drifts. I find it easier since I have a 24x7 connection to just
run netdate several times a day. adjtime is useful if you are
connected most of the time and your hardware clock has a predictable
drift.
HTH,
Jeffrey
Quoting Garen Parham
Problem:
borg:~ # hwclock --show Wed Apr 4 00:50:19 2001 -0.147254 seconds
(Time is actually 7:50)
After looking over the man pages for hwclock, I came across this piece of info:
... If the adjtime file doesn't exist, the default is local time. ...
. o O ( Why, what is the adjtime file for? )
borg:~ # locate adjtime /etc/adjtime /usr/share/man/man2/adjtimex.2.gz borg:~ # less /etc/adjtime -3.779150 986370144 0.000000 985204508 UTC borg:~ # rpm -qf /etc/adjtime file /etc/adjtime is not owned by any package borg:~ # mv /etc/adjtime /etc/adjtime.old borg:~ # hwclock --show Wed Apr 4 07:53:31 2001 -0.417313 seconds borg:~ # hwclock --hctosys borg:~ # date Wed Apr 4 07:54:07 PDT 2001
Now it works. So I'm wondering: Did the SuSE 7.1 upgrade leave behind /etc/adjtime that was screwing up stuff or what?
-Garen
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck