From a298ae49a77f528b0d57e013343473bb5162cd61 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Sun, 28 Sep 2008 00:51:04 +0200 Subject: Implemented a persistence exclude list. * This finally enables one of the most requested feature to exclude things like disk caches and temporary files from the persistence images in order to speed things up and saves precious writes of flash based storages. This works at boot by bind mounting tmpfs clones of paths listed on "/etc/live-persistence.binds". --- conf/live-persistence.binds | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 conf/live-persistence.binds (limited to 'conf') diff --git a/conf/live-persistence.binds b/conf/live-persistence.binds new file mode 100644 index 0000000..b2c3833 --- /dev/null +++ b/conf/live-persistence.binds @@ -0,0 +1,15 @@ +# /etc/live-persistence.binds example +# +# If this file is present in the proper path, each uncommented not empty line +# will be treated as a directory which should not be made persistent and +# which it's content should be volatile. +# +# This is achieved by bind mounting on it a tmpfs clone of the directory specified + +# Exclude some standard temporary paths +/tmp +/var/log +/var/cache + +# Firefox profiles are not always useful to remember +/root/.mozilla -- cgit v1.2.3