From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 01:43:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 401F516A4CE for ; Fri, 13 Aug 2004 01:43:06 +0000 (GMT) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC13543D55 for ; Fri, 13 Aug 2004 01:43:03 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.134] (port=51181 helo=smtp3.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1BvR5y-0004D3-CP; Fri, 13 Aug 2004 03:43:02 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([212.204.145.167]:55252 helo=workstation.homenet) by smtp3.home.nl with esmtp (Exim 4.30) id 1BvR5w-0002Pi-9T; Fri, 13 Aug 2004 03:43:00 +0200 From: Danny Pansters To: freebsd-questions@freebsd.org Date: Fri, 13 Aug 2004 03:42:52 +0200 User-Agent: KMail/1.6.2 References: <7656a1a724a4257a15f6ca.20040812162717.wzyrjvf@www.dslextreme.com> <20040812204039.3648f75f.wmoran@potentialtech.com> In-Reply-To: <20040812204039.3648f75f.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408130342.53107.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean cc: jmlewis@dslextreme.com Subject: Re: /etc and /usr/local/etc directories X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: danny@ricin.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 01:43:06 -0000 Chipping in here, because although the answers are (of course!) correct it may clarify a bit... On Friday 13 August 2004 02:40, Bill Moran wrote: > "Joshua Lewis" wrote: > > I have decided to take the plunge and try out 5.2.1. I figure it will be > > 5.3 soon and I like the idea of upgrading at that time. So I am going to > > start fiddling with it. > > > > The first thing I am noticing is when installing apps from the ports > > directory my config files are getting put into /usr/local/etc instead of > > where I am used to /etc. > > Huh? What version of FreeBSD were you using that put them in /etc? > They've always gone in /usr/local/etc ... since 2.2 at least. > > > I am guessing this by design and wanted to confirm this. > > Yes, it's by design. 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 :) > > Is this a config setting somewhere? It is fine in the /usr/local/etc > > directory but if it is a config setting then perhaps there are other > > settings that have changed that I have not encountered yet. I would like > > to read up on the changes. > > > > While I am on the subject. Are there any other differences between 4.10 > > and 5.X that will take me by surprise? Perhaps the way you load modules and the way you pass module parameters to the kernel in the loader. Also, 5.X needs /usr to be mounted because of "dynamic root" and if building a kernel, LINT has moved to be NOTES and its meaning has changed slightly as well as their locations inside /usr/src/sys. > > I read through the Release notes on FreeBSD.org and it never mentioned > > the /etc directory thing. So perhaps there are some other items I should > > keep my eye out for. This generally isn't anything new compared to 4.X or even before that. > The FreeBSD handbook is being updated all the time. You'll probably want > to re-read a lot of it to see what kind of changes are occurring. There > are also a lot of new man pages in existance. If you have specific > questions, you can always ask on this list. I'm sure the $LOCALBASE and $X11BASE thing is discussed in the Handbook or at least the Porters Handbook, yes. Regards, HTH, Dan