From: Arvin Schnell Date: Mon, 6 Jun 2011 13:02:45 +0000 (+0200) Subject: - place snapshots in .snapshots directory X-Git-Tag: v0.1.3~371 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2373ecaadd47d84f17fee0bbb4b471e3e4e0c3dd;p=thirdparty%2Fsnapper.git - place snapshots in .snapshots directory --- diff --git a/LIBVERSION b/LIBVERSION index 3eefcb9d..7dea76ed 100644 --- a/LIBVERSION +++ b/LIBVERSION @@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/VERSION b/VERSION index bbdeab62..1750564f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.5 +0.0.6 diff --git a/package/snapper.changes b/package/snapper.changes index 23c57522..3ae03257 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -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 diff --git a/snapper/SnapperDefines.h b/snapper/SnapperDefines.h index 2ffe6dae..51a2ba0d 100644 --- a/snapper/SnapperDefines.h +++ b/snapper/SnapperDefines.h @@ -32,7 +32,7 @@ #define FILTERSDIR "/etc/snapper/filters" #define SNAPSHOTDIR "/snapshot" -#define SNAPSHOTSDIR "/snapshots" +#define SNAPSHOTSDIR "/.snapshots" #define BTRFSBIN "/sbin/btrfs" diff --git a/testsuite-real/common.cc b/testsuite-real/common.cc index 4faec8b5..3052a0e8 100644 --- a/testsuite-real/common.cc +++ b/testsuite-real/common.cc @@ -11,6 +11,7 @@ #include #include #include +#include #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();