* [PATCH] swsusp kconfig: Change in wording (fwd)
@ 2004-11-26 11:30 Pavel Machek
2004-11-28 16:54 ` Stefan Seyfried
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2004-11-26 11:30 UTC (permalink / raw)
To: Rusty trivial patch monkey Russell, kernel list, Andrew Morton
Hi!
Vadim says:
I was reading through the kernel/power/Kconfig file, and noticed that
the wording was slightly unclear. I poked at it a bit, hopefully making
the description a tad more straightforward, but you be the judge. :)
Diffed against 2.6.10-rc2.
Please apply,
Pavel
From: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net>
Signed-off-by: Pavel Machek <pavel@suse.cz>
===========================================================================
diff -Nru a/kernel/power/Kconfig b/kernel/power/Kconfig
--- a/kernel/power/Kconfig 2004-11-14 21:56:22.000000000 -0800
+++ b/kernel/power/Kconfig 2004-11-25 20:41:57.000000000 -0800
@@ -35,14 +35,13 @@
You may suspend your machine by 'swsusp' or 'shutdown -z <time>'
(patch for sysvinit needed).
- It creates an image which is saved in your active swaps. By the next
- booting the, pass 'resume=/dev/swappartition' and kernel will
- detect the saved image, restore the memory from
- it and then it continues to run as before you've suspended.
- If you don't want the previous state to continue use the 'noresume'
- kernel option. However note that your partitions will be fsck'd and
- you must re-mkswap your swap partitions. It does not work with swap
- files.
+ It creates an image which is saved in your active swap. Upon next
+ boot, pass the 'resume=/dev/swappartition' argument to the kernel to
+ have it detect the saved image, restore memory state from it, and
+ continue to run as before. If you do not want the previous state to
+ be reloaded, then use the 'noresume' kernel argument. However, note
+ that your partitions will be fsck'd and you must re-mkswap your swap
+ partitions. It does not work with swap files.
Right now you may boot without resuming and then later resume but
in meantime you cannot use those swap partitions/files which were
===========================================================================
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] swsusp kconfig: Change in wording (fwd)
2004-11-26 11:30 [PATCH] swsusp kconfig: Change in wording (fwd) Pavel Machek
@ 2004-11-28 16:54 ` Stefan Seyfried
2004-11-28 17:17 ` Pavel Machek
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Seyfried @ 2004-11-28 16:54 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list
Pavel Machek wrote:
> Right now you may boot without resuming and then later resume but
> in meantime you cannot use those swap partitions/files which were
Is this still true? Don't we kill the image early, even with "noresume"?
It is of course possible by omitting the "resume=" parameter, but not
for the faint of heart ;-)
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] swsusp kconfig: Change in wording (fwd)
2004-11-28 16:54 ` Stefan Seyfried
@ 2004-11-28 17:17 ` Pavel Machek
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2004-11-28 17:17 UTC (permalink / raw)
To: Stefan Seyfried; +Cc: kernel list
Hi!
> > Right now you may boot without resuming and then later resume but
> > in meantime you cannot use those swap partitions/files which were
>
> Is this still true? Don't we kill the image early, even with "noresume"?
> It is of course possible by omitting the "resume=" parameter, but not
> for the faint of heart ;-)
You are right, user would have to remove resume= parameter, and we do
not want users to do this kind of tricks, so this probably has no
place in configure.help.... Feel free to send followup patch when the
dust settles.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-28 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-26 11:30 [PATCH] swsusp kconfig: Change in wording (fwd) Pavel Machek
2004-11-28 16:54 ` Stefan Seyfried
2004-11-28 17:17 ` Pavel Machek
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®