Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
live-snapshot: now supports a static keep file list.
* Included support for specifing a list of files/dirs to be explicitly kept between reboots, enabled only for the "cpio" snapshot type. Look at "/usr/share/doc/live-initramfs/examples/live-snapshot.list" for hints. Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
- Loading branch information
1 parent
824751b
commit 03dc8cc
Showing
6 changed files
with
92 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# /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. | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters