Date: Fri, 24 Mar 2006 10:02:56 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: Tony Maher <anthony.maher@uts.edu.au> Cc: Andrzej Cuber <poczta@andrzejcuber.pl>, freebsd-stable@freebsd.org Subject: Re: a place for configuration files Message-ID: <E1FMhG4-00025Z-R7@cs1.cs.huji.ac.il> In-Reply-To: Your message of Thu, 23 Mar 2006 13:58:09 %2B1100 .
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FMhG4-00025Z-R7>