From owner-cvs-src@FreeBSD.ORG Sun Oct 10 08:19:57 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6167C16A4CE; Sun, 10 Oct 2004 08:19:57 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56F0543D54; Sun, 10 Oct 2004 08:19:53 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i9A8JmZV062490; Sun, 10 Oct 2004 10:19:48 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i9A8JlMt062489; Sun, 10 Oct 2004 10:19:47 +0200 (SAST) (envelope-from jhay) Date: Sun, 10 Oct 2004 10:19:47 +0200 From: John Hay To: Ryan Sommers Message-ID: <20041010081947.GA61957@zibbi.icomtek.csir.co.za> References: <200410071355.i97DtSJq024575@repoman.freebsd.org> <20041009011553.01708de1@dev.lan.Awfulhak.org> <20041009083519.GA84548@dragon.nuxi.com> <20041009183217.GJ84228@lucky.net> <41683D43.4020403@gamersimpact.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41683D43.4020403@gamersimpact.com> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: What we keep under /etc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2004 08:19:57 -0000 On Sat, Oct 09, 2004 at 02:34:27PM -0500, Ryan Sommers wrote: > Valentin Nechayev wrote: > > >Are you serious? Well, let's make local modifications in > > > >/usr/src/etc/master.passwd, or what's the *real* difference between its > >and /etc/rc.d/*? > > > > > Umm... Read the discussion again. The topic isn't /ALL/ of /etc just > those directories that are considered part of the OS like /etc/rc.d and > /etc/defaults. The difference is rc.d contains only the startup scripts > for the operating system. All others /should/ be in /usr/local/etc/rc.d. While /usr/local/etc/rc.d works ok for a lot of things, it doesn't work well for everything that one might want to add because it is only run very late in the boot order. To be able to have something run somewhere in the beginning, say before the NETWORKING phase, you have to add it to /etc/rc.d, except if we add something like /etc/local.rc.d and also add it to /etc/rc so that rcorder use both simultaneously, something like 'rcorder ... /etc/rc.d/* /etc/local.rc.d/*'. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org