Re: SOFTWARE_SUSPEND as a module

From: Martin Hermanowski
Date: Fri Apr 23 2004 - 09:32:22 EST

On Fri, Apr 23, 2004 at 11:28:51PM +1000, Nigel Cunningham wrote:
> Hi.
> On Fri, 23 Apr 2004 19:38:36 +1000, Herbert Xu
> <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> >As a side-effect it also allows you to resume from devices that couldn't
> >be done before due to the need for user-space setup. Examples are LVM
> >and NBD.
> LVM can be compiled in, can't it? Does it need to do some setup from an
> initrd?

It needs to be recognised by the lvm userspace utilities before it can
be used.

One other thing this might be very useful for is `swsusp from encrypted
swap'. With dm-crypt, it should be very easy to create a crypto mapping
from initrd from which swsusp can resume. IMHO this is a killer feature
for notebook users (everything encrypted but the boot partition).

LLAP, Martin

Attachment: signature.asc
Description: Digital signature