Re: SOFTWARE_SUSPEND as a module

Martin Hermanowski
2004-04-23T14:30:30Z

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

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@gondor.apana.org.au> 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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]