From: Lennart Poettering Date: Fri, 2 Jul 2010 01:51:29 +0000 (+0200) Subject: man: document snapshot units X-Git-Tag: v1~67 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c20dd9583eb50e03dfb684ef15e018becc887b;p=systemd man: document snapshot units --- diff --git a/Makefile.am b/Makefile.am index c5568e21..6334b561 100644 --- a/Makefile.am +++ b/Makefile.am @@ -325,6 +325,7 @@ MANPAGES = \ man/systemd.path.5 \ man/systemd.target.5 \ man/systemd.device.5 \ + man/systemd.snapshot.5 \ man/daemon.7 \ man/sd-daemon.7 \ man/runlevel.8 \ diff --git a/man/systemd.snapshot.xml b/man/systemd.snapshot.xml new file mode 100644 index 00000000..5e73cc6f --- /dev/null +++ b/man/systemd.snapshot.xml @@ -0,0 +1,87 @@ + + + + + + + + + systemd.snapshot + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd.snapshot + 5 + + + + systemd.snapshot + systemd snapshot units + + + + systemd.snapshot + + + + Description + + Snapshot units are not configured via unit + configuration files. Nonetheless they are named + similar to filenames. A unit name whose name ends in + .snapshot refers to a dynamic + snapshot of the systemd runtime state. + + Snapshots are not configured on disk but created + dynamically via systemctl snapshot + (see + systemctl8 + for details) or an equivalent command. When created + they will automatically get dependencies on the + currently activated units. They hence act as saved + runtime state of the systemd manager. Later on the + user may choose to return to the saved state via + systemctl isolate. They are hence + useful to roll back to a defined state after + temporarily starting/stopping services or + similar. + + + + See Also + + systemd8, + systemctl8, + systemd.unit5 + + + + diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index da077e20..df876139 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -151,10 +151,13 @@ with the device node /dev/sda in the file system namespace. If this applies a special way to escape the path name is used, so that it is - usable as part of a file name. Basically, given a path, - "/" is replaced by "-", and all unprintable characters - and the "-" are replaced by C-style "\x20" - escapes. This escaping is reversible. + usable as part of a file name. Basically, given a + path, "/" is replaced by "-", and all unprintable + characters and the "-" are replaced by C-style "\x20" + escapes. The root directory "/" is encoded as single + dash, while otherwise the initial and ending "/" is + removed from all paths during transformation. This + escaping is reversible. Optionally, units may be instantiated from a template file at runtime. This allows creation of