From a3b8a31d11dcbf195d0b8285161c1907437b6c6f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 5 Jun 2012 19:51:09 +0200 Subject: Renaming etc directory to their actual name, examples, within source tree. --- examples/live-persistence.binds | 15 +++++++++++++++ examples/live-snapshot.exclude_list | 17 +++++++++++++++++ examples/live-snapshot.list | 20 ++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 examples/live-persistence.binds create mode 100644 examples/live-snapshot.exclude_list create mode 100644 examples/live-snapshot.list (limited to 'examples') 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 -- cgit v1.2.3