chroot and /dev

Dieter freebsd at sopwith.solgatos.com
Thu Dec 15 19:19:40 PST 2005


How does one provide one or two devices, e.g. /dev/null
for a chroot environment?

Device nodes created by mknod do not work.

mount_devfs creates an entire device tree, negating
the security of the chroot.


More information about the freebsd-questions mailing list