Re: Updating and displaying CMOS clock

看板FB_questions作者時間11年前 (2014/07/07 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/28 (看更多)
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 I have googled up another hacky way of to do that: sysctl `sysctl -e machdep.adjkerntz` It's from https://www.mail-archive.com/freebsd-hardware@freebsd.org/msg03414.html But I have not found anything to display the CMOS clock, only to set it. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru _______________________________________________ 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): #1JkWQYkT (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1JkWQYkT (FB_questions)