[lxc-devel] [PATCH 1/2] doc: Update lxc-snapshot(1) for moving snapshot directory

KATOH Yasufumi karma at jazz.email.ne.jp
Tue Feb 10 07:26:58 UTC 2015


>>> On Tue, 10 Feb 2015 16:19:08 +0900
    in message   "[lxc-devel] [PATCH 1/2] doc: Update lxc-snapshot(1) for moving	snapshot directory"
                  I wrote:

> At the commit 18aa217, the snapshot dir was moved to /var/lib/c/snaps.

Oops, "/var/lib/c/snaps" is mistake. This is "/var/lib/lxc/c/snaps".
I re-send the correct patch.

From ea92b78c1a8294fa67c11a8e87f8121c740bf515 Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: Mon, 9 Feb 2015 19:17:23 +0900
Subject: [PATCH 1/2] doc: Update lxc-snapshot(1) for moving snapshot directory

At the commit 18aa217, the snapshot dir was moved to /var/lib/lxc/c/snaps.

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 doc/ja/lxc-snapshot.sgml.in | 10 ++++++----
 doc/lxc-snapshot.sgml.in    |  3 ++-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/doc/ja/lxc-snapshot.sgml.in b/doc/ja/lxc-snapshot.sgml.in
index f0f6289..7ae04a6 100644
--- a/doc/ja/lxc-snapshot.sgml.in
+++ b/doc/ja/lxc-snapshot.sgml.in
@@ -88,10 +88,12 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
     </para>
     <para>
       <!--
-    Snapshots are stored as snapshotted containers under a private configuration path.  For instance, if the container's configuration path is <filename>/var/lib/lxc</filename> and the container is <filename>c1</filename>, then the first snapshot will be stored as container <filename>snap0</filename> under configuration path <filename>/var/lib/lxcsnaps/c1</filename>.
-    -->
-      スナップショットは、専用の設定されたパス以下にスナップショット化されたコンテナとして保存されます。
-      例えば、もしコンテナパスが <filename>/var/lib/lxc</filename> で、コンテナが <filename>c1</filename> である場合、最初に取得するスナップショットは、パス <filename>/var/lib/lxcsnaps/c1</filename> の下の <filename>snap0</filename> として保存されます。
+      Snapshots are stored as snapshotted containers under the container's configuration path. For instance, if the container's configuration path is <filename>/var/lib/lxc</filename> and the container is <filename>c1</filename>, then the first snapshot will be stored as container <filename>snap0</filename> under the path <filename>/var/lib/lxc/c1/snaps</filename>.
+      If <filename>/var/lib/lxcsnaps</filename> that is used by LXC 1.0 already exists, then it will continue to be used.
+        -->
+      スナップショットはコンテナパス以下にスナップショット化されたコンテナとして保存されます。
+      例えば、もしコンテナパスが <filename>/var/lib/lxc</filename> で、コンテナが <filename>c1</filename> である場合、最初に取得するスナップショットは、パス <filename>/var/lib/lxc/c1/snaps</filename> の下の <filename>snap0</filename> として保存されます。
+      LXC 1.0 で使われていた <filename>/var/lib/lxcsnaps</filename> が存在する場合には、このディレクトリが引き続き使われます。
     </para>
   </refsect1>
 
diff --git a/doc/lxc-snapshot.sgml.in b/doc/lxc-snapshot.sgml.in
index 029534e..5f5a368 100644
--- a/doc/lxc-snapshot.sgml.in
+++ b/doc/lxc-snapshot.sgml.in
@@ -79,7 +79,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       container snapshots.
     </para>
     <para>
-    Snapshots are stored as snapshotted containers under a private configuration path.  For instance, if the container's configuration path is <filename>/var/lib/lxc</filename> and the container is <filename>c1</filename>, then the first snapshot will be stored as container <filename>snap0</filename> under configuration path <filename>/var/lib/lxcsnaps/c1</filename>.
+      Snapshots are stored as snapshotted containers under the container's configuration path. For instance, if the container's configuration path is <filename>/var/lib/lxc</filename> and the container is <filename>c1</filename>, then the first snapshot will be stored as container <filename>snap0</filename> under the path <filename>/var/lib/lxc/c1/snaps</filename>.
+      If <filename>/var/lib/lxcsnaps</filename> that is used by LXC 1.0 already exists, then it will continue to be used.
     </para>
   </refsect1>
 
-- 
2.2.1



More information about the lxc-devel mailing list