New devices appear in all devfs mounts
Marcus Reid
marcus at blazingdot.com
Wed Oct 28 02:14:11 UTC 2009
Hi,
I have devfs mounted in a chroot jail, with just the basic device nodes
visible:
fstab: /dev/null /usr/data/home/scp/dev devfs rw 0 0
rc.conf: devfs_set_rulesets="/usr/data/home/scp/dev=devfsrules_hide_all /usr/data/home/scp/dev=devfsrules_unhide_basic"
When a new device is created, such as when adding a new scsi device or
having enough concurrent logins to instantiate new ttys, the new devices
appear in both /dev and /usr/data/home/scp/dev, which is not the intent
for the stripped-down chrooted dev dir. Is there a way to work around this?
Thanks,
Marcus
More information about the freebsd-stable
mailing list