Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 03:26:59 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199818 - head/usr.sbin/jail
Message-ID:  <200911260326.nAQ3Qxtu069448@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911260326.nAQ3Qxtu069448>