From owner-freebsd-current Thu Feb 11 07:53:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05244 for freebsd-current-outgoing; Thu, 11 Feb 1999 07:53:48 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from octopus.originative.co.uk (originat.demon.co.uk [158.152.220.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05233 for ; Thu, 11 Feb 1999 07:53:39 -0800 (PST) (envelope-from paul@originative.co.uk) From: paul@originative.co.uk Received: by octopus with Internet Mail Service (5.5.2232.9) id <1R49BBC8>; Thu, 11 Feb 1999 15:51:59 -0000 Message-ID: To: axl@iafrica.com Cc: brian@Awfulhak.org, tr49986@rcc.on.ca, current@FreeBSD.ORG Subject: RE: Heads up! /etc/rc.conf.site is dead. Date: Thu, 11 Feb 1999 15:51:56 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Sheldon Hearn [mailto:axl@iafrica.com] > Sent: 11 February 1999 13:24 > To: paul@originative.co.uk > Cc: brian@Awfulhak.org; tr49986@rcc.on.ca; current@FreeBSD.ORG > Subject: Re: Heads up! /etc/rc.conf.site is dead. > > > > > Hi Paul, > > Just a few criticisms of your comments... > > On Thu, 11 Feb 1999 11:56:31 GMT, paul@originative.co.uk wrote: > > > Adding new knobs will be a doddle, the default file gets a > new knob, with > > it's default setting and it'll just work. > > It won't be "a doddle" if, as you suggested, the defaults directory is > system immutable. For exactly this reason, that suggestion wasn't a > good one. I hope you agree. I don't see why. The only thing that should update the defaults directory is a system installation or 'make install'. Neither of which will be hampered in any way by the files or directory being immutable. We install new kernels without any problems. > > > They're going into /usr/share/examples/ppp soon. > > > [...] > > > Besides, with all this activity, it'd be nice to get out of /etc > > > altogether :-) > > > > Have another think about it. /etc/defaults does have its > merits but it isn't > > going to work well unless everyone buys into it. > > /etc/defaults is for default knobs that are turned on by > default and may > be overridden. Examples are knobs that are not turned on by > default. Can > you see why the ppp examples are not a candidate for "buy in"? I don't really agree, defaults is not for knobs that are turned on by default, for a start that assumes binary state which isn't the case. /etc/defaults will have the defaults for *all* knobs. That would include options that are disabled by default. Specifically with regard to ppp, having it work the same way would require changing ppp configuration code to parse a local file for overrides but there's no reason why all configuration couldn't adopt the same general principle of operation i.e. a defaults file that sets all configuration knobs into a default state and then a local override file for local changes. Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message