summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMarco Amadori <marco.amadori@gmail.com>2008-09-28 00:07:22 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commit6fd3b2db8ca683513709560744aebd4cff3d378d (patch)
treee0875b29670eedf11114c0a38624c1a1d1c50a65 /conf
parent990480f58dde1722f8ab87514b4443c1ea418b85 (diff)
downloadlive-boot-6fd3b2db8ca683513709560744aebd4cff3d378d.tar.gz
live-boot-6fd3b2db8ca683513709560744aebd4cff3d378d.zip
Implemented a snapshot exclude list.
* This finally enables one of the most requested feature to exclude things like disk caches and temporary files from the snapshots, just by editing "/etc/live-snapshot.exclude_list". This only works for cpio targets and for squashfs creations.
Diffstat (limited to 'conf')
-rw-r--r--conf/live-snapshot.exclude_list17
1 files changed, 17 insertions, 0 deletions
diff --git a/conf/live-snapshot.exclude_list b/conf/live-snapshot.exclude_list
new file mode 100644
index 0000000..82972e3
--- /dev/null
+++ b/conf/live-snapshot.exclude_list
@@ -0,0 +1,17 @@
+# /etc/live-snapshot.exclude_list example
+#
+# If this file is present in the proper path, each uncommented not empty line
+# will be excluded in the target snapshot when live-snapshot is run.
+#
+# The syntax for the line is just a full file or directory pathname.
+
+# Each line is treated like a plain match string for "grep -F -v",
+# so be careful: e.g. "/tmp" will exclude also "/var/tmp" !
+
+# Exclude some standard temporary paths
+/tmp
+/var/log
+/var/cache
+
+# Firefox profiles are not always useful to remember
+/root/.mozilla