summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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 'scripts')
-rwxr-xr-xscripts/live4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 8761138..5be6fe2 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1155,7 +1155,9 @@ setup_unionfs ()
# homecow just mount something on /home, this should be generalized some way
homecow=$(find_cow_device "${home_persistence}" "${blacklistdev}")
root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}")
- # This second type should be removed when snapshot grow smarter
+ # This second type should be removed when snapshot will get smarter,
+ # hence when "/etc/live-snapshot*list" will be supported also by
+ # ext2|ext3|jffs2 snapshot types.
home_snapdata=$(find_snap "${home_snapshot_label}" "${blacklistdev}")
if [ -b "${cowprobe}" ]