Add timecounter option to rc.conf
Mike Makonnen
mtm at identd.net
Tue Apr 8 00:36:35 PDT 2003
On Sun, 06 Apr 2003 23:49:50 +0200
Dag-Erling Smorgrav <des at ofug.org> wrote:
> "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> > I on the other hand think that by now /etc/rc.conf has so many knobs
> > and handles that it is practically impossible to figure out how to
> > do anything without resorting to "less /etc/rc.*" to figure it out :-(
>
> 'man rc.conf' should hopefully be reasonably up to date, and
> /etc/defaults/rc.conf briefly documents most of the knobs. The main
> problem is that there are knobs which aren't listed in either of these
> and which I suspect even most committers never knew existed, because
> our rc.d scripts were imported wholesale from NetBSD with some but
> IMHO not enough adaptation. Differences between NetBSD and FreeBSD
> should have been viewed as an opportunity to improve both, but instead
> the scripts were "dumbed down" to provide very little beyond what
> already existed in FreeBSD.
Please check the archives for the reasons.
Having said that, more work is forthcomming.
> Currently, ntpdate gets its server list from the ntpdate_hosts
> variable, or from ntp.conf if ntpdate_hosts is empty. None of this is
> documented, because it came from NetBSD with rcNG. Previously, we had
> to list servers in ntpdate_flags; I bet a lot of people still do,
> unaware that the servers listed in ntp.conf will be appended to this
> list.
They aren't documented because we don't use them. There are two paths in the
rc.d/ntpdate script: one for FreeBSD and one for NetBSD. The FreeBSD path is
the same as in the old rc.
Cheers.
--
Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve
More information about the freebsd-arch
mailing list