+-------------------------------------------------------------------
+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
#define FILTERSDIR "/etc/snapper/filters"
#define SNAPSHOTDIR "/snapshot"
-#define SNAPSHOTSDIR "/snapshots"
+#define SNAPSHOTSDIR "/.snapshots"
#define BTRFSBIN "/sbin/btrfs"
#include <snapper/Snapshot.h>
#include <snapper/Comparison.h>
#include <snapper/File.h>
+#include <snapper/SnapperDefines.h>
#include "snapper/AppUtil.h"
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();