Re: getting sysclock to match hwclock
On Mon, 25 Oct, 1999 à 03:37:28PM +0200, Patrik Magnusson wrote:
> My system clock has been keeping time rather poorly. The
> hardware-clock on the other hand hasn't lost a second in
> over two months.
>
> I tried to use adjtimex to get the system clock to match the
> hardware clock, unsuccessfully. First i tried adjtimex --adjust
> resulting in the system clock losing more than five minutes in
> a day. Then I tried adjtimex -u --adjust, resulting in the
> system clock losing 20 minutes a day.
>
What does /etc/adjtime contain ? You can copy hardware clock to system
with hwclock --hctosys but you should have a coherent /etc/adjtime if
you want that the two clock stay on sync.
--
( >- Laurent PICOULEAU -< )
/~\ lcrpic@a2points.com /~\
| \) Linux : mettez un pingouin dans votre ordinateur ! (/ |
\_|_ Seuls ceux qui ne l'utilisent pas en disent du mal. _|_/
Reply to: