Re: [swsusp fixes] Re: Linux 2.4.19pre5-ac3

Martin Knoblauch (Martin.Knoblauch@TeraPort.de)
Tue, 09 Apr 2002 14:04:54 +0200


Pavel Machek wrote:
>
> >
> > My question was: can I have a system without active swap and still use
> > swsusp? Creating a swap/suspend partition of appropriate size is not a
> > problem. I just do not want to "swapon" it.
>
> You need to swapon it. If you do not want to keep it swapped on,
> there's no problem in
>
> swapon /dev/swap
> echo 4 > /proc/acpi/sleep
> sleep 10
> swapoff /dev/swap
>

thanks. That is what I wanted to know. That basically means that I will
have to boot with a active swap device in order to get the resume
functionality - correct? And then I would do a "swapoff" late in the
boot process (maybe before starting the graphical crap :-).

Martin

-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@TeraPort.de
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/