From owner-freebsd-stable@FreeBSD.ORG Thu Mar 23 01:28:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE71B16A41F for ; Thu, 23 Mar 2006 01:28:45 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33FC743D46 for ; Thu, 23 Mar 2006 01:28:44 +0000 (GMT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.4/8.13.1) with ESMTP id k2N1SCwl024007; Wed, 22 Mar 2006 17:28:13 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.4/8.13.1/Submit) id k2N1SAgt024006; Wed, 22 Mar 2006 17:28:10 -0800 (PST) (envelope-from kline) Date: Wed, 22 Mar 2006 17:28:05 -0800 From: Gary Kline To: Andrzej Cuber Message-ID: <20060323012805.GB23902@thought.org> References: <4421F47F.3050104@andrzejcuber.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4421F47F.3050104@andrzejcuber.pl> User-Agent: Mutt/1.4.2.1i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 19+ years of service to the Unix community Cc: freebsd-stable@freebsd.org Subject: Re: a place for configuration files X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 01:28:45 -0000 On Thu, Mar 23, 2006 at 02:06:07AM +0100, Andrzej Cuber wrote: > Hello Everyone, > > for the last 5 years I was using Red Hat and Fedora Core Linuxes. > With the beginning of the current year I installed FreeBSD Release 6 on one > of my servers. > It took me about a week to setup the system but I am very happy with it now. > > I build most of the stuff from the sources using ports. > What I found strange is that the configuration files of different services > are located in two different places. Most configuration which was installed > from the CD is located at /etc but everything what I built from sources is > located at /usr/local/etc. Maybe this is the way it use to be on Unix > based systems. I think having a /usr/local/etc is "new" (past decade maybe), but the /usr/local directory paradigm is a Berkeley thing. It probably began with the 4.X distribution; I began using Unix with V6 and there was no "local" directory. > > In RedHat and Fedora distributions all configuration files are located at > /etc. > I am very new to FreeBSD but I found it difficult. After installing desired > package I have to add it to /etc/rc.conf in order to start it as a service > and then I have to look for configuration folder in /usr/local/etc. > > Is there any reason why the configuration files are placed in those > different locations? I'd guess just custom/habit/the-way-it's-always-been-done. It makes sense to me to have the etc directories at least symlinked. Or the option-of having it. BUT .... gary > > -- > pozdrawiam / best regards > Andrzej Cuber > +48 504 271-977 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org www.thought.org Public service Unix