[ntp:questions] Re: "ntpd" and hwclock

Ulrich Windl Ulrich.Windl at RZ.Uni-Regensburg.DE
Tue Oct 4 14:22:57 UTC 2005

jarrar at cisco.com (Jarrar Jaffari) writes:

> Hello all,
> I had been under the impression that "ntpd" changes the hardware clock (on the
> linux systems)
> but I just did "ntpd -q -g" on my host and apparaently it only changed the
> system clock and hwclock
> continues to show the old time.

NTP's task is to synchronize the system time. The OS' task is to keep the
system time (during reboots). As you are using Linux, you could have a look at
my PPSkit patches where the kernel updates the RTC chip whenever the system
had been changed (e.g. "date -s"), or when the system time is NTP-synced
(!STA_UNSYNC). For your pleasure, you can switch that on and off, and select
the interval of updates.


> My question does ntpd at any point changes the hardware clock ? If not then
> who and when it is
> done ?
> Jarrar
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions

More information about the questions mailing list