Skip to contentSkip to conversation

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

DISCUSSION Bodo Eggert 3 participants 3 messages Feb 8, 2006 5 messages not in the archive

lore
Share & tools
lore
#5 lore raw
In reply to a message not in the archive

There are some questions I have while looking at this HOWTO, which I think should be answered there:

Quoted 2 lines · Pavel Machek

Suspend-to-disk HOWTO
~~~~~~~~~~~~~~~~~~~~

[...]

Quoted 1 line

./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?

Can it even be a swap-file? 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?

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
#6 lore raw

Hi,

Quoted 5 lines · Bodo Eggert

There are some questions I have while looking at this HOWTO, which I think should be answered there:

Pavel Machek <[email protected]> wrote:

Quoted 7 lines
Quoted 2 lines

Suspend-to-disk HOWTO
~~~~~~~~~~~~~~~~~~~~

[...]

Quoted 1 line

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

Quoted 1 line

Can it even be a swap-file?

No.

Quoted 4 lines

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

#7 lore raw

Hi,

Quoted 8 lines · Rafael J. Wysocki
Quoted 7 lines · Bodo Eggert

There are some questions I have while looking at this HOWTO, which I think should be answered there:

Quoted 2 lines · Pavel Machek

Suspend-to-disk HOWTO
~~~~~~~~~~~~~~~~~~~~

Quoted 7 lines
Quoted 5 lines

[...]

Quoted 1 line

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

Sorry, that's not true. For now the tools only work with mounted swap partitions, but they use the kernel to allocate free swap pages from them.

Greetings,
Rafael