From owner-freebsd-chat Mon Apr 12 17: 0:55 1999 Delivered-To: freebsd-chat@freebsd.org Received: from eterna.binary.net (eterna.binary.net [12.13.84.6]) by hub.freebsd.org (Postfix) with ESMTP id E05A714EA0 for ; Mon, 12 Apr 1999 17:00:53 -0700 (PDT) (envelope-from nathan@rtfm.net) Received: from matrix.binary.net (nathan@matrix.binary.net [12.13.120.2]) by eterna.binary.net (8.9.1a/8.9.1) with ESMTP id SAA97920; Mon, 12 Apr 1999 18:58:34 -0500 (CDT) Received: (from nathan@localhost) by matrix.binary.net (8.9.1a/8.9.1) id SAA22717; Mon, 12 Apr 1999 18:58:34 -0500 (CDT) Date: Mon, 12 Apr 1999 19:58:34 -0400 From: Nathan Dorfman To: Ben Smithurst Cc: "Jason C. Wells" , FreeBSD-chat Subject: Re: /etc/defaults/really_defaults/really_really_defaults Message-ID: <19990412195834.A19651@rtfm.net> References: <19990412161150.B3679@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <19990412161150.B3679@scientia.demon.co.uk>; from Ben Smithurst on Mon, Apr 12, 1999 at 04:11:50PM +0100 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 12, 1999 at 04:11:50PM +0100, Ben Smithurst wrote: > Jason C. Wells wrote: > > > What's the functional difference between the former rc.conf and > > defaults/rc.conf? Why not > > /etc/defaults/really_defaults/really_really_defaults/rc.conf? (Rhetorical > > question) > > > > If we realllllly shouldn't change settings in defaults/rc.conf then just > > roll those variable assignments into /etc/rc which we are also warned not > > to play with. (This is where a developer should tell me I don't see the > > grand scheme.) > > It makes it easier to see what the defaults are, imho. If I wanted to find > all the other defaults, I'd have to grep all the rc* files, find what > context it was used in, etc. Also, if a variable is used more than once, > especially in more than one file, changes made by FreeBSD developers to > the default setting need only be made once. On the other hand, setting up a nwe system is a PITA now, because you can't just edit the file and rely on comments already there to change default values to whatever you need. Now, you need to also open a copy of the defaults file, to read from, and copy over lines you want to change to your own file, and change them there. What about defaults changing, and suddenly values you rely on in rc.conf no longer having any effect? > -- > Ben Smithurst > ben@scientia.demon.co.uk > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-chat" in the body of the message -- Nathan Dorfman The statements and opinions in my Unix Admin @ Frontline Communications public posts are mine, not FCC's. "The light at the end of the tunnel is the headlight of an approaching train." --/usr/games/fortune To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message