[ntp:questions] Reference clock driver for /dev/rtc

Kalle Pokki kalle.pokki at iki.fi
Sat Jun 26 10:29:07 UTC 2010


On Sat, Jun 26, 2010 at 11:48, David Woolley
<david at ex.djwhome.demon.invalid> wrote:

> I think you missed Dave Mills' point that ntpd does this every 60 minutes,
> so will also break mechanisms for compensating for RTC drift whilst the
> processor is powered down.

I don't understand.

Settimeofday() isn't about updating the RTC. It updates the system
clock. Why would ntpd call that regularly and cause unnecessary jumps
in system time?

Calling settimeofday() also clears all NTP state variables inside the
kernel and sets the UNSYNC bit.




More information about the questions mailing list