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. --- Makefile | 2 +- etc/live-persistence.binds | 15 --------------- etc/live-snapshot.exclude_list | 17 ----------------- etc/live-snapshot.list | 20 -------------------- examples/live-persistence.binds | 15 +++++++++++++++ examples/live-snapshot.exclude_list | 17 +++++++++++++++++ examples/live-snapshot.list | 20 ++++++++++++++++++++ 7 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 etc/live-persistence.binds delete mode 100644 etc/live-snapshot.exclude_list delete mode 100644 etc/live-snapshot.list create mode 100644 examples/live-persistence.binds create mode 100644 examples/live-snapshot.exclude_list create mode 100644 examples/live-snapshot.list diff --git a/Makefile b/Makefile index 4aac9bc..1126e94 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ install: cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot mkdir -p $(DESTDIR)/usr/share/doc/live-boot/examples - cp -r etc/* $(DESTDIR)/usr/share/doc/live-boot/examples + cp -r examples/* $(DESTDIR)/usr/share/doc/live-boot/examples # (FIXME) # Installing manpages diff --git a/etc/live-persistence.binds b/etc/live-persistence.binds deleted file mode 100644 index b2c3833..0000000 --- a/etc/live-persistence.binds +++ /dev/null @@ -1,15 +0,0 @@ -# /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/etc/live-snapshot.exclude_list b/etc/live-snapshot.exclude_list deleted file mode 100644 index 82972e3..0000000 --- a/etc/live-snapshot.exclude_list +++ /dev/null @@ -1,17 +0,0 @@ -# /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/etc/live-snapshot.list b/etc/live-snapshot.list deleted file mode 100644 index db05733..0000000 --- a/etc/live-snapshot.list +++ /dev/null @@ -1,20 +0,0 @@ -# /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 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