Re: Updating and displaying CMOS clock

看板FB_questions作者時間11年前 (2014/07/07 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串17/28 (看更多)
On Mon, 7 Jul 2014 13:08:16 +0100 RW wrote: > On Sun, 6 Jul 2014 22:32:07 +0700 > Victor Sudakov wrote: > > > > And no, contrary to popular belief, the correction of the CMOS clock > > does not happen automatically in FreeBSD even if ntpd is running. > > Are you sure about that? That used to be the case, but I thought it > was fixed in 10-CURRENT. I missed this: On Mon, 7 Jul 2014 17:39:55 +0700 Victor Sudakov wrote: > I have been told about the machdep.rtc_save_period sysctl, but it > seems undocumented. It looks like it has been fixed. I never followed the PR, but the solution discussed on the mailing list was to update the hardware clock from the system clock every 30 minutes $ sysctl -d machdep.rtc_save_period machdep.rtc_save_period: Save system time to RTC with this period (in seconds) $ sysctl machdep.rtc_save_period machdep.rtc_save_period: 1800 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JkfeEWr (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1JkfeEWr (FB_questions)