Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 1996 20:05:40 +0000
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        jkh@time.cdrom.com, wosch@cs.tu-berlin.de, current@FreeBSD.org
Subject:   Files installed to /etc, (was: review request)
Message-ID:  <1304.830808340@critter.tfs.com>
In-Reply-To: Your message of "Tue, 30 Apr 1996 05:10:43 %2B1000." <199604291910.FAA28593@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >>> I think usr.bin/mail/Makefile is wrong. make install shall not install
> >>> any file in /etc. Jordan?
> >>
> >>I agree, it shouldn't.  
>
> [...]
> 
> All these installs should be moved into /usr/src/etc/Makefile like.  It's
> too bad that this Makefile has to know about scattered sources.  It already
> knows about many.

Isn't the problem here that all of these things should be put in another
directory, from which the root can copy them to /etc if he wants to ?

The only two cases in which we actually populate /etc are:

	a) initial install or upgrade.

	b) explicit command from root.

How about making all installs into /etc end up in /usr[*]etc instead, 
and then have one target in a makefile somewhere that would wack everything 
from there to /etc, if that is what the "root" wants ?

[*] could be something like
	/		except that the historial luggage of /usr/etc is bad.
	/lib/		which isn't quite according to the spirit of the place
	/libdata/	--//--
	/libexec/	--//--
	something else	which I didn't think of.

The cost would be 416 Kb in the /usr filesystem, and one benefit would
be that the root easier can recover from SDIEMATVSF(*) and similar ailments

It would also simplify the task of setting up diskless machines...

Poul-Henning

* Sleep Deprivation Induced Editor MisApplication To Vital System Files
--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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