Updating and displaying CMOS clock

Victor Sudakov vas at mpeks.tomsk.su
Mon Jul 7 10:39:59 UTC 2014


Ralf Mardorf wrote:
> 
> "In the last episode (Mar 10), Kelly Jones said:
> > What are the FreeBSD equivalents of hwclock (view/set the BIOS
> > hardware clock) and adjtimex (adjust clock speed)? I couldn't find
> > these two well-known Linux commands in ports?
> 
> FreeBSD sets the hardware clock whenever settimeofday() is called
> (unless the sysctl machdep.disable_rtc_set is set). 

I have been told about the machdep.rtc_save_period sysctl, but it seems
undocumented.


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


More information about the freebsd-questions mailing list