]> git.proxmox.com Git - mirror_lxc.git/commitdiff
doc: Update Korean lxc-copy(1) to include tmpfs option
authorSungbae Yoo <sungbae.yoo@samsung.com>
Wed, 20 Jul 2016 08:58:26 +0000 (17:58 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Wed, 20 Jul 2016 09:00:26 +0000 (18:00 +0900)
Update for commit a361e56

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

index 40b3dbab13d6142622d94399f42492fd77875ce4..712550d9b148b61892b7cc3cd793fe38c13aa036 100644 (file)
@@ -61,7 +61,8 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
       <arg choice="opt">-p, --newpath <replaceable>newpath</replaceable></arg>
       <arg choice="opt">-B, --backingstorage <replaceable>backingstorage</replaceable></arg>
       <arg choice="opt">-s, --snapshot</arg>
-      <arg choice="opt">-K, --keepdata</arg>
+      <arg choice="opt">-K, --keepname</arg>
+      <arg choice="opt">-D, --keepdata</arg>
       <arg choice="opt">-M, --keepmac</arg>
       <arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg>
       <arg choice="opt">-- hook arguments</arg>
@@ -75,11 +76,26 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
       <arg choice="req">-e, --ephemeral</arg>
       <arg choice="opt">-B, --backingstorage <replaceable>backingstorage</replaceable></arg>
       <arg choice="opt">-s, --snapshot</arg>
-      <arg choice="opt">-K, --keepdata</arg>
+      <arg choice="opt">-K, --keepname</arg>
+      <arg choice="opt">-D, --keepdata</arg>
       <arg choice="opt">-M, --keepmac</arg>
       <arg choice="opt">-L, --fssize <replaceable>size [unit]</replaceable></arg>
       <arg choice="opt">-- hook arguments</arg>
     </cmdsynopsis>
+    <cmdsynopsis>
+      <command>lxc-copy</command>
+      <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
+      <arg choice="opt">-P, --lxcpath <replaceable>path</replaceable></arg>
+      <arg choice="opt">-N, --newname <replaceable>newname</replaceable></arg>
+      <arg choice="opt">-p, --newpath <replaceable>newpath</replaceable></arg>
+      <arg choice="req">-e, --ephemeral</arg>
+      <arg choice="opt">-B, --backingstorage <replaceable>backingstorage</replaceable></arg>
+      <arg choice="opt">-s, --snapshot</arg>
+      <arg choice="opt">-t, --tmpfs</arg>
+      <arg choice="opt">-K, --keepname</arg>
+      <arg choice="opt">-M, --keepmac</arg>
+      <arg choice="opt">-- hook arguments</arg>
+    </cmdsynopsis>
     <cmdsynopsis>
       <command>lxc-copy</command>
       <arg choice="req">-n, --name <replaceable>name</replaceable></arg>
@@ -133,8 +149,13 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
     <replaceable>-e</replaceable> is used in combination with
     <replaceable>-D</replaceable> a non-ephemeral snapshot of the original
     container is created and started.
+    Ephemeral containers can also be placed on a tmpfs with <replaceable>-t</replaceable>
+    flag. NOTE: If an ephemeral container that is placed on a tmpfs is rebooted
+    all changes made to it will currently be lost!
     -->
     <replaceable>-e</replaceable>가 지정되면, 원본 컨테이너의 임시 스냅샷이 생성되고 시작된다. 임시 컨테이너는 자신의 설정파일 안에 <command>lxc.ephemeral = 1</command>를 가지게 되며, 종료시에 제거된다. <replaceable>-e</replaceable>와 함께 <replaceable>-D</replaceable>를 같이 지정하면 원본 컨테이너의 영구적인 스냅샷이 생성되고 실행된다.
+    <replaceable>-t</replaceable>를 지정하면, 임시 컨테이너는 tmpfs 상에 놓이게 된다.
+    주의: tmpfs 상에 놓인 임시 컨테이너는 재부팅시 모든 변경 사항이 사라진다.
     </para>
 
     <para>
@@ -271,6 +292,22 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
           </listitem>
          </varlistentry>
 
+         <varlistentry>
+           <term> <option>-t, --tmpfs </option></term>
+          <listitem>
+            <para><!-- When this option is specified the ephemeral container will be
++            placed on a tmpfs. NOTE: Rebooting an ephemeral container that is
+            located on a tmpfs will currently cause all changes made to it to be
+            lost. This flag will only work for ephemeral containers created with
+            the <replaceable>-e</replaceable> flag. The original container, from
+            which the ephemeral snapshot is created, must be stored as a simple
+            directory. -->
+              이 옵션이 지정되면 임시 컨테이너는 tmpfs 상에 놓이게 된다.
+              주의: tmpfs 상에 놓인 임시 컨테이너는 재부팅시 모든 변경 사항이 사라진다.
+              이 옵션은 <replaceable>-e</replaceable>를 지정하여 임시 컨테이너를 생성할 때만 사용이 가능하다. 임시 스냅샷을 생성한 원본 컨테이너는 반드시 일반적인 디렉토리에 위치하고 있어야 한다.
+            </para> </listitem>
+         </varlistentry>
+
          <varlistentry>
            <term> <option>-B, --backingstorage <replaceable>backingstorage</replaceable></option></term>
           <listitem>
@@ -295,27 +332,27 @@ by Sungbae Yoo <sungbae.yoo at samsung.com>
          </varlistentry>
 
          <varlistentry>
-           <term> <option>-D, --keepdata </option></term>
+           <term> <option>-K, --keepname </option></term>
           <listitem>
             <para>
             <!--
-            When this option is specified with
-            <replaceable>-e</replaceable> a non-ephemeral container is created
-            and started.-->
-            ì\9d´ ì\98µì\85\98ì\9d\84 <replaceable>-e</replaceable>ì\99\80 ì§\80ì \95í\95\98ë©´ ì\98\81구ì \81ì\9d¸ ì»¨í\85\8cì\9d´ë\84\88ê°\80 ì\83\9dì\84±ë\90\98ê³  ì\8b\9cì\9e\91된다.
+            When this option is specified the hostname of the original
+            container will be kept for the copy.
+            -->
+            ì\9d´ ì\98µì\85\98ì\9d´ ì§\80ì \95ë\90\98ë©´ ì\9b\90본 ì»¨í\85\8cì\9d´ë\84\88ì\9d\98 í\98¸ì\8a¤í\8a¸ì\9d´ë¦\84ì\9d´ ë³µì\82¬ë³¸ì\97\90ì\84\9cë\8f\84 ê·¸ë\8c\80ë¡\9c ì\9c ì§\80된다.
             </para>
            </listitem>
          </varlistentry>
 
          <varlistentry>
-           <term> <option>-K, --keepname </option></term>
+           <term> <option>-D, --keepdata </option></term>
           <listitem>
             <para>
             <!--
-            When this option is specified the hostname of the original
-            container will be kept for the copy.
-            -->
-            ì\9d´ ì\98µì\85\98ì\9d´ ì§\80ì \95ë\90\98ë©´ ì\9b\90본 ì»¨í\85\8cì\9d´ë\84\88ì\9d\98 í\98¸ì\8a¤í\8a¸ì\9d´ë¦\84ì\9d´ ë³µì\82¬ë³¸ì\97\90ì\84\9cë\8f\84 ê·¸ë\8c\80ë¡\9c ì\9c ì§\80된다.
+            When this option is specified with
+            <replaceable>-e</replaceable> a non-ephemeral container is created
+            and started.-->
+            ì\9d´ ì\98µì\85\98ì\9d\84 <replaceable>-e</replaceable>ì\99\80 ì§\80ì \95í\95\98ë©´ ì\98\81구ì \81ì\9d¸ ì»¨í\85\8cì\9d´ë\84\88ê°\80 ì\83\9dì\84±ë\90\98ê³  ì\8b\9cì\9e\91된다.
             </para>
            </listitem>
          </varlistentry>