Updating and displaying CMOS clock
Warren Block
wblock at wonkity.com
Sun Jul 6 21:03:59 UTC 2014
On Sun, 6 Jul 2014, Victor Sudakov wrote:
> In other words, what's the FreeBSD equivalent of the Linux
> "hwclock --systohc" command?
Offhand, I don't know. But date(1) sets both kernel and hardware
clocks, so a hacky way to do that is
date -v +0S
> And no, contrary to popular belief, the correction of the CMOS clock
> does not happen automatically in FreeBSD even if ntpd is running.
I'm a little surprised about that, too, although the relatively large
adjustment in time after a reboot is an indicator. Now that you mention
it, anyway.
More information about the freebsd-questions
mailing list