svn commit: r208653 - stable/8/usr.sbin/jail

Bjoern A. Zeeb bz at FreeBSD.org
Sun May 30 11:28:01 UTC 2010


Author: bz
Date: Sun May 30 11:28:01 2010
New Revision: 208653
URL: http://svn.freebsd.org/changeset/base/208653

Log:
  MFC r199818:
  
    New style of jail(8) usage requires "-c" argument to create a jail.
  
  Approved by:	re (hrs)

Modified:
  stable/8/usr.sbin/jail/jail.8
Directory Properties:
  stable/8/usr.sbin/jail/   (props changed)

Modified: stable/8/usr.sbin/jail/jail.8
==============================================================================
--- stable/8/usr.sbin/jail/jail.8	Sun May 30 08:38:41 2010	(r208652)
+++ stable/8/usr.sbin/jail/jail.8	Sun May 30 11:28:01 2010	(r208653)
@@ -569,7 +569,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
@@ -644,7 +644,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-all mailing list