summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail/jail.8
diff options
context:
space:
mode:
authorjcamou <jcamou@FreeBSD.org>2006-03-16 14:31:35 +0000
committerjcamou <jcamou@FreeBSD.org>2006-03-16 14:31:35 +0000
commit0e5649aea42e035e59ac22a96d0c2c72328bf2f9 (patch)
tree46c1b832e4d4a675372eaff796a6476e1c1e399e /usr.sbin/jail/jail.8
parentf93dac5b2fe9d29d2201b2ff0fd470d844d439ca (diff)
downloadFreeBSD-src-0e5649aea42e035e59ac22a96d0c2c72328bf2f9.zip
FreeBSD-src-0e5649aea42e035e59ac22a96d0c2c72328bf2f9.tar.gz
Do `mount_devfs' when starting a jail.
PR: docs/86044 Noticed by: Dan Langille <dan@langille.org> Reviewed by: Jose Biskofski <jbiskofski@grmims.com> Approved by: trhodes (mentor)
Diffstat (limited to 'usr.sbin/jail/jail.8')
-rw-r--r--usr.sbin/jail/jail.81
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index bbdd336..1c712f6 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -334,6 +334,7 @@ If you do decide to set this variable,
it must be set before starting any jails, and once each boot.
.Bd -literal -offset indent
ifconfig ed0 inet alias 192.168.11.100/32
+mount_devfs devfs /data/jail/192.168.11.100/dev
mount -t procfs proc /data/jail/192.168.11.100/proc
jail /data/jail/192.168.11.100 testhostname 192.168.11.100 \\
/bin/sh /etc/rc
OpenPOWER on IntegriCloud