diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:51:09 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:51:09 +0200 |
| commit | a3b8a31d11dcbf195d0b8285161c1907437b6c6f (patch) | |
| tree | db19d7e5c8de258299273f12ccbbeb18d6140eda /examples | |
| parent | 524e4fb039ccd35a7101e66b661d7b94373487c1 (diff) | |
| download | live-boot-a3b8a31d11dcbf195d0b8285161c1907437b6c6f.tar.gz live-boot-a3b8a31d11dcbf195d0b8285161c1907437b6c6f.zip | |
Renaming etc directory to their actual name, examples, within source tree.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/live-persistence.binds | 15 | ||||
| -rw-r--r-- | examples/live-snapshot.exclude_list | 17 | ||||
| -rw-r--r-- | examples/live-snapshot.list | 20 |
3 files changed, 52 insertions, 0 deletions
diff --git a/examples/live-persistence.binds b/examples/live-persistence.binds new file mode 100644 index 0000000..b2c3833 --- /dev/null +++ b/examples/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 diff --git a/examples/live-snapshot.exclude_list b/examples/live-snapshot.exclude_list new file mode 100644 index 0000000..82972e3 --- /dev/null +++ b/examples/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 diff --git a/examples/live-snapshot.list b/examples/live-snapshot.list new file mode 100644 index 0000000..db05733 --- /dev/null +++ b/examples/live-snapshot.list @@ -0,0 +1,20 @@ +# /etc/live-snapshot resync list example +# +# If this file is present, each uncommented not empty line will be parsed when +# running live-snapshot and included in target snapshot. +# +# The syntax for the line is just a full file or directory pathname. +# Those files and directories, and only those will be included on automatic persistence handling. +# +# Note that in home-sn snapshot all those paths are treated as relative to /home + +# Include itself for reuse +/etc/live-snapshot.list + +# Include networking setups +/etc/network/interfaces +/etc/resolv.conf +/etc/hosts + +# Include the whole Desktop directory of the default user +/home/user/Desktop |
