Re: Sync sys clock and hc every 11 min: logging and controling?
Hi aphro!
On Fri, 14 Jan 2000, aphro wrote:
> as far as i know hwclock is not updated unless the system restarts, or you
> update it manually, and ntpdate does not update the hwclock, i have ntp
The kernel does sync the RTC to the system clock every 11 minutes if you
tell it to (ntpd does), at least in my system.
Compile the kernel with "Advanced RTC support" (or something to that effect)
so that you have /proc/rtc, and do some experiments setting the date,
setting the rtc with hwclock and "date && cat /proc/rtc" while running ntpd
and you'll find if the thing is being updated or not.
> to, currently its like 3 hours off.
Mine is within half a second to GPS UTC, thanks to very bad connectivity...
Otherwise it would be a bit more accurate. Ntp rocks :-)
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: