Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 17:47:30 -0800
From:      Marcus Reid <marcus@blazingdot.com>
To:        freebsd-stable@freebsd.org
Subject:   New devices appear in all devfs mounts
Message-ID:  <20091028014730.GA40196@blazingdot.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091028014730.GA40196>