From: Ed Sweetman <ed.sweetman@wmich.edu>
To: Pavel Machek <pavel@suse.cz>
Cc: alan@redhat.com, kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Make swsusp actually work
Date: 08 Apr 2002 11:18:07 -0400 [thread overview]
Message-ID: <1018279092.10463.155.camel@psuedomode> (raw)
In-Reply-To: <20020408150005.GC29960@atrey.karlin.mff.cuni.cz>
On Mon, 2002-04-08 at 11:00, Pavel Machek wrote:
> Hi!
>
> > the documentation suggests that you do not need to specify resume= . Is
> > this only true if you have the sysvinit patch in use? Is swapon -a
>
> Then docs is wrong.
> Pavel
Then you need to change this from your previous "all in one" patch.
from the swsusp.txt in "Using the code" 3rd paragraph
<
Either way it saves the state of the machine into active swaps and then
reboots. By the next booting the kernel's resuming function is either
triggered by swapon -a (which is ought to be in the very early stage of
booting) or you may explicitly specify the swap partition/file to resume
from with ``resume='' kernel option.
>
This seems to suggest that you have a choice. Which last time i checked,
you dont.
from the swsusp.txt in "How the code works" 2nd paragraph
Same thing as before basically. swapon -a does not trigger a resume
under warnings!
Ext3 fs seems to show no more of a risk than a non-journalling fs.
perhaps that problem is reiserfs only?
Also, mention of the swap files being described in fstab is made in
"Using the code" but no mention is made to how they must be loaded and
must be actual raw partitions. Files of course would not work as viable
swaps for resume because the fs would have to be mounted to load them.
and one more thing. What happens when you have multiple swap files all
of equal priority (normal swap conditions have a striping effect (like
raid)) Will swsusp choose one ? How do we know which one it chose? Is
it just the first one in /proc/swaps all the time? That kind of
behavior would be nice to document in swsusp.txt.
Thanks for the patches. it seems to work on my non X box (p4) just
fine. I'll have to risk disaster and try it out on a dri X session soon
since that's where the convenience would come into play.
next prev parent reply other threads:[~2002-04-08 15:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-07 23:37 Make swsusp actually work Pavel Machek
2002-04-08 7:47 ` Make swsusp actually work better brian
2002-04-08 10:12 ` Pavel Machek
2002-04-08 17:43 ` Eric W. Biederman
2002-04-08 8:25 ` Make swsusp actually work Ed Sweetman
2002-04-08 10:25 ` Pavel Machek
2002-04-08 14:21 ` Ed Sweetman
2002-04-08 15:00 ` Pavel Machek
2002-04-08 15:18 ` Ed Sweetman [this message]
2002-04-08 20:51 ` Pavel Machek
2002-04-08 20:53 ` Pavel Machek
2002-04-08 21:15 ` brian
2002-04-08 21:27 ` Ed Sweetman
2002-04-08 21:32 ` 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=1018279092.10463.155.camel@psuedomode \
--to=ed.sweetman@wmich.edu \
--cc=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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