Hide all the devices in the chroot dev except for random and null.
This commit is contained in:
parent
13e3f0b717
commit
4550c56f2a
@ -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.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user