mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
man/systemd-hibernate-resume: generator now enables rather than creates the service
Follow-up for a628d933cc
This commit is contained in:
@@ -28,14 +28,11 @@
|
|||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Description</title>
|
<title>Description</title>
|
||||||
|
|
||||||
<para><command>systemd-hibernate-resume-generator</command> is a
|
<para><command>systemd-hibernate-resume-generator</command> is a generator that initiates the procedure
|
||||||
generator that initiates the procedure to resume the system from hibernation.
|
to resume the system from hibernation. When <option>resume=</option> kernel command line option or
|
||||||
It creates the
|
<varname>HibernateLocation</varname> EFI variable is detected, it enables the
|
||||||
<citerefentry><refentrytitle>systemd-hibernate-resume.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
<citerefentry><refentrytitle>systemd-hibernate-resume.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||||
unit according to the value of <option>resume=</option> parameter
|
unit, which will instruct the kernel to resume the system from the hibernation image.</para>
|
||||||
specified on the kernel command line, or the value of EFI variable
|
|
||||||
<varname>HibernateLocation</varname>, which will instruct the kernel
|
|
||||||
to resume the system from the hibernation image on that device.</para>
|
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<para><command>systemd-hibernate-resume</command> only supports the in-kernel hibernation
|
<para><command>systemd-hibernate-resume</command> only supports the in-kernel hibernation
|
||||||
implementation, see <ulink url="https://docs.kernel.org/power/swsusp.html">Swap suspend</ulink>.
|
implementation, see <ulink url="https://docs.kernel.org/power/swsusp.html">Swap suspend</ulink>.
|
||||||
Internally, it works by writing the major:minor of specified device node to
|
Internally, it works by writing the major:minor of selected device node to
|
||||||
<filename>/sys/power/resume</filename>, along with the offset in memory pages
|
<filename>/sys/power/resume</filename>, along with the offset in memory pages
|
||||||
(<filename>/sys/power/resume_offset</filename>) if supported.</para>
|
(<filename>/sys/power/resume_offset</filename>) if supported.</para>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user