]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Update man pages to the latest information
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Mon, 6 Jan 2014 09:05:39 +0000 (18:05 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 6 Jan 2014 14:51:53 +0000 (09:51 -0500)
* lxc-attach(1): Update to the status of kernel 3.8 or higher
* lxc-create(1), lxc-destroy(1): Now lxc-ls don't have "-l" option, so remove
* lxc(7): update description of lxc-ls and lxc-info to current version
* see-also: fix lxc(1) to lxc(7)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/ja/lxc-attach.sgml.in
doc/ja/lxc-create.sgml.in
doc/ja/lxc-destroy.sgml.in
doc/ja/lxc.sgml.in
doc/ja/see_also.sgml.in
doc/lxc-attach.sgml.in
doc/lxc-create.sgml.in
doc/lxc-destroy.sgml.in
doc/lxc.sgml.in
doc/see_also.sgml.in

index 50b9de944ee3e01051746f05818eaaa2dd51e141..5b8d9f3a265ea80af1962fea34f305346f4063bf 100644 (file)
@@ -339,13 +339,14 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <para>
       <!--
       Attaching completely (including the pid and mount namespaces) to a
-      container requires a patched kernel, please see the lxc website for
+      container requires a kernel of version 3.8 or higher, or a
+      patched kernel, please see the lxc website for
       details. <command>lxc-attach</command> will fail in that case if
-      used with an unpatched kernel.
+      used with an unpatched kernel of version 3.7 and prior.
       -->
-      (pid とマウント名前空間を含む) コンテナに対する完全なアタッチを行うにはパッチを適用したカーネルが必要となります.
+      (pid とマウント名前空間を含む) コンテナに対する完全なアタッチを行うには 3.8 以上,もしくはパッチを適用したカーネルが必要となります.
       詳しくは lxc のウェブサイトを参照してください.
-      (訳注: 3.8 カーネルから PID, マウント名前空間に対するアタッチも可能になっている)
+      パッチが当たっていない 3.8 より小さなバージョンのカーネルを使った場合は,<command>lxc-attach</command> の実行は失敗するでしょう.
     </para>
     <para>
       <!--
@@ -359,12 +360,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     </para>
     <para>
       <!--
-      Attaching to user namespaces is currently completely unsupported
-      by the kernel. <command>lxc-attach</command> should however be able
-      to do this once once future kernel versions implement this.
+      Attaching to user namespaces is supported by kernel 3.8 or higher
+      with enabling user namespace.
       -->
-      ユーザ名前空間へのアタッチは,現時点ではカーネルで完全にサポートされていません.
-      しかし,<command>lxc-attach</command> は,将来のカーネルがこの機能を実装した時点ですぐに,アタッチが可能になるはずです.
+      ユーザ名前空間へのアタッチは,ユーザ名前空間機能を有効にした 3.8 以上のカーネルでサポートされます.
     </para>
   </refsect1>
 
index 297b3f3e82c1d7955a35ff7fdce47ec56b576323..54ab639bb95313ec53a49de23d9991b8c0ccf2b1 100644 (file)
@@ -233,11 +233,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
             <!--
            As the message mention it, you try to create a container
            but there is a container with the same name. You can use
-           the <command>lxc-ls -l</command> command to list the
+           the <command>lxc-ls</command> command to list the
            available containers on the system.
             -->
             メッセージの通り,コンテナを作成しようとしたけれども,同じ名前のコンテナが存在しています.
-            <command>lxc-ls -l</command> コマンドを使って,システム上に存在する利用可能なコンテナのリストが表示できます.
+            <command>lxc-ls</command> コマンドを使って,システム上に存在する利用可能なコンテナのリストが表示できます.
           </para>
         </listitem>
       </varlistentry>
index 6a1b4fa55d035da7612424cac906c8cb92aa27b9..c10d8b96578b83655d807d3168183f820048db46 100644 (file)
@@ -123,12 +123,12 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
             <!--
            The specified container for destruction was not found. It
            is probable it does not exists and was already
-           destroyed.You can use the <command>lxc-ls -l</command>
+           destroyed.You can use the <command>lxc-ls</command>
            command to list the available containers on the system.
             -->
             破壊するために指定したコンテナが見つかりません.
             おそらくそのコンテナが存在しないのか,既に破壊された後なのでしょう.
-            <command>lxc-ls -l</command> コマンドを使って,システム上に存在するコンテナのリストを得ることができます.
+            <command>lxc-ls</command> コマンドを使って,システム上に存在するコンテナのリストを得ることができます.
           </para>
         </listitem>
       </varlistentry>
index de65331d37b4d38140ac5ffbe4404a949806afa6..6077b991bc6137f816599115333ac40171ac714c 100644 (file)
@@ -697,35 +697,15 @@ rootfs
       <para>
         <!--
        <command>lxc-ls</command> lists the containers of the
-       system. The command is a script built on top
-       of <command>ls</command>, so it accepts the options of the ls
-       commands, eg:
-       <programlisting>
-         lxc-ls -C1
-       </programlisting>
-       will display the containers list in one column or:
-       <programlisting>
-         lxc-ls -l
-       </programlisting>
-       will display the containers list and their permissions.
+       system.
         -->
         <command>lxc-ls</command> は,システムのコンテナを一覧します.
-        このコマンドは <command>ls</command> をうまく利用して作られているスクリプトです.
-        なので,ls コマンドのオプションを受け付けます.例えば
-       <programlisting>
-         lxc-ls -C1
-       </programlisting>
-        はコンテナのリストを 1 列で表示しますし,
-       <programlisting>
-         lxc-ls -l
-       </programlisting>
-        はコンテナのリストとパーミッションを表示します.
       </para>
 
       <para>
         <!--
        <command>lxc-ps</command> will display the pids for a specific
-       container. Like <command>lxc-ls</command>, <command>lxc-ps</command>
+       container. <command>lxc-ps</command>
        is built on top of <command>ps</command> and accepts the same
        options, eg:
        <programlisting>lxc-ps &#045;&#045;name foo &#045;&#045;forest</programlisting>
@@ -736,7 +716,7 @@ rootfs
        will display all the containers and their processes.
         -->
         <command>lxc-ps</command> は特定のコンテナに対する pid を表示します.
-        <command>lxc-ls</command> のように,<command>lxc-ps</command> は  <command>ps</command> コマンドをうまく利用して作られており,同じオプションを利用可能です.
+        <command>lxc-ps</command> は  <command>ps</command> コマンドをうまく利用して作られており,同じオプションを利用可能です.
         例えば,
         <programlisting>lxc-ps --name foo --forest</programlisting>
         は 'foo' という名前のコンテナに属するプロセスを階層構造で表示します.
@@ -748,11 +728,9 @@ rootfs
       <para>
         <!--
        <command>lxc-info</command> gives information for a specific
-       container, at present time, only the state of the container is
-       displayed.
+       container.
         -->
-        <command>lxc-info</command> は,指定したコンテナに対する情報を与えます.
-        現時点では,コンテナの状態だけを表示します.
+        <command>lxc-info</command> は,指定したコンテナに関する情報を取得します.
       </para>
 
       <para>
index 6f8069ea40622febd76386bd36b4657e841160c5..8ffdcfe66e8fb721582daa84ff8e416305967ffe 100644 (file)
@@ -32,7 +32,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     <simpara>
       <citerefentry>
        <refentrytitle><command>lxc</command></refentrytitle>
-       <manvolnum>1</manvolnum>
+       <manvolnum>7</manvolnum>
       </citerefentry>,
 
       <citerefentry>
index 133e8fd716e43ceb31483060801dc4c573f71f84..8535c3df6d45c0c10c9971aeb1bd005640fb9a23 100644 (file)
@@ -257,9 +257,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     <title>Compatibility</title>
     <para>
       Attaching completely (including the pid and mount namespaces) to a
-      container requires a patched kernel, please see the lxc website for
+      container requires a kernel of version 3.8 or higher, or a
+      patched kernel, please see the lxc website for
       details. <command>lxc-attach</command> will fail in that case if
-      used with an unpatched kernel.
+      used with an unpatched kernel of version 3.7 and prior.
     </para>
     <para>
       Nevertheless, it will succeed on an unpatched kernel of version 3.0
@@ -269,9 +270,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       and <replaceable>UTSNAME</replaceable>.
     </para>
     <para>
-      Attaching to user namespaces is currently completely unsupported
-      by the kernel. <command>lxc-attach</command> should however be able
-      to do this once once future kernel versions implement this.
+      Attaching to user namespaces is supported by kernel 3.8 or higher
+      with enabling user namespace.
     </para>
   </refsect1>
 
index b9537466883129a459e3e08c0841a1b440d6b64b..824a1a55d1351a03540134f2a71f26a0a06b9444 100644 (file)
@@ -184,7 +184,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
           <para>
            As the message mention it, you try to create a container
            but there is a container with the same name. You can use
-           the <command>lxc-ls -l</command> command to list the
+           the <command>lxc-ls</command> command to list the
            available containers on the system.
           </para>
         </listitem>
index 7f346c64a49e05a3e4d76ad5527f8fea247056d8..6e3204f30fd2df67df2491a26c2447cd0bc2598e 100644 (file)
@@ -104,7 +104,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
           <para>
            The specified container for destruction was not found. It
            is probable it does not exists and was already
-           destroyed.You can use the <command>lxc-ls -l</command>
+           destroyed.You can use the <command>lxc-ls</command>
            command to list the available containers on the system.
           </para>
         </listitem>
index cf51984298a97fa7352d88d95a013ba86ab4b438..5822fb87bbd4ddcb98a293aa2a31509349ecaad6 100644 (file)
@@ -463,22 +463,12 @@ rootfs
       </para>
       <para>
        <command>lxc-ls</command> lists the containers of the
-       system. The command is a script built on top
-       of <command>ls</command>, so it accepts the options of the ls
-       commands, eg:
-       <programlisting>
-         lxc-ls -C1
-       </programlisting>
-       will display the containers list in one column or:
-       <programlisting>
-         lxc-ls -l
-       </programlisting>
-       will display the containers list and their permissions.
+       system.
       </para>
 
       <para>
        <command>lxc-ps</command> will display the pids for a specific
-       container. Like <command>lxc-ls</command>, <command>lxc-ps</command>
+       container. <command>lxc-ps</command>
        is built on top of <command>ps</command> and accepts the same
        options, eg:
        <programlisting>lxc-ps --name foo --forest</programlisting>
@@ -491,8 +481,7 @@ rootfs
 
       <para>
        <command>lxc-info</command> gives information for a specific
-       container, at present time, only the state of the container is
-       displayed.
+       container.
       </para>
 
       <para>
index 1e86a534a3e977a195d2872997a93f933bbd7889..c365590b40072d7ef03380fa101da246d58e30de 100644 (file)
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     <simpara>
       <citerefentry>
        <refentrytitle><command>lxc</command></refentrytitle>
-       <manvolnum>1</manvolnum>
+       <manvolnum>7</manvolnum>
       </citerefentry>,
 
       <citerefentry>