From: Pavel Machek <pavel@suse.cz>
To: m.knoblauch@TeraPort.de
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [swsusp fixes] Re: Linux 2.4.19pre5-ac3
Date: Tue, 9 Apr 2002 22:54:24 +0200 [thread overview]
Message-ID: <20020409205424.GD4322@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <3CB1B89D.13DDF456@TeraPort.de> <20020408215908.GI31172@atrey.karlin.mff.cuni.cz> <3CB29AE3.E3447952@TeraPort.de> <20020409105440.GB14695@atrey.karlin.mff.cuni.cz> <3CB2D8E6.F0513802@TeraPort.de>
Hi!
> > > 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 :-).
You do not need swapon during boot. swsusp no longer works like that
(it used to, but not now). swapon just before suspend is okay.
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
next prev parent reply other threads:[~2002-04-09 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 15:34 Martin Knoblauch
2002-04-08 21:59 ` Pavel Machek
2002-04-09 7:40 ` Martin Knoblauch
2002-04-09 10:54 ` Pavel Machek
2002-04-09 12:04 ` Martin Knoblauch
2002-04-09 20:54 ` Pavel Machek [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-04-06 1:04 CaT
2002-04-06 1:09 ` Alan Cox
2002-04-06 1:12 ` CaT
2002-04-07 11:50 ` [swsusp fixes] " Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020409205424.GD4322@atrey.karlin.mff.cuni.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=m.knoblauch@TeraPort.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®