Re: [patch] suspend: update documentation

From: randy_dunlap
Date: Tue Jul 12 2005 - 12:28:25 EST


On Tue, 12 Jul 2005 11:05:10 +0200 Pavel Machek wrote:

| Update suspend documentation.
|
| Signed-off-by: Pavel Machek <pavel@xxxxxxx>
|
| ---
|
| diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt
| --- a/Documentation/power/swsusp.txt
| +++ b/Documentation/power/swsusp.txt
| @@ -318,3 +318,10 @@ As a rule of thumb use encrypted swap to
| system is shut down or suspended. Additionally use the encrypted
| suspend image to prevent sensitive data from being stolen after
| resume.
| +
| +Q: Why we cannot suspend to a swap file?

Q: Why can't we suspend to a swap file?
or
Q: Why can we not suspend to a swap file?

| +
| +A: Because accessing swap file needs the filesystem mounted, and
| +filesystem might do something wrong (like replaying the journal)
| +during mount. [Probably could be solved by modifying every filesystem
| +to support some kind of "really read-only!" option. Patches welcome.]
| diff --git a/Documentation/power/video.txt b/Documentation/power/video.txt
| --- a/Documentation/power/video.txt
| +++ b/Documentation/power/video.txt
| @@ -46,6 +46,12 @@ There are a few types of systems where v
| POSTing bios works. Ole Rohne has patch to do just that at
| http://dev.gentoo.org/~marineam/patch-radeonfb-2.6.11-rc2-mm2.
|
| +(8) on some systems, you can use the video_post utility mentioned here:
| + http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state

That attachment is weird for me. It downloads as "attachment.cgi", but
it's a tar.gz file. :( (using firefox if it matters)

| + && /usr/sbin/video_post - which will initialize the display in console mode.
| + If you are in X, you can switch to a virtual terminal and back to X using
| + CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again.


---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/