Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jul 2014 19:23:15 -0700
From:      Jesse Gooch <lists@gooch.io>
To:        freebsd-questions@freebsd.org
Subject:   Re: Updating and displaying CMOS clock
Message-ID:  <53BA0493.1030205@gooch.io>
In-Reply-To: <20140707021022.GB58025@admin.sibptus.tomsk.ru>
References:  <20140706153206.GA46262@admin.sibptus.tomsk.ru> <53B9BC4B.4030609@gooch.io> <20140707021022.GB58025@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53BA0493.1030205>