Date: Fri, 21 May 2004 14:00:54 +0200 From: Nelis Lamprecht <nelis@8ball.co.za> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-net@freebsd.org Subject: Re: named in sandbox Message-ID: <1085140854.7087.7.camel@nelis.brabys.co.za> In-Reply-To: <20040521111640.GB31695@happy-idiot-talk.infracaninophile.co.uk> References: <40AD8D44.5020508@mra.co.id> <OCEGLFACMGOKINMEOKANGEBPDBAA.mitch@bitblock.com> <20040521111640.GB31695@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1085140854.7087.7.camel>