Re: Which is simpler? (Was Re: [Suspend2-devel] Re: [ 00/10] [Suspend2] Modules support.)

From: Rafael J. Wysocki
Date: Wed Feb 08 2006 - 09:20:37 EST


Hi,

On Wednesday 08 February 2006 14:23, Bodo Eggert wrote:
> There are some questions I have while looking at this HOWTO,
> which I think should be answered there:
>
> Pavel Machek <pavel@xxxxxx> wrote:
>
> > Suspend-to-disk HOWTO
> > ~~~~~~~~~~~~~~~~~~~~
> [...]
> > ./suspend /dev/<your_swap_partition>
>
> Does it need to be mounted (so it possibly gets filled and thereby unusable),
> or can it be a mkswapped partition?

A mkswapped one will do. Actually a mounted one will do either and the data
on it won't get damaged.

> Can it even be a swap-file?

No.

> Probably not, unless you want to resume by ro-nojournalreplay-mounting the
> corresponding partition.
>
> How big does it have to be, compared to the RAM? As big + n? Bigger? BIGGER?

May be smaller. You'll need at most 1/2 of your RAM size of free space on it.

I'll put the answers in the howto, thanks for the hint.

Greetings,
Rafael
-
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/