svn commit: r199818 - head/usr.sbin/jail
Jun Kuriyama
kuriyama at FreeBSD.org
Thu Nov 26 03:27:00 UTC 2009
Author: kuriyama
Date: Thu Nov 26 03:26:59 2009
New Revision: 199818
URL: http://svn.freebsd.org/changeset/base/199818
Log:
- New style of jail(8) usage requires "-c" argument to create a jail.
Reviewed by: jamie
Modified:
head/usr.sbin/jail/jail.8
Modified: head/usr.sbin/jail/jail.8
==============================================================================
--- head/usr.sbin/jail/jail.8 Thu Nov 26 02:14:08 2009 (r199817)
+++ head/usr.sbin/jail/jail.8 Thu Nov 26 03:26:59 2009 (r199818)
@@ -561,7 +561,7 @@ or for running a virtual server.
Start a shell in the jail:
.Pp
.Bd -literal -offset indent
-jail path=/data/jail/192.0.2.100 host.hostname=testhostname \\
+jail -c path=/data/jail/192.0.2.100 host.hostname=testhostname \\
ip4.addr=192.0.2.100 command=/bin/sh
.Ed
.Pp
@@ -636,7 +636,7 @@ script from within the jail.
.Bd -literal -offset indent
ifconfig ed0 inet alias 192.0.2.100/32
mount -t procfs proc /data/jail/192.0.2.100/proc
-jail path=/data/jail/192.0.2.100 host.hostname=testhostname \\
+jail -c path=/data/jail/192.0.2.100 host.hostname=testhostname \\
ip4.addr=192.0.2.100 command=/bin/sh /etc/rc
.Ed
.Pp
More information about the svn-src-head
mailing list