]> git.proxmox.com Git - mirror_lxc.git/commitdiff
doc: improve lxc-unshare(1)
authorSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 4 Mar 2016 03:01:15 +0000 (12:01 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 4 Mar 2016 03:01:15 +0000 (12:01 +0900)
Explain that the pipe symbol needs to be escaped for -s.

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
doc/ja/lxc-unshare.sgml.in
doc/ko/lxc-unshare.sgml.in
doc/lxc-unshare.sgml.in

index 815dd6cda9e1fd6f23c375fc7f19ea38bae109b3..ce21a175703a0cab7b880c71b26acd2eb0c06af3 100644 (file)
@@ -106,13 +106,17 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
            <replaceable>NETWORK</replaceable>. This allows one to change
            the context of the process to e.g. the network namespace of the
            container while retaining the other namespaces as those of the
-           host.
+            host. (The pipe symbol needs to be escaped, e.g.
+            <replaceable>MOUNT\|PID</replaceable> or quoted, e.g.
+            <replaceable>"MOUNT|PID"</replaceable>.)
             -->
             アタッチする名前空間を、パイプでつなげたリストで指定します。
             例えば <replaceable>NETWORK|IPC</replaceable> のようにです。
             指定できる値は <replaceable>MOUNT</replaceable>、<replaceable>PID</replaceable>、<replaceable>UTSNAME</replaceable>、<replaceable>IPC</replaceable>、<replaceable>USER </replaceable>、<replaceable>NETWORK</replaceable> です。
             これにより、プロセスのコンテキストを変更することができます。
             例えば、コンテナのネットワーク名前空間だけを変更し、他の名前空間をホストのものと同じものに保ったままにするというようなことです。
+            (パイプ記号を <replaceable>MOUNT\|PID</replaceable> のようにエスケー
+プするか、<replaceable>"MOUNT|PID"</replaceable> のように引用符号を付ける必要が>あります。)
          </para>
        </listitem>
       </varlistentry>
index 1306f113396a2d7c30fd8b311e8228820ea62e55..6e4d07eb4b3152f32dba286e5a3ec02262a4d3a7 100644 (file)
@@ -106,10 +106,13 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
            <replaceable>NETWORK</replaceable>. This allows one to change
            the context of the process to e.g. the network namespace of the
            container while retaining the other namespaces as those of the
-           host.
+            host. (The pipe symbol needs to be escaped, e.g.
+            <replaceable>MOUNT\|PID</replaceable> or quoted, e.g.
+            <replaceable>"MOUNT|PID"</replaceable>.)
             -->
             붙일 네임스페이스를 지정한다.
             <replaceable>NETWORK|IPC</replaceable>와 같이 파이프(|)로 구분된 리스트를 사용할 수 있다. 허용되는 값은 <replaceable>MOUNT</replaceable>, <replaceable>PID</replaceable>, <replaceable>UTSNAME</replaceable>, <replaceable>IPC</replaceable>, <replaceable>USER </replaceable>, <replaceable>NETWORK</replaceable>이다. 이를 사용하여, 컨테이너의 네트워크 네임스페이스를 사용하면서도 다른 네임스페이스는 호스트의 것을 그대로 사용하는 등의 조작이 가능하다.
+            (파이프 기호는 <replaceable>MOUNT\|PID</replaceable>처럼 \로 처리를 해주거나, <replaceable>"MOUNT|PID"</replaceable>처럼 따옴표를 붙여야 한다.)
          </para>
        </listitem>
       </varlistentry>
index 678ae9e8e29e7326808311a02afe3c63f3b435ad..16fb1dc728f9442c3077050d610941056246826e 100644 (file)
@@ -93,7 +93,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
            <replaceable>NETWORK</replaceable>. This allows one to change
            the context of the process to e.g. the network namespace of the
            container while retaining the other namespaces as those of the
-           host.
+           host. (The pipe symbol needs to be escaped, e.g.
+            <replaceable>MOUNT\|PID</replaceable> or quoted, e.g.
+            <replaceable>"MOUNT|PID"</replaceable>.)
          </para>
        </listitem>
       </varlistentry>