Applied patch from Michael Prokop <mika@grml.org> to migrate live-snapshot.en.1 and...
[live-boot-grml.git] / manpages / live-snapshot.en.1.txt
1 live-snapshot(1)
2 ================
3
4 Name
5 ----
6 live-snapshot - a simple script to ease persistence usage
7
8 Synopsis
9 --------
10 live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**]
11
12 live-snapshot [-r|--resync-string **STRING**]
13
14 live-snapshot [-h|--help]
15
16 live-snapshot [-u|--usage]
17
18 live-snapshot [-v|--version]
19
20 Description
21 -----------
22
23 live-snapshot is a script which can be used to build the right types of
24 persistent image files supported by live-initramfs(7). It is also used on
25 exit by the live-initramfs init script to resync the boot-found snapshots
26 devices.
27
28 Options
29 -------
30
31   -c, --cow **DIRECTORY**::
32
33 specifies the input directory to be cloned in the image file. Its default value
34 "/live/cow" should be right for most uses. However it could be handy to specify
35 "/home" and type ext2 for the type to prepare an image file suited to be
36 directly mounted by live-initramfs as home.
37
38   -d, --device **DEVICE**::
39
40 sets the device where the media which the snapshot/persistence file/partition
41 will be put. If it is not specified, a tmpfs will be used and linked to the
42 user's desktop to move it where it is needed. If the device has no filesystem,
43 an ext2 fs will be automatically created and labelled according to the values
44 specified after the "--output" value or with a sane default.
45
46   -e, --exclude-list **FILE**::
47
48 a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse.
49
50   -o, --output **FILE**::
51
52 the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition.
53
54   -r, --resync-string **STRING**::
55
56 internally used on resyncs.
57
58   -t, --type **TYPE**::
59
60 Type could be one of "cpio", "squashfs" or "ext2".
61
62   -h, --help::
63
64 display help and exit
65
66   -u, --usage::
67
68 show usage and exit
69
70   -v, --version::
71
72 output version information and exit
73
74 See also
75 --------
76
77 live-initramfs(8)
78
79 This program is a part of live-initramfs.
80
81 Bugs
82 ----
83
84 Report bugs against live-initramfs
85 link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs].
86
87 Homepage
88 --------
89
90 More information about the Debian Live project can be found at
91 link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and
92 link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/].
93
94 Authors
95 -------
96
97 live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the
98 Debian project. live-initramfs is a fork of
99 link:http://packages.ubuntu.com/casper/[casper]. casper was originally written
100 by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>.