diff options
author | Ivan Shapovalov <intelfx100@gmail.com> | 2014-08-27 00:17:45 +0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-26 22:19:56 +0200 |
commit | d2c68822c47e37b582820f45b496b2e7d1f9e642 (patch) | |
tree | 72471270bb16e7369a37f182866fd1e6aa66e07f /man/kernel-command-line.xml | |
parent | 42483a747489ff46aed3588b78bf4b9480dbeaf7 (diff) | |
download | systemd-d2c68822c47e37b582820f45b496b2e7d1f9e642.tar.gz |
hibernate-resume-generator: add a generator for instantiating the resume unit.
hibernate-resume-generator understands resume= kernel command line parameter
and instantiates the systemd-resume@.service accordingly if it is passed.
This enables resume from hibernation using device specified on the kernel
command line, and it may be specified either as "/dev/disk/by-foo/bar"
or "FOO=bar", not only "/dev/sdXY" which is understood by the in-kernel
implementation.
So now resume= is brought on par with root= in terms of possible ways to
specify a device.
Diffstat (limited to 'man/kernel-command-line.xml')
-rw-r--r-- | man/kernel-command-line.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index 36428aaa94..d872e6d5b9 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -351,6 +351,17 @@ </listitem> </varlistentry> + <varlistentry> + <term><varname>resume=</varname></term> + + <listitem> + <para>Enables resume from hibernation + using the specified device. + All <citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>-like + pathes are supported. For details, see + <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para> + </listitem> + </varlistentry> </variablelist> </refsect1> @@ -373,7 +384,8 @@ <citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd-modules-load.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd-backlight@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, - <citerefentry><refentrytitle>systemd-rfkill@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> + <citerefentry><refentrytitle>systemd-rfkill@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, + <citerefentry><refentrytitle>systemd-hibernate-resume-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> </para> </refsect1> |