From owner-freebsd-net@FreeBSD.ORG Fri May 21 05:01:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D109416A4D3 for ; Fri, 21 May 2004 05:01:04 -0700 (PDT) Received: from mail.8ball.co.za (8ball.co.za [196.22.201.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC66E43D39 for ; Fri, 21 May 2004 05:01:01 -0700 (PDT) (envelope-from nelis@8ball.co.za) Received: (qmail 13768 invoked by uid 89); 21 May 2004 12:00:53 -0000 Received: from unknown (HELO ?192.168.10.9?) (192.168.10.9) by 192.168.10.1 with SMTP; 21 May 2004 12:00:53 -0000 From: Nelis Lamprecht To: Matthew Seaman In-Reply-To: <20040521111640.GB31695@happy-idiot-talk.infracaninophile.co.uk> References: <40AD8D44.5020508@mra.co.id> <20040521111640.GB31695@happy-idiot-talk.infracaninophile.co.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fLOl6JKtQw0T/Uyc/HYr" Organization: 8ball Network Solutions Message-Id: <1085140854.7087.7.camel@nelis.brabys.co.za> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 21 May 2004 14:00:54 +0200 cc: Muhammad Reza cc: freebsd-questions@freebsd.org cc: "Mitch \(bitblock\)" cc: freebsd-net@freebsd.org Subject: Re: named in sandbox X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nelis@8ball.co.za List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 12:01:05 -0000 --=-fLOl6JKtQw0T/Uyc/HYr Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-05-21 at 13:16, Matthew Seaman wrote: > However, remember that's written netbsd-centrically, and you'll have > to adapt the instructions for use under FreeBSD -- use ports instead > of pkgsrc, and you'll need to investigate what to do to make devfs(8) > create the requited device nodes under the chroot, rather than using > mknod. >=20 You can simply symlink the device nodes: guardian# ls -la /var/chroot/named/dev/ total 4 drwxr-xr-x 2 bind bind 512 Mar 3 11:21 . drwx------ 5 bind bind 512 Mar 3 11:18 .. lrwxr-xr-x 1 root bind 9 Mar 3 11:21 null -> /dev/null lrwxr-xr-x 1 root bind 11 Mar 3 11:21 random -> /dev/random lrwxr-xr-x 1 root bind 9 Mar 3 11:21 zero -> /dev/zero Cheers, --=20 Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are." --=-fLOl6JKtQw0T/Uyc/HYr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBAre92QfIMKiRMCrERAgDBAKCdVshSBeCj6UWDRoi7Kh7Trxk60ACdFqnX NklQnIHMGS986PkclnScAcI= =mV0v -----END PGP SIGNATURE----- --=-fLOl6JKtQw0T/Uyc/HYr--