From owner-freebsd-stable@FreeBSD.ORG Fri Mar 24 08:03:02 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 BA6DC16A400 for ; Fri, 24 Mar 2006 08:03:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA1143D4C for ; Fri, 24 Mar 2006 08:03:02 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1FMhG4-00025Z-R7; Fri, 24 Mar 2006 10:02:56 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Tony Maher In-reply-to: Your message of Thu, 23 Mar 2006 13:58:09 +1100 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Mar 2006 10:02:56 +0200 From: Danny Braniss Message-ID: Cc: Andrzej Cuber , 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: Fri, 24 Mar 2006 08:03:02 -0000 > Andrzej Cuber wrote: > > > ... > > 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? > > If you want to be consistent you could add to /etc/rc.conf > rc_conf_files="/etc/rc.conf /etc/rc.conf.local /usr/local/etc/rc.conf" > > Then your startup variables could go into /usr/local/etc/rc.conf and > all your ports config stuff would live in /usr/local/etc hierarchy. > > There maybe a problem if /usr/local/etc/rc.conf is on another partition > not available early enough in startup process. Caveat emptor. > and that's where early_late_divider="something" comes in handy (thanks Doug B.) in my case I have early_late_divider="amd" since /usr/local is am-utils mounted. danny