Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 12:10:00 -0500 (EST)
From:      Jonathan Smith <jonsmith@dragonstar.dhs.org>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Previous Message on /etc/defaults
Message-ID:  <Pine.BSF.4.21.0007101208420.96443-100000@dragonstar.dhs.org>
In-Reply-To: <XFMail.000710100633.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The reason against it is that it makes it harder to go through and
configure a fresh system.  As I had said, one of my favorite things was to
have one file to go through and change what I needed to.  That advantage
is gone.  Yes, it's still easier than linux, but not by much.

j.


--
Close your eyes.  Now forget what you see.  What do you feel? --
My heart. --  Come here. --  Your heart. --  See?  We're exactly the same.

	Jon Smith -- Senior Math Major @ Purdue

On Mon, 10 Jul 2000, John Baldwin wrote:

> 
> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007101208420.96443-100000>