Re: [TRIVIAL] sanitize power management config menus

Randy.Dunlap
2003-07-27T03:33:57Z

On Sun, 27 Jul 2003 04:56:47 +0200 Tomas Szepe <szepe@pinerecords.com> wrote:

| > 3. The help text for Software Suspend (not part of this patch)
| > really needs some help. Would you address that or shall I?
|
| Sure, it would be nice if you could fish out an entry from somewhere.

OK, how's this look?

--
~Randy

patch_name: sws_help.patch
patch_version: 2003-07-26.20:32:10
author: Randy.Dunlap <rddunlap@osdl.org>
description: make software_suspend help readable
product: Linux
product_versions: 2.6.0-test1
diffstat: =
arch/i386/Kconfig | 30 +++++++++++++++---------------
arch/x86_64/Kconfig | 20 ++++++++++----------
2 files changed, 25 insertions(+), 25 deletions(-

diff -Naur ./arch/i386/Kconfig~swshelp ./arch/i386/Kconfig
--- ./arch/i386/Kconfig~swshelp 2003-07-25 10:23:11.000000000 -0700
+++ ./arch/i386/Kconfig 2003-07-26 20:30:50.000000000 -0700
@@ -824,27 +824,27 @@
bool "Software Suspend (EXPERIMENTAL)"
depends on EXPERIMENTAL && PM && SWAP
---help---
- Enable the possibilty of suspendig machine. It doesn't need APM.
- You may suspend your machine by 'swsusp' or 'shutdown -z '
- (patch for sysvinit needed).
-
- It creates an image which is saved in your active swaps. By the next
- booting the, pass 'resume=/path/to/your/swap/file' 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/files.
+ Enable the possibility of suspending the machine. It doesn't need
+ APM. You may suspend your machine by 'swsusp' or 'shutdown -z '
+ (patch for sysvinit is needed).
+
+ This creates an image which is saved in your active swap space. On
+ the next boot, pass the 'resume=/path/to/your/swap/file' option and
+ the kernel will detect the saved image, restore the memory from it,
+ and then continue to run as before you suspended.
+ If you don't want the previous state to continue, use the 'noresume'
+ kernel option. However, note that your partitions will appear to be
+ damaged so you must re-mkswap your swap partitions/files to use them.

Right now you may boot without resuming and then later resume but
- in meantime you cannot use those swap partitions/files which were
+ in the meantime you cannot use those swap partitions/files which were
involved in suspending. Also in this case there is a risk that buffers
on disk won't match with saved ones.

- SMP is supported ``as-is''. There's a code for it but doesn't work.
- There have been problems reported relating SCSI.
+ SMP is supported ``as-is''. There's code for it but doesn't work.
+ There have been problems reported relating to SCSI.

- This option is about getting stable. However there is still some
+ This option is close to getting stable. However there is still some
absence of features.

For more information take a look at Documentation/swsusp.txt.
diff -Naur ./arch/x86_64/Kconfig~swshelp ./arch/x86_64/Kconfig
--- ./arch/x86_64/Kconfig~swshelp 2003-07-13 20:37:13.000000000 -0700
+++ ./arch/x86_64/Kconfig 2003-07-26 20:31:04.000000000 -0700
@@ -300,17 +300,17 @@
bool "Software Suspend (EXPERIMENTAL)"
depends on EXPERIMENTAL && PM && SWAP
---help---
- Enable the possibilty of suspending the machine. It doesn't need APM.
- You may suspend your machine by 'swsusp' or 'shutdown -z '
- (patch for sysvinit needed).
-
- It creates an image which is saved in your active swaps. On the next
- boot, pass the 'resume=/path/to/your/swap/file' option and the kernel
- will detect the saved image, restore the memory from
- it, and then continue to run as before you suspended.
+ Enable the possibility of suspending the machine. It doesn't need
+ APM. You may suspend your machine by 'swsusp' or 'shutdown -z '
+ (patch for sysvinit is needed).
+
+ This creates an image which is saved in your active swap space. On
+ the next boot, pass the 'resume=/path/to/your/swap/file' option and
+ the kernel will detect the saved image, restore the memory from it,
+ and then continue to run as before you 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/files.
+ kernel option. However, note that your partitions will appear to be
+ damaged so you must re-mkswap your swap partitions/files to use them.

Right now you may boot without resuming and then later resume but
in the meantime you cannot use those swap partitions/files which were