[ntp:questions] Wrong time after changing hardware
Richard B. Gilbert
rgilbert88 at comcast.net
Tue Jul 24 01:05:30 UTC 2007
Harlan Stenn wrote:
>>>>In article <46A53F0A.7030305 at comcast.net>, "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
> Richard> If I may offer a suggestion, ntpd should probably not use a "stale"
> Richard> drift file; if it's more than a couple of hours old, ignore the
> Richard> drift file and calculate the drift from scratch! Imagine, for
> Richard> example, a power failure of several hours duration. No power
> Richard> probably means no heat and certainly means no air conditioning so
> Richard> even if a drift file exists, it will probably be wildly wrong!
> Some folks may think this is a useful option, but it will defeat recent
> attempts to minimize writing the driftfile.
If the drift value has not changed significantly, it would be sufficient
to simply "touch" the file to reset the date/time. Is writing a one
block file once per hour really that heavy a load on the system?
More information about the questions