Date: Thu, 11 Feb 1999 15:51:56 -0000 From: paul@originative.co.uk 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. Message-ID: <A6D02246E1ABD2119F5200C0F0303D10FE27@octopus>
next in thread | raw e-mail | index | archive | help
> -----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6D02246E1ABD2119F5200C0F0303D10FE27>