Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2002 20:41:16 -0800
From:      Mike Makonnen <mtm@identd.net>
To:        Matthew Dillon <dillon@apollo.backplane.com>
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>
In-Reply-To: <200212230121.gBN1LQiE033921@apollo.backplane.com>
References:  <20021222134047.51723c7c.mtm@identd.net> <200212222226.gBMMQQSu033211@apollo.backplane.com> <20021223005643.GA34206@matrix.identd.net> <200212230121.gBN1LQiE033921@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021223044116.GA35042>