From owner-cvs-all Sun Dec 22 20:41:21 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 380F237B401 for ; Sun, 22 Dec 2002 20:41:19 -0800 (PST) Received: from mail.identd.net (matrix.identd.net [64.172.21.201]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CE9A43EDE for ; Sun, 22 Dec 2002 20:41:18 -0800 (PST) (envelope-from mtm@identd.net) Received: (qmail 35141 invoked by uid 1007); 23 Dec 2002 04:41:16 -0000 Date: Sun, 22 Dec 2002 20:41:16 -0800 From: Mike Makonnen To: Matthew Dillon Cc: jake@locore.ca, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc.diskless1 Message-ID: <20021223044116.GA35042@matrix.identd.net> References: <20021222134047.51723c7c.mtm@identd.net> <200212222226.gBMMQQSu033211@apollo.backplane.com> <20021223005643.GA34206@matrix.identd.net> <200212230121.gBN1LQiE033921@apollo.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <200212230121.gBN1LQiE033921@apollo.backplane.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD/4.7-STABLE (i386) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 22, 2002 at 05:21:26PM -0800, Matthew Dillon wrote: >=20 > Hmm. I think that could simply be run in a subshell as a=20 This sounds good. > test_rc_ng procedure. I'll come up with a patch for that. > The only reason I missed it in testing was because I removed > /etc/ipfw.conf and that obscured the fact that my diskless > box was still using the server's rc.conf(!). >=20 > What is this for? >=20 > # Diskless setups have to depend on a different mechanism since > # their config files haven't been retargeted yet. > # > [ -e /.rcng_yes ] && rc_ng=3D"YES" The rc.conf file might not exist, hence this mechanism. This doesn't hurt if it _does_ happen to have a valid rc.conf. See my explanation below. >=20 > Can that be removed? It looks like some kind of debugging thing. > If it is specific to diskless configurations we can remove it > because even a diskless configuration needs to use whatever rc > mechanism has been installed on the server. If the server has RCNG Not necessarily. There are instances (like my setup, for example) where the root file system for the diskless machine is a subdirectory of the servers root file system. In other words the diskless machine doesn't use the server's / partition because I use 'make DESTDIR=3D/diskless/current' when creating the filesystem for it. Cheers. --=20 Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC= 68B9 --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+BpPr2uHir9vMaLkRAjLFAJ9S0KIRRtCiR/BS6Ergvc9efLozWACfSn5A WPS5U4AldySy4k7ypHL+9rI= =wudi -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message