From: Dwight Engen Date: Tue, 9 Apr 2013 13:41:15 +0000 (-0400) Subject: minor documentation fixes / clarification X-Git-Tag: lxc-1.0.0.alpha1~1^2~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1354f952876e96b456425efc7ed9994caf687028;p=thirdparty%2Flxc.git minor documentation fixes / clarification Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn Signed-off-by: Serge Hallyn --- diff --git a/doc/legacy/lxc-ls.sgml.in b/doc/legacy/lxc-ls.sgml.in index c04a4a4c2..60c085cdc 100644 --- a/doc/legacy/lxc-ls.sgml.in +++ b/doc/legacy/lxc-ls.sgml.in @@ -50,7 +50,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA lxc-ls --active - ls option + ls options @@ -79,7 +79,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + diff --git a/doc/lxc-execute.sgml.in b/doc/lxc-execute.sgml.in index c83a5eb53..de233f68f 100644 --- a/doc/lxc-execute.sgml.in +++ b/doc/lxc-execute.sgml.in @@ -132,12 +132,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Signal the end of options and disables further option processing. Any arguments after the -- are treated as - arguments. + arguments to command. - This option is useful when you want to execute, with the - command lxc-execute, a command line - with its own options. + This option is useful when you want specify options + to command and don't want + lxc-execute to interpret them. diff --git a/doc/lxc-ps.sgml.in b/doc/lxc-ps.sgml.in index f20bb0293..b0103cfd9 100644 --- a/doc/lxc-ps.sgml.in +++ b/doc/lxc-ps.sgml.in @@ -52,7 +52,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --name name --lxc --host - -- ps option + -- ps options @@ -69,7 +69,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA the container associated to processes. - The additionnal specified ps options must not + The additional specified ps options must not remove the default ps header and the pid information, to be able to have the lxc-ps to find the container associated to processes. @@ -119,7 +119,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + diff --git a/doc/lxc-unshare.sgml.in b/doc/lxc-unshare.sgml.in index 1fbaf0bba..5c899b63d 100644 --- a/doc/lxc-unshare.sgml.in +++ b/doc/lxc-unshare.sgml.in @@ -49,7 +49,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - lxc-clone + lxc-unshare -s namespaces -u user command @@ -115,7 +115,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA To spawn a new shell with its own UTS (hostname) namespace, - lxc-clone -s UTSNAME /bin/bash + lxc-unshare -s UTSNAME /bin/bash If the hostname is changed in that shell, the change will not be reflected on the host. @@ -123,7 +123,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA To spawn a shell in a new network, pid, and mount namespace, - lxc-clone -s "NETWORK|PID|MOUNT" /bin/bash + lxc-unshare -s "NETWORK|PID|MOUNT" /bin/bash The resulting shell will have pid 1 and will see no network interfaces. After re-mounting /proc in that shell,