/etc and /usr/local/etc directories

Scott Mitchell scott+freebsd at fishballoon.org
Fri Aug 13 08:03:53 PDT 2004


On Fri, Aug 13, 2004 at 03:42:52AM +0200, Danny Pansters wrote:
> 
> For system (OS, that's kernel and userland) settings you have /etc
> For local (packages/ports) settings you have /usr/local/etc or /usr/X11R6/etc
> 
> Of course these two local bases should have been merely hard linked long ago 
> but that's not my decision :)

One very good reason to keep these separate is that you might be mounting
/usr/{local,X11R6} on many machines from a shared NFS drive.  By keeping the
shared configuration on the shared drive you don't have to replicate it on
every machine, and /etc just contains machine-specific configuration.

Cheers,

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon


More information about the freebsd-questions mailing list