Updating and displaying CMOS clock

Jesse Gooch lists at gooch.io
Mon Jul 7 02:23:23 UTC 2014


Hi Victor,

On 06/07/14 07:10 PM, Victor Sudakov wrote:
> Jesse Gooch wrote:
>>>
>>> What's the command to update the CMOS clock to the time of the kernel
>>> clock? 
> 
> [dd]
> 
>>>
>>
>> To get around this I've started using ntpdate on boot. You can put the
>> following in your /etc/rc.conf:
>>
>> ntpdate_enable="YES"
> 
> ntpd_sync_on_start="YES" does the same, but it is not an answer to the
> question, it is a workaround. 
> 

Sure, it's a workaround. Why is it so important to set the CMOS clock if
you can just query the current time from a more accurate source on boot?
The drift on clocks integrated into computers these days is pretty
terrible AFAIK, which is why NTP is so widespread.


More information about the freebsd-questions mailing list