@Michael When a machine is hibernated, that swap partition can't be
touched, or we lose everything. That can easily happen when the swap
partition is used by another Linux. And http://www.faqs.org/docs/Linux-
mini/Swap-Space.html describes a method to share the same swap with
Windows and Linux, suggesting even booting Windows might not be
reliable.

My suggestion is to treat hibernate as a suspend. Attempting to do
anything other than resume the currently running kernel is a bad idea,
and should be strongly cautioned against as a potential cause of data
loss, especially where the machine hibernated automatically as a result
of power loss.

BTW, upstream pm-utils says this is the distribution's responsibility to
handle.

I'll reopen the pm-utils task. Disabling hibernate still results in data
loss when the system is set up to hibernate in response to a failure in
power or battery. Strictly speaking, the fix presented here solves the
immediate problem, but it'll have to be undone to solve the other
problem. If you really want, I'll open a separate task for it though.

-- 
hibernation should be disallowed from the desktop when the installed kernel 
does not match the running kernel
https://bugs.launchpad.net/bugs/350491
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to