diff options
| -rw-r--r-- | Documentation/power/swsusp.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Documentation/power/swsusp.txt b/Documentation/power/swsusp.txt index f732a8321e8a..8cc17ca71813 100644 --- a/Documentation/power/swsusp.txt +++ b/Documentation/power/swsusp.txt | |||
| @@ -410,8 +410,17 @@ Documentation/usb/persist.txt. | |||
| 410 | 410 | ||
| 411 | Q: Can I suspend-to-disk using a swap partition under LVM? | 411 | Q: Can I suspend-to-disk using a swap partition under LVM? |
| 412 | 412 | ||
| 413 | A: No. You can suspend successfully, but you'll not be able to | 413 | A: Yes and No. You can suspend successfully, but the kernel will not be able |
| 414 | resume. uswsusp should be able to work with LVM. See suspend.sf.net. | 414 | to resume on its own. You need an initramfs that can recognize the resume |
| 415 | situation, activate the logical volume containing the swap volume (but not | ||
| 416 | touch any filesystems!), and eventually call | ||
| 417 | |||
| 418 | echo -n "$major:$minor" > /sys/power/resume | ||
| 419 | |||
| 420 | where $major and $minor are the respective major and minor device numbers of | ||
| 421 | the swap volume. | ||
| 422 | |||
| 423 | uswsusp works with LVM, too. See http://suspend.sourceforge.net/ | ||
| 415 | 424 | ||
| 416 | Q: I upgraded the kernel from 2.6.15 to 2.6.16. Both kernels were | 425 | Q: I upgraded the kernel from 2.6.15 to 2.6.16. Both kernels were |
| 417 | compiled with the similar configuration files. Anyway I found that | 426 | compiled with the similar configuration files. Anyway I found that |
