Re: [PATCH -mm 0/6] swsusp: Add support for swap files

Pavel Machek
2006-09-22T05:23:31Z

On Fri 2006-09-22 11:01:53, Nigel Cunningham wrote:
> Hi.
>
> On Wed, 2006-09-20 at 21:20 +0200, Rafael J. Wysocki wrote:
> > Hi,
> >
> > The following series of patches makes swsusp support swap files.
> >
> > For now, it is only possible to suspend to a swap file using the in-kernel
> > swsusp and the resume cannot be initiated from an initrd.
>
> I'm trying to understand 'resume cannot be initiated from an initrd'.
> Does that mean if you want to use this functionality, you have to have
> everything needed compiled in to the kernel, and it's not compatible
> with LVM and so on?

Not in this version of patch; for resume from initrd, ioctl()
interface needs to be added (*).
Pavel
(*) Actually.. of course resume from file from initrd is possible
*now*, probably without this patch series, but that would be bmap and
doing it by hand from userland.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html