From owner-freebsd-current Wed Dec 11 20: 7:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64FA837B401 for ; Wed, 11 Dec 2002 20:07:16 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-228.dsl.lsan03.pacbell.net [64.169.104.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F9AE43EB2 for ; Wed, 11 Dec 2002 20:07:15 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id C87AF66BE3; Wed, 11 Dec 2002 20:07:14 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 140791330; Wed, 11 Dec 2002 20:07:14 -0800 (PST) Date: Wed, 11 Dec 2002 20:07:14 -0800 From: Kris Kennaway To: Steve Kargl Cc: Kris Kennaway , Andrew Thompson , freebsd-current@FreeBSD.ORG Subject: Re: Jailing a 4.7 environment on 5.0? Message-ID: <20021212040713.GA91883@rot13.obsecurity.org> References: <20021212001931.GA76871@troutmask.apl.washington.edu> <20021212005216.GA87536@rot13.obsecurity.org> <02Dec12.135649nzdt.119048@homer.fire.org.nz> <20021212010846.GA77330@troutmask.apl.washington.edu> <20021212011712.GA87978@rot13.obsecurity.org> <20021212033405.GA77952@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <20021212033405.GA77952@troutmask.apl.washington.edu> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 11, 2002 at 07:34:05PM -0800, Steve Kargl wrote: > > Replace the 'cd %D/dev; sh MAKEDEV jail' with 'mount -t devfs / $D/dev' > >=20 >=20 > Thanks for the pointer. The entire example doesn't > apply because my /usr/src is FreeBSD 5.0. I have > 4.7-disc2.iso and used a md device to copy the files > into a jail. It appears to work, but I have a few more > things to set up. I'll report with a full description > of what I'm doing later. Um, that's not what I said at all. Just use devfs and be done with it. Your way isn't likely to work now (different device numbers between 5.0 and 4.x) or in the future (future changes to how devices work). Kris --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9+AtxWry0BWjoQKURAuQ9AKCuFsPJICqmnZYFzWTZeK4RY0T1hwCff9Bp KUja3/TEu/zya7N50MffYhY= =SvGC -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message