summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-05 19:51:09 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-05 19:51:09 +0200
commita3b8a31d11dcbf195d0b8285161c1907437b6c6f (patch)
treedb19d7e5c8de258299273f12ccbbeb18d6140eda /examples
parent524e4fb039ccd35a7101e66b661d7b94373487c1 (diff)
downloadlive-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.binds15
-rw-r--r--examples/live-snapshot.exclude_list17
-rw-r--r--examples/live-snapshot.list20
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