[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: doc: Clarify instructions for hibernation on a swap file.
From: |
guix-commits |
Subject: |
01/09: doc: Clarify instructions for hibernation on a swap file. |
Date: |
Sat, 20 May 2023 19:17:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7d1d5e16da6f1b37b3e0c16adf44b8e305e1e5db
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri May 19 17:04:06 2023 +0200
doc: Clarify instructions for hibernation on a swap file.
Fixes <https://issues.guix.gnu.org/62711>.
* doc/guix.texi (Swap Space): Change 'resume' argument to a device in
example; add comments. Update sentence describing 'resume' and
'resume_offset'.
---
doc/guix.texi | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index b40870f42b..f4cca66d76 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17580,14 +17580,15 @@ hibernation via the @code{resume} kernel argument
file-systems)))))
(kernel-arguments
- (cons* "resume=/swapfile"
- "resume_offset=92514304"
+ (cons* "resume=/dev/sda3" ;device that holds /swapfile
+ "resume_offset=92514304" ;offset of /swapfile on device
%default-kernel-arguments))
@end lisp
This other snippet of @code{operating-system} enables the swap file
-@file{/swapfile} for hibernation by telling the kernel about the file
-(@code{resume} argument) and its offset on disk (@code{resume_offset}
+@file{/swapfile} for hibernation by telling the kernel about the
+partition containing it
+(@code{resume} argument) and its offset on that partition (@code{resume_offset}
argument). The latter value can be found in the output of the command
@command{filefrag -e} as the first number right under the
@code{physical_offset} column header (the second command extracts its
- branch master updated (bd7b795aeb -> 7ddc239fc3), guix-commits, 2023/05/20
- 04/09: services: root-file-system: Remove reference to 'stop-logging'., guix-commits, 2023/05/20
- 01/09: doc: Clarify instructions for hibernation on a swap file.,
guix-commits <=
- 02/09: system: pam: Change 'stop' method to return #f., guix-commits, 2023/05/20
- 07/09: gnu: guile-dsv: Update to 0.6.0., guix-commits, 2023/05/20
- 05/09: services: Transient inetd services inherit requirements., guix-commits, 2023/05/20
- 06/09: gnu: guile-netlink: Update to 1.1.2., guix-commits, 2023/05/20
- 08/09: gnu: cagebreak: Update to 2.1.2., guix-commits, 2023/05/20
- 09/09: gnu: Add labwc., guix-commits, 2023/05/20
- 03/09: services: agetty: 'stop' method does nothing when running is 'idle., guix-commits, 2023/05/20