Hide all the devices in the chroot dev except for random and null.

This commit is contained in:
Doug Barton 2004-09-30 09:15:21 +00:00
parent 13e3f0b717
commit 4550c56f2a

View File

@ -58,6 +58,9 @@ chroot_autoupdate()
umount ${named_chrootdir}/dev 2>/dev/null
mount_devfs devfs ${named_chrootdir}/dev
fi
devfs -m ${named_chrootdir}/dev rule apply hide
devfs -m ${named_chrootdir}/dev rule apply path null unhide
devfs -m ${named_chrootdir}/dev rule apply path random unhide
# Copy local timezone information if it is not up to date.
#