[systemd-devel] systemd hibernator generator does not function on default Fedora install
Michael Biebl
mbiebl at gmail.com
Wed Apr 20 22:56:48 UTC 2016
2016-04-20 11:14 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
>
> Here's the heuristics code logind uses to check whether hibernation
> shall be considered available or not:
>
> https://github.com/systemd/systemd/blob/master/src/shared/sleep-config.c#L229
>
> i.e. it checks that the RAM size is smaller than 0.98 times the
> currently unused swap space.
Since we already have safety checks in place, would it make sense to
include checking /proc/cmdline for resume= being set (at least for
MBR)?
I know, that the grub configuration might change after the boot, but
this would be a rare case.
Regards,
Michael
More information about the systemd-devel
mailing list