Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/etc/rc.d
"M. Warner Losh" <imp%bsdimp.com@localhost> writes:
> In message: <87ab2dat79.fsf%snark.cb.piermont.com@localhost>
> "Perry E. Metzger" <perry%piermont.com@localhost> writes:
> :
> : Frank Kardel <kardel%netbsd.org@localhost> writes:
> : > Actually we can retire ntpdate in rc unless we are very tight on
> : > memory. ntpd_flags should add the -g flag. This allows for a big
> : > (time setting) initial (and only one time) step in ntpd.
> :
> : I was made aware of that a few days ago.
>
> How long after startup does ntpd exit in this case?
It doesn't. -g says that the initial time difference may be large and to
just step the time rather than slewing it on initial start. Then you
don't need ntpdate. (You *can* use ntpd with other flags to behave like
ntpdate but that's not the purpose here.)
> Just be careful here about the races here... ntpdate guaranteed the
> time was set and wasn't going to change...
It guaranteed that the time was set -- not that it would not change.
Perry
--
Perry E. Metzger perry%piermont.com@localhost
Home |
Main Index |
Thread Index |
Old Index