[ntp:questions] Re: ntpd, boot time, and hot plugging

David L. Mills mills at udel.edu
Fri Feb 4 22:41:35 UTC 2005


Well, I found the step routine call; however, that code has grown so 
weedy with intricate evil little OS-dependencies that I find it 
unreadable. I haven't touched the ntpdate code since it first appeared 
probably fifteen years ago. So far as I can see, if somebody opts out 
the step correction, ntpdate can leave a big offset for later ntpd to 
chew on.


Per Hedeland wrote:

> In article <ctutfh$4fq$1 at dewey.udel.edu> "David L. Mills"
> <mills at udel.edu> writes:
>>The code I see in the ntpdate source does an adjtime() for all offsets, 
>>even large ones. I don't see a settimeofday() or equivalent.
> That's just because it calls step_systime() in libntp/systime.c for that
> - as it should, of course. Surely you didn't think the -b option was a
> no-op and the documentation full of lies... (Well, I'm looking at 4.2.0
> and assuming this functionality hasn't been removed in the development
> version...)
> --Per Hedeland
> per at hedeland.org

More information about the questions mailing list