]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- place snapshots in .snapshots directory
authorArvin Schnell <aschnell@suse.de>
Mon, 6 Jun 2011 13:02:45 +0000 (15:02 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 6 Jun 2011 13:02:45 +0000 (15:02 +0200)
LIBVERSION
VERSION
package/snapper.changes
snapper/SnapperDefines.h
testsuite-real/common.cc

index 3eefcb9dd5b38e2c1dc061052455dd97bcd51e6c..7dea76edb3dc51b6e5e8223e9f941a35c1e364d6 100644 (file)
@@ -1 +1 @@
-1.0.0
+1.0.1
diff --git a/VERSION b/VERSION
index bbdeab6222cb8ad8ab423239cbeff9e6163d0d38..1750564f270b91dbcbd20a6e91b49ca281b350c3 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.5
+0.0.6
index 23c57522e2b06e0fe997ffa62fd09b0a02f009ac..3ae03257d4c383a5d471df6116298993ca923c31 100644 (file)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Mon Jun 06 15:01:13 CEST 2011 - aschnell@suse.de
+
+- place snapshots in .snapshots directory
+- version 0.0.6
+
 -------------------------------------------------------------------
 Wed Apr 06 16:44:43 CEST 2011 - aschnell@suse.de
 
index 2ffe6dae39cd239ec1fe3dfe68e6e3b65f6c001f..51a2ba0dc38dfb095aada7d8dca4a28a21109816 100644 (file)
@@ -32,7 +32,7 @@
 #define FILTERSDIR "/etc/snapper/filters"
 
 #define SNAPSHOTDIR "/snapshot"
-#define SNAPSHOTSDIR "/snapshots"
+#define SNAPSHOTSDIR "/.snapshots"
 
 #define BTRFSBIN "/sbin/btrfs"
 
index 4faec8b508ac8688ba934d4d394d10268974b2b1..3052a0e82478e7d280c937ca8bfa8166cff863b4 100644 (file)
@@ -11,6 +11,7 @@
 #include <snapper/Snapshot.h>
 #include <snapper/Comparison.h>
 #include <snapper/File.h>
+#include <snapper/SnapperDefines.h>
 
 #include "snapper/AppUtil.h"
 
@@ -59,7 +60,7 @@ RollbackCallbackImpl rollback_callback_impl;
 void
 setup()
 {
-    system("/usr/bin/find " SUBVOLUME " -mindepth 1 -maxdepth 1 -not -path " SUBVOLUME "/snapshots "
+    system("/usr/bin/find " SUBVOLUME " -mindepth 1 -maxdepth 1 -not -path " SUBVOLUME SNAPSHOTSDIR " "
           "-exec rm -r {} \\;");
 
     initDefaultLogger();