On Thu, May 13, 2010 at 07:44:58PM +0200, Julian H. Stacey wrote:
> Problem with /dev/null & /dev/zero inside a chroot:
> I wanted to build a release from inside a chroot

> What sort of null & zero should be in chroot ?
> man mknod ... deprecated ...
> Should I be running a devfs (I'm not currently)
> Or a jail ? (I dont really want that level of encapsulation ).

Mount devfs in your chroot. Then use devfs(8) to limit what's visible in
that particular devfs, if you want.

-- 
Jilles Tjoelker
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to