From owner-freebsd-stable Mon Jul 10 10: 7:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 164DC37B759 for ; Mon, 10 Jul 2000 10:07:20 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id KAA32444; Mon, 10 Jul 2000 10:07:18 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.9.3/8.9.3) id KAA48264; Mon, 10 Jul 2000 10:06:33 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 10 Jul 2000 10:06:33 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Jonathan Smith Subject: Re: Previous Message on /etc/defaults Cc: freebsd-stable@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 10-Jul-00 Jonathan Smith wrote: > > I, personally, have no need of /etc/defaults and typically disable it, > anyway. Why disable it. Just create simple /etc/*.conf files that contain the actual changes you use. My rc.conf is like 15 lines long, and make.conf is normally about 5 lines. > Since the whole thing is environment variables, why not make /etc/rc.conf > and /etc/make.conf _include_ the ones in /etc/defaults (first thing in the > file) (if they exist, obviously)? At which point, those of us who don't > use the features [of the defaults] can simply copy the onese in the > defaults directory over the ones in /etc (thus putting the entire file in > completely AND removing the inclusion of /etc/defualts files... This, > also, enforces the idea that defaults are defaults and the ones in the etc > directory are the final authority. Because we don't want code in the /etc/*.conf files since users may accidentally delete that part of the files and find themselves screwed, etc. Also, a significant reason for defaults/ is that it makes upgrading your /etc after a make world a _lot_ easier since you can copy the new file over and add any overrides to /etc/rc.conf rather than having to merge in all the changes into /etc/rc.conf. > Just an idea :) It's been thought about, believe me, and the reasons for defaults/ outweigh the reasons against. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message