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. >
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, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are."
signature.asc
Description: This is a digitally signed message part