aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-19 17:04:06 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-21 01:04:39 +0200
commit7d1d5e16da6f1b37b3e0c16adf44b8e305e1e5db (patch)
tree51c04850d364ebc07bacb8e9106ae00838a135ef
parentbd7b795aeb9d35ac7b825ad4d0cf0088f18e1167 (diff)
downloadguix-7d1d5e16da6f1b37b3e0c16adf44b8e305e1e5db.tar.gz
guix-7d1d5e16da6f1b37b3e0c
2020-10-12tests: Add missing copyright line....Ludovic Courtès
2020-10-12channels: Address test failure....Ludovic Courtès-rw-r--r--doc/guix.texi9 rgument
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
2020-07-25Use 'formatted-message' instead of '&message' where appropriate....Ludovic Courtès
2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....Ludovic Courtès