man: explain a bit more detailed what happens on suspend

This commit is contained in:
Lennart Poettering 2012-10-31 00:19:34 +01:00
parent f8a2ebbc50
commit 630d4e1408
2 changed files with 20 additions and 3 deletions

View File

@ -1173,17 +1173,29 @@
<varlistentry>
<term><command>suspend</command></term>
<listitem><para>Suspend the system.</para></listitem>
<listitem><para>Suspend the
system. This will trigger activation
of the special
<filename>suspend.target</filename>
target.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>hibernate</command></term>
<listitem><para>Hibernate the system.</para></listitem>
<listitem><para>Hibernate the
system. This will trigger activation
of the special
<filename>hibernate.target</filename>
target.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>hybrid-sleep</command></term>
<listitem><para>Hibernate and suspend the system.</para></listitem>
<listitem><para>Hibernate and suspend
the system. This will trigger
activation of the special
<filename>hybrid-sleep.target</filename>
target.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>switch-root [ROOT] [INIT]</command></term>

View File

@ -106,6 +106,11 @@
system sleep states with a command such as
"<literal>systemctl suspend</literal>" or
similar.</para>
<para>Internally, this service will echo a string like
<literal>mem</literal> into
<filename>/sys/power/state</filename>, to trigger the
actual system suspend.</para>
</refsect1>
<refsect1>