Updating and displaying CMOS clock

Victor Sudakov vas at mpeks.tomsk.su
Mon Jul 7 02:12:41 UTC 2014

Warren Block 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

BTW this command does not set anything, it only displays the time with
the specified offset.

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru

More information about the freebsd-questions mailing list