kernel time and RTC - Powerpc

This is a discussion on kernel time and RTC - Powerpc ; Hi Im having a problem in understanding the relation between the RTC and the kernel time. When the user call the "date" shell command to update the kernel time, is the RTC is updated too? and vice versa, is setting ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: kernel time and RTC

  1. kernel time and RTC

    Hi
    Im having a problem in understanding the relation between the RTC and
    the kernel time.
    When the user call the "date" shell command to update the kernel time,
    is the RTC is updated too? and vice versa, is setting the RTC via
    /dev/rtc updated the kernel time?
    Thanks
    Hagit

  2. Re: kernel time and RTC

    hagit_guy@hotmail.com (Hagit) writes:

    ]Hi
    ]Im having a problem in understanding the relation between the RTC and
    ]the kernel time.

    None.

    ]When the user call the "date" shell command to update the kernel time,
    ]is the RTC is updated too? and vice versa, is setting the RTC via

    No. No.

    ]/dev/rtc updated the kernel time?

    On many systems system time is initially set from the rtc. But there is
    no other relationship between them.
    there exist commands to manipulate the hardware clock (hwclock) and
    commands to manipulate the system clock (date).

    There exist programs which a) set the system clock from outside sourced
    (ntp, chrony) and which calibrate the hardware clock from outside
    sources (chrony).


+ Reply to Thread