Re: Suspend to disk: do we HAVE to use swap?

From: Luca Tettamanti
Date: Tue Oct 31 2006 - 12:42:58 EST


Alistair John Strachan <s0348365@xxxxxxxxxxxx> ha scritto:
> On Tuesday 31 October 2006 06:16, Rafael J. Wysocki wrote:
> [snip]
>> However, we already have code that allows us to use swap files for the
>> suspend and turning a regular file into a swap file is as easy as running
>> 'mkswap' and 'swapon' on it.
>
> How is this feature enabled? I don't see it in 2.6.19-rc4.

Swap files have been supported for ages. suspend-to-swapfile is very
new, you need a -mm kernel and userspace suspend from CVS:
http://suspend.sf.net

Luca
--
"Sei l'unica donna della mia vita".
(Adamo)
-
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/