Re: SOFTWARE_SUSPEND as a module

Pavel Machek
2004-04-26T14:05:27Z

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