summaryrefslogtreecommitdiffstats
path: root/man/systemd-hibernate-resume-generator.xml
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-04-18 19:21:55 +0200
committerMike Yuan <me@yhndnzj.com>2023-06-23 17:57:49 +0200
commit760e99bb52dd132aeab14802c9ed2889471e9cdf (patch)
tree8353599a122b04e26c32f12dc1e2cea9f7577066 /man/systemd-hibernate-resume-generator.xml
parentbootctl: log correct error about device_path_make_canonical() (diff)
downloadsystemd-760e99bb52dd132aeab14802c9ed2889471e9cdf.tar.xz
systemd-760e99bb52dd132aeab14802c9ed2889471e9cdf.zip
hibernate-resume: rework to follow the logic of sleep.c and use
main-func.h Preparation for #27247
Diffstat (limited to 'man/systemd-hibernate-resume-generator.xml')
-rw-r--r--man/systemd-hibernate-resume-generator.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/man/systemd-hibernate-resume-generator.xml b/man/systemd-hibernate-resume-generator.xml
index 910fcaeb25..7d0039dcf2 100644
--- a/man/systemd-hibernate-resume-generator.xml
+++ b/man/systemd-hibernate-resume-generator.xml
@@ -29,8 +29,8 @@
<para><command>systemd-hibernate-resume-generator</command> is a
generator that initiates the procedure to resume the system from hibernation.
- It instantiates the
- <citerefentry><refentrytitle>systemd-hibernate-resume@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ It creates the
+ <citerefentry><refentrytitle>systemd-hibernate-resume.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
unit according to the value of <option>resume=</option> parameter
specified on the kernel command line, which will instruct the kernel
to resume the system from the hibernation image on that device.</para>
@@ -56,6 +56,13 @@
</varlistentry>
<varlistentry>
+ <term><varname>resume_offset=</varname></term>
+
+ <listitem><para>Takes the page offset of the swap space from the resume device.
+ Defaults to <literal>0</literal>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>resumeflags=</varname></term>
<listitem><para>Takes the resume device mount options to
@@ -75,7 +82,7 @@
<title>See Also</title>
<para>
<citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
- <citerefentry><refentrytitle>systemd-hibernate-resume@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>systemd-hibernate-resume.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>kernel-command-line</refentrytitle><manvolnum>7</manvolnum></citerefentry>
</para>
</refsect1>