[Pm-utils] [RFC] check for swap partition in pm-is-supported for hibernate / suspend-hybrid

Till Maas opensource at till.name
Fri Feb 8 13:40:51 PST 2008

On Fri February 8 2008, Victor Lowther wrote:

> I would not add it as an intergal part of pm-utils.  tuxonice,
> for example, can be configured to hibernate/resume without touching a
> swap partition or a swap file.

Iirc did you create some patches that separte the checks for the different 
sleep methods for the different backends.

> Well, I would not have pm-is-supported check for the presence of an
> available swap partition -- a usage scenario that would break involves
> someone who normally runs without swap, and mounts the swap partition just
> for hibernate

How does this break? As soon as someone activates a swap partition, the output 
of pm-is-supported would change. And in case it is not activated, hibernation 
would fail anyways. Unless he uses a different sleep-backend than the kernel 
of course.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080208/b155f1b9/attachment-0001.pgp 

More information about the Pm-utils mailing list