Suspend to RAM...
Posted Jul 31, 2008 11:39 UTC (Thu) by
sladen (subscriber, #27402)
In reply to:
Suspend to RAM... by rsidd
Parent article:
OLS: Shuttleworth on free software development
In $distro_in_question, PMI already checks for a new default kernel.
$ grep kernel /usr/sbin/pmi
[ -f /var/run/do-not-hibernate ] && echo "Default kernel has been upgraded" >&2 && exit 1
The improvement would be to twiddle the boot-loader and force loading of the older kernel; or have the
initramfs code try to
kexec the correct (older) kernel for the hibernated image—should the matching kernel is still around.
(
Log in to post comments)