From b922759db982d12afc1f48c8f4bc165e92561e84 Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Fri, 4 Mar 2016 12:01:15 +0900 Subject: [PATCH] doc: improve lxc-unshare(1) Explain that the pipe symbol needs to be escaped for -s. Signed-off-by: Sungbae Yoo --- doc/ja/lxc-unshare.sgml.in | 6 +++++- doc/ko/lxc-unshare.sgml.in | 5 ++++- doc/lxc-unshare.sgml.in | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/doc/ja/lxc-unshare.sgml.in b/doc/ja/lxc-unshare.sgml.in index 815dd6cda..ce21a1757 100644 --- a/doc/ja/lxc-unshare.sgml.in +++ b/doc/ja/lxc-unshare.sgml.in @@ -106,13 +106,17 @@ by KATOH Yasufumi NETWORK. 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. + MOUNT\|PID or quoted, e.g. + "MOUNT|PID".) --> アタッチする名前空間を、パイプでつなげたリストで指定します。 例えば NETWORK|IPC のようにです。 指定できる値は MOUNT、PID、UTSNAME、IPC、USER 、NETWORK です。 これにより、プロセスのコンテキストを変更することができます。 例えば、コンテナのネットワーク名前空間だけを変更し、他の名前空間をホストのものと同じものに保ったままにするというようなことです。 + (パイプ記号を MOUNT\|PID のようにエスケー +プするか、"MOUNT|PID" のように引用符号を付ける必要が>あります。) diff --git a/doc/ko/lxc-unshare.sgml.in b/doc/ko/lxc-unshare.sgml.in index 1306f1133..6e4d07eb4 100644 --- a/doc/ko/lxc-unshare.sgml.in +++ b/doc/ko/lxc-unshare.sgml.in @@ -106,10 +106,13 @@ by Sungbae Yoo NETWORK. 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. + MOUNT\|PID or quoted, e.g. + "MOUNT|PID".) --> 붙일 네임스페이스를 지정한다. NETWORK|IPC와 같이 파이프(|)로 구분된 리스트를 사용할 수 있다. 허용되는 값은 MOUNT, PID, UTSNAME, IPC, USER , NETWORK이다. 이를 사용하여, 컨테이너의 네트워크 네임스페이스를 사용하면서도 다른 네임스페이스는 호스트의 것을 그대로 사용하는 등의 조작이 가능하다. + (파이프 기호는 MOUNT\|PID처럼 \로 처리를 해주거나, "MOUNT|PID"처럼 따옴표를 붙여야 한다.) diff --git a/doc/lxc-unshare.sgml.in b/doc/lxc-unshare.sgml.in index 678ae9e8e..16fb1dc72 100644 --- a/doc/lxc-unshare.sgml.in +++ b/doc/lxc-unshare.sgml.in @@ -93,7 +93,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA NETWORK. 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. + MOUNT\|PID or quoted, e.g. + "MOUNT|PID".) -- 2.47.2