Re: [ILUG] Setting RTC

From: Liam Bedford (lbedford at domain doozer.dublin.wbtsystems.com)
Date: Thu 29 Apr 1999 - 17:24:18 IST


In message <199904291529.PAA20288 at domain sced.esoc.esa.de>, Niall O Broin writes:

>Reading Documentation/rtc.txt I came across this
>
>Also, if the kernel time is synchronized with an external source, the
>kernel will write the time back to the CMOS clock every 11 minutes. In
>the process of doing this, the kernel briefly turns off RTC periodic
>interrupts, so be aware of this if you are doing serious work. If you
>don't synchronize the kernel time with an external source (via ntp or
>whatever) then the kernel will keep its hands off the RTC, allowing you
>exclusive access to the device for your applications.
>
>but it seems that simply changing the date/time by the date command doesn't
>count - I did that, waited somewhat more than 11 minutes, rebooted, and
>my date change was obliterated.
have you tried running hwclock as root, or the redhat control-panel thingy...

it may screw things up, so reboot after you do it...

regards
L.

-- 
Liam Bedford		System Administrator
WBT Systems		Phone: 01 4170153
Block 2, Harcourt St, Dublin 2


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:10 GMT