[systemd-devel] systemd hibernation process

Lennart Poettering lennart at poettering.net
Tue Oct 16 10:03:01 PDT 2012


On Tue, 16.10.12 18:13, Federico Di Pierro (nierro92 at gmail.com) wrote:

> Hi!
> I was trying to understand how does systemd hibernation process work.
> What i mean is: with pm-utils i had to put "tuxonice" in a
> /etc/pm/config.d/ file, within the SLEEP_MODULE array, to make pm work with
> it.
> Systemd instead seems to do this without any input from the user...that's
> great, but how? It obviously doesn't read the SLEEP_MODULE array (i have no
> more pm-utils installed). So, where's the magic thing? And, how to change
> hibernate backend?

systemd talks directly to the kernel, by echoing into sysfs. We do not
support any but the in-kernel suspend framework, as we generally do not
support kernel subsystems that are maintained out-of-kernel.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list