Re: [PATCH] Add support for TuxOnIce hibernation
Kay Sievers <[email protected]> Tue, 29 Apr 2014 13:39:03 +0200
| Newsgroups | gmane.comp.sysutils.systemd.devel,gmane.linux.swsusp.devel |
|---|---|
| Message-ID | <CAPXgP13D1LpQKibL=_MfsKim9siVuFxsY29ynwf72xehM+saXw@mail.gmail.com> |
On Tue, Apr 29, 2014 at 1:16 PM, Julien Muchembled <[email protected]> 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