On 2018-01-10, Maximilian Pichler <maxim.pich...@gmail.com> wrote:

> * At boot the software clock (the value returned by gettimeofday) is
> initialized from the hardware clock (the one with the coin-shaped
> battery).

... from the RTC ("real-time clock"), yes.

> My question is: Can OpenBSD be told initialize the software from the
> hardware clock again after the system is booted?

No.

> (Also, is the hardware clock ever modified aside from explicit
> invocations of date(1) or similar?)

Yes,
* when the system is properly shut down, and
* periodically every 30 minutes, to prevent the RTC from drifting
  off during long uptimes.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to