> 
> From: "Robert P. J. Day" <[EMAIL PROTECTED]>
> 
> 
>   i am getting increasingly baffled with what my HW clock and system
> clock are doing on my dell inspiron.
> 
>   i started with both clocks set to 11 am wednesday and, on my dell,
> i can pop into the bios whenever i want to see the HW clock.  it
> agreed with both "date" and "hwclock --show".  and 
> /etc/sysconfig/clock showed "UTC=false".  so far, so good.
> 
>   just for fun, i ran 
> 
> # hwclock --systohc
> 
> since both clocks agree, this shouldn't have made any difference,
> yes? suddenly, both the system clock and hw clock show 7 am -- four
> hours earlier.
> 
>   should i have expected this?
> 
> rday
> 
   See 'man hwclock.' 
          " hwclock --systohc
              Set the Hardware Clock to the current System  Time."

   If your hardware clock was correct, and your system clock was 4
hours off, your hardware clock is now also 4 hours off.
   Additionally, hwclock --set or hwclock --systohc makes note of the
time difference between the hardware and system clock in the file
/etc/adjtime. The system tries to compensate for the difference using
this file; ie., assumes a drift.
   If you do hwclock --hctosys after setting your CMOS clock to the
correct time, it should get things straight. To keep it from changing
make sure that /etc/adjtime shows zeros. Here's mine:

               0.000.0
               0

                                                 Regards,

                                                 Tom



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to