]> Pileus Git - ~andy/linux/blobdiff - Documentation/power/swsusp.txt
[PATCH] suspend: update documentation
[~andy/linux] / Documentation / power / swsusp.txt
index 7a6b7896645942d69815ee3b37594618367a9069..ddf907fbcc0570ba3acf83ae87a8d702e637871b 100644 (file)
@@ -311,3 +311,10 @@ As a rule of thumb use encrypted swap to protect your data while your
 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?
+
+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.]