[ntp:questions] Wrong time after changing hardware
stenn at ntp.isc.org
Wed Jul 25 18:12:04 UTC 2007
>>> In article <f87nle$eik$1 at hedeland.org>, per at hedeland.org (Per Hedeland) writes:
H> I *think* that independent of this defalt value or one provided by -f, if
H> the file does not exist ntpd will not create it.
Per> Hm, maybe someone that actually *knows* could comment - I'm not able to
Per> check it out myself ATM. ...
I'm probably not going to dig and give a definitive answer because Dave is
in the middle of changing how the driftfile is written and the dust hasn't
The current mechanism is something like:
- if the previous drift compensation value differs from the current
value by more than clock_phi, do not write.
- if we are in state 4 and the current clock_stability is greater than
a slowly decreasing wander threshold, reset the threshold and write
It is also very possible that the behavior/rules regarding the writing of
the driftfile has changed once or twice over the years.
More information about the questions