Using hwclock -r or indeed hwclock in PCLOS seems to return the system time.
Well, according to the documentation hwclock -r
and hwclock -show
should "read the Hardware Clock and print the time on Standard Output" -- but "in local time
, even if you keep your Hardware Clock in Coordinated Universal Time". And that's what the commands seem to do here.
When your computer has been running for a few hours, try the commands
hwclock -r && date
The first one should give you the BIOS time, the second the system time.
and repeat the first two commands.
In PCC I can change the time and the time reported by hwclock reports the change.
Here too. I don't know what drakclock
actually changes, but it seems to have an effect on both system time and hardware time. (And on my ntp
daemon, which just got a mild nervous breakdown from all my time changes.)
If the BIOS clock is then checked it reports the time originally set .. it has not been changed.
This I'll have to check tomorrow. I don't want to reboot tonight, and you obviously wouldn't trust whatever hwclock
So using the GUI provided in PCC does not appear to change the BIOS clock, but the system time.
Rebooting I think retains the system time set rather than syncing to the BIOS clock again.
How would the system time be retained after a shutdown if it isn't written to the BIOS clock and restored on reboot?