Re: SOFTWARE_SUSPEND as a module

From: Pavel Machek
Date: Mon Apr 26 2004 - 09:09:21 EST


Hi!

> > >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).

Okay. Best way is probably to introduce reboot() variant that
says "resume from this".
Pavel

--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/