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

Terje Mathisen terje.mathisen at hda.hydro.com
Mon Oct 3 22:11:46 UTC 2005

David J Taylor wrote:

> Danny Mayer wrote:
>>David Woolley wrote:
>>>In article <db8e0$433b0f10$3ec37582$17819 at news.chello.nl>,
>>>M.C. van den Bovenkamp <marco at linuxgoeroe.dhs.org> wrote:
>>>ntpd does not update the CMOS clock.  The linux kernel updates it
>>>after anything declares the time to be synchronised, using the
>>>adjtimex system call.  You can do that with the ntptime utility
>>>without ever running ntpd.
>>The Windows version is supposed to. I don't know about the other
> Only when you stop NTP, though [in the Windows version].  Not during 
> routine operation, as that would affect the system time.

Indeed. I have identified a possible way to make it work, sort of, but
it would lead to an unavoidable glitch around the setting time, where
the system clock could glitch away and back again immediately.

IMHO, this workaround is worse than the problem.

- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"

More information about the questions mailing list