diff options
| author | Marco Amadori <marco.amadori@gmail.com> | 2008-09-28 00:51:04 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:02 +0100 |
| commit | a298ae49a77f528b0d57e013343473bb5162cd61 (patch) | |
| tree | 06013b5b33865f4ad73c63c7e3aabcc75af0c65f /conf | |
| parent | 6fd3b2db8ca683513709560744aebd4cff3d378d (diff) | |
| download | live-boot-a298ae49a77f528b0d57e013343473bb5162cd61.tar.gz live-boot-a298ae49a77f528b0d57e013343473bb5162cd61.zip | |
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".
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/live-persistence.binds | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
