logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

systemd-hibernate-resume.service, systemd-hibernate-clear.service, systemd-hibernate-resume - Resume from

Description

       systemd-hibernate-resume.service initiates the resume from hibernation.

       systemd-hibernate-resume only supports the in-kernel hibernation implementation, see Swapsuspend[1].
       Internally, it works by writing the major:minor of selected device node to /sys/power/resume, along with
       the offset in memory pages (/sys/power/resume_offset) if supported.

       The resume device node is either passed directly through arguments, or automatically acquired from kernel
       command line options and/or HibernateLocation EFI variable. The latter will normally be cleared by
       systemd-hibernate-resume.service on resumption. If a stale variable is detected, it would be cleared by
       systemd-hibernate-clear.service.

       Failing to initiate a resume is not an error condition. It may mean that there was no resume image (e. g.
       if the system has been simply powered off and not hibernated). In such cases, the boot is ordinarily
       continued.

Name

       systemd-hibernate-resume.service, systemd-hibernate-clear.service, systemd-hibernate-resume - Resume from
       hibernation

Notes

        1. Swap suspend
           https://docs.kernel.org/power/swsusp.html

systemd 257.7                                                                SYSTEMD-HIBERNATE-RESUME.SERVICE(8)

See Also

systemd(1), systemd-hibernate-resume-generator(8)

Synopsis

       systemd-hibernate-resume.service

       systemd-hibernate-clear.service

       /usr/lib/systemd/systemd-hibernate-resume

See Also