diff options
author | dougb <dougb@FreeBSD.org> | 2004-09-30 09:15:21 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2004-09-30 09:15:21 +0000 |
commit | 4c435e5ce266b8fe94652cb0c0e631caa280170a (patch) | |
tree | 1a9802c9b64ba56b208595bd081d52085778f522 | |
parent | 9fddea1399dbade46d602410b3a41fe5510b2d64 (diff) | |
download | FreeBSD-src-4c435e5ce266b8fe94652cb0c0e631caa280170a.zip FreeBSD-src-4c435e5ce266b8fe94652cb0c0e631caa280170a.tar.gz |
Hide all the devices in the chroot dev except for random and null.
-rwxr-xr-x | etc/rc.d/named | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.d/named b/etc/rc.d/named index 514e6c6..a4dc42c 100755 --- a/etc/rc.d/named +++ b/etc/rc.d/named @@ -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. # |