From owner-freebsd-current Tue Feb 9 04:27:22 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA10382 for freebsd-current-outgoing; Tue, 9 Feb 1999 04:27:22 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA10376 for ; Tue, 9 Feb 1999 04:27:19 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id HAA05988; Tue, 9 Feb 1999 07:27:16 -0500 (EST) Date: Tue, 9 Feb 1999 07:27:16 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Matthew Dillon cc: current@FreeBSD.ORG Subject: Re: cleanup of rc.conf ( -4.x ) In-Reply-To: <199902090414.UAA49929@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 8 Feb 1999, Matthew Dillon wrote: > This does not make any operational change except to get rid > of the $conf_dir junk from rc.conf, which I originally put > in to try to bootstrap rc.diskless. > > A much better way to do rc.diskless was suggested to me, > which I'm going to implement. It involves retargeting > the /conf/ME softlink by mount_union'ing a small MFS > filesystem onto /conf. Then one simply makes /etc/rc.conf.local > a softlink to /conf/ME/rc.conf.local ( i.e. a sysop would do > that as an extra, we wouldn't distribute the base system > like that of course ) > > In anycase, I've committed a new rc.conf that gets rid > of $conf_dir, FYI, and am about to commit a new rc.diskless and > new examples that uses the mount_union idea for retargeting > during a diskless boot that will be much more straightward and > obvious. > Hasn't mount_union been dead for ~forever (+/- a few years)? > -Matt > Matthew Dillon > > > > > rc_conf_files="/etc/rc.conf.site /etc/rc.conf.local" > > ... > > ############################################################## > ### Allow local configuration override at the very end here ## > ############################################################## > # > # > > for i in ${rc_conf_files}; do > if [ -f $i ]; then > . $i > fi > done > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message