From 6fd3b2db8ca683513709560744aebd4cff3d378d Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Sun, 28 Sep 2008 00:07:22 +0200 Subject: 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. --- scripts/live | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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}" ] -- cgit v1.2.3