Subject: Re: system time -> NVRAM time
To: Ben Harris <bjh21@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: port-sparc
Date: 11/07/2002 13:41:46
> >what's the magic NetBSD command to copy system time to NVRAM time?
>
> halt(8) ... It happens automatically on system shutdown,
Is that necessary or desirable?
Setting the RTC to the system clock would only be necessary
if the system clock were more accurate than the RTC chip.
This is exceedingly unlikely and if the system has been in ddb
(or lost any clock ticks elsewhere) definitely untrue.
It might even be advantageous to lock the system time to the
RTC during normal operation - if not using NTP.
David
--
David Laight: david@l8s.co.uk