lkml.org 
[lkml]   [2002]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [swsusp fixes] Re: Linux 2.4.19pre5-ac3
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.099 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site