[systemd-devel] [PATCH] Add support for TuxOnIce hibernation

Kay Sievers kay at vrfy.org
Tue Apr 29 04:39:03 PDT 2014


On Tue, Apr 29, 2014 at 1:16 PM, Julien Muchembled <jm at jmuchemb.eu> wrote:
> Homepage: http://tuxonice.net/
> ---
>  src/shared/sleep-config.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
> index cf1cd40..d1f7fb1 100644
> --- a/src/shared/sleep-config.c
> +++ b/src/shared/sleep-config.c
> @@ -224,6 +224,12 @@ static bool enough_memory_for_hibernation(void) {
>          size_t size = 0, used = 0;
>          int r;
>
> +        /* TuxOnIce is an alternate implementation for hibernation.
> +         * It can be configured to compress the image to a file or an inactive
> +         * swap partition, so there's nothing more we can do here. */
> +        if (access("/sys/power/tuxonice", F_OK) == 0)

Is this available in the upstream kernel, or planned to to be merged?

Systemd does not support any unmerged kernel features, unless there a
very strong strategic reason to do that.

Kay


More information about the systemd-devel mailing list