From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aOEkANThiGM70AAAbAwnHQ (envelope-from ) for ; Thu, 01 Dec 2022 18:18:12 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kCZJANThiGMlBwAA9RJhRA (envelope-from ) for ; Thu, 01 Dec 2022 18:18:12 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 7A8D02E67F for ; Thu, 1 Dec 2022 18:18:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0nCG-0006Js-ND; Thu, 01 Dec 2022 12:18:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0nCF-0006Ja-A9 for guix-patches@gnu.org; Thu, 01 Dec 2022 12:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0nCE-0004M1-Gx for guix-patches@gnu.org; Thu, 01 Dec 2022 12:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0nCD-0008Dd-Ti for guix-patches@gnu.org; Thu, 01 Dec 2022 12:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59746] [DOCUMENTATION] [PATCH] doc: Introduce using Swap Space for hibernation, with an example. Resent-From: Ivan Vilata i Balaguer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Dec 2022 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59746 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59746@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166991506631585 (code B ref -1); Thu, 01 Dec 2022 17:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2022 17:17:46 +0000 Received: from localhost ([127.0.0.1]:40902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0nBw-0008DN-RZ for submit@debbugs.gnu.org; Thu, 01 Dec 2022 12:17:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:35384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0nBg-0008DG-TW for submit@debbugs.gnu.org; Thu, 01 Dec 2022 12:17:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0nBg-0006EJ-8D for guix-patches@gnu.org; Thu, 01 Dec 2022 12:17:28 -0500 Received: from lev.selidor.net ([2600:3c03:e001:1100::1]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0nBb-0004Hr-GF for guix-patches@gnu.org; Thu, 01 Dec 2022 12:17:25 -0500 Received: from sax (unknown [91.207.57.115]) by lev.selidor.net (Postfix) with ESMTPSA id 1D3E4CDE2; Thu, 1 Dec 2022 17:17:19 +0000 (UTC) Date: Thu, 1 Dec 2022 18:17:08 +0100 From: Ivan Vilata i Balaguer Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sUPcR1AOdfiX497q" Content-Disposition: inline Autocrypt: addr=ivan@selidor.net; prefer-encrypt=mutual; keydata= mQINBE2V9nABEADNCic9+LrC7YRRrZn/zEZPvWiFrORMf7lkc2vtAUTo2RepFT3ekGLKF5nZYTJ 4yKGV6NbRCDUL9adbMGRhv9/TEAaoNRtyfhtDAj1RTk5tpEsIiP78/guYBH1BifXJKNIfybvT56 7VMalh4h6aiapW5/tbMkzMS4GeSR/AcEnhPnaE4WrYRHd25j+NrlrbakHH/kS0rfR1f2lA/eT9A hRYwQgHZarXcKC2i3PWswuXDNCLrSPVo56u7r6l+ONlKOieA6mG8gFkhOFOT/uDknIQoPx0dGKm BssliDl+r3gt+L+x9th2phzXNIzr40Dz+jr+3l8UJmmyzlNdPuhqdZElc7aWwQpdIMpwcU0rL1O cN8KBy3igKcEdDHkCbGAy8FlOUmWqkmnv0PPnuAfHrBKtuPWhJnBEykC5tGgtbcGZ+h0Ik+4qxu MDs8/EQOfoFc1HY4xRCImaohc0Zs9qX/pDnpmhhLHtI/eu4UUGnEaPwQPDvisfYXODI9Q+FdTuG LRiiFKVSYNy+3d58mzChm/yg5PnoUbmh+hKwiGSaS3kUL4xAEkYTLypSpL+/Z2YuySa3zl0cfjb jBlAFWGSdoPZkRHtmWDT0ZRHr04FUQQuBqeLk21O76UKwtZu725eZH7Mv+ICMX52lpa5nVSMR/2 4/UZSyhgYyf2j6cF7lm0bSQARAQABtClJdmFuIFZpbGF0YSBpIEJhbGFndWVyIDxpdmFuQHNlbG lkb3IubmV0PokCOgQTAQgAJAIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAUCTZX6/QIZAQAKC RA97MEF9d0jgng1EACrwniy2G4QV0RBy8ofvMqaBp80x0U2tL9J11l/Z0/xE/qu12ivVaK7Sl7x PJud41WNnhlbfvkAlLuS3fug30MHkW3iiOpaOKuC1G1NZ8lEr2AXbVx4cs13z+EHLQG9gII+CZN V+YwAmZrWH1z2a1v4aZvNvkHchf9cB9kq1bdtuRovsR2YIXM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9GcwOg7yfRJJ8Hb9gyVyZA C6DHe78wiQGPR4X822iGK3vt5xPNl5TlxaK6q/egwI9bNUpzz7iH8nThM452VP8v1VG/lsJYlxY 9j0lCvjnd+ZSL3c+cJJSnNs1le9UnIoklo8FWJjPfwPgq5G/4ZOrunupm3SkOTf0rphyq/h1QTc VUWUJ01BxTw5h5JIFPoudmyRsqu5rxNE7w+FUNkxVQRmvDY65lnx/ZP49lTq8bw7Q5adQGMmhzg wbFFnErLaEXEVLlb2wVFcljDGFg Received-SPF: pass client-ip=2600:3c03:e001:1100::1; envelope-from=ivan@selidor.net; helo=lev.selidor.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669915091; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:autocrypt:autocrypt; bh=T2BBtNKPi/sn0JfOFU60D5/VNKrNRDRm7+g4vo7DmA0=; b=tfFRC975b8XnHptxDSa39u3muON9M0iU6P8DYpnqBUxtZET8+jOzoNmNz3tnchjDUImuPu QDlgR3LVOR1NDVZJW1l/+0077NK0PXNnLWA9Q6DIdvEVoEinA9YqDeYkGNNZyS4RUawMfd EG+nsXAH2PBmP2YKPKx5kWJiJvICriNX5u3/l6guZ5F5wJ4vNiKDtQZ4n/XkBsLsR0HaLd Z2S076zyfXIlgRmpPc4DKwPrx0Dpw0gt/QNm4h5UUuBz/mjXuidkgy8SXKSwL+JXPfikOT ZQwGybfS/7tkwGJXuLo4dVyrSBKxRcLmQ9AqbfuHwpRstKAv0IJ/aCqjOOiZBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669915091; a=rsa-sha256; cv=none; b=Xbyhl8NqWVSJRUw8FhCGCgnd0kHymH3UfLOgTJFZQfx24wYIIUUNEIB8XiVhDSeFJO9ICs Mvcy2pNU/8rKJ97D84xhZ9qrl22S2Cs9+fmduozi6sIJPDbJ1IzXBv9vjsUejiBGTagB2j k8McCHBfLzeyTOjGOyWD0bdekbiSIOToEbgT0lbncDU/fCxlQOtFAKwAyKnF5plXOmEVkO C8T29PfJQbCjisyRIoeUyDjpip6plbrnMP2/FOx+eYr+Y/WT8dVLghnurU4OyXT1Dm3jfV 2XmUVpCxM80A6djGP7GXVTWtHR5HHTSFqdx9SUJUrUrGDWcYDOzkgihq/jt4lA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.76 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7A8D02E67F X-Spam-Score: -4.76 X-Migadu-Scanner: scn1.migadu.com X-TUID: S9zaVHm703vd --sUPcR1AOdfiX497q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * doc/guix.texi (Swap Space): Add a concise introduction to hibernation and specifying a swap space to the kernel to make resume work. Mention space requirements and the need of an offset for swap files (missing info on how = to obtain it, but at least hint on the needed kernel argument). Include a trivial example on how to set up swap space for hibernation. --- doc/guix.texi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 47b805dc7f..76441fd4db 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -109,6 +109,7 @@ Copyright @copyright{} 2022 Simon Streit@* Copyright @copyright{} 2022 (@* Copyright @copyright{} 2022 John Kehayias@* +Copyright @copyright{} 2022 Ivan Vilata-i-Balaguer@* =20 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -17072,6 +17073,14 @@ Swap Space allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time. =20 +Also, a swap space is required in order to hibernate (suspend to disk) a +system using the Linux kernel. The kernel needs to know about the swap +space to be used to resume from hibernation on boot (via a kernel +argument). When using a swap file, its offset in the device holding it +also needs to be given to the kernel, but that value has to be updated +if the file is recreated. Hibernation uses at most half the size of the +RAM in the configured swap space. + Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped @@ -17157,6 +17166,23 @@ Swap Space file system mounted at @file{/btrfs}. Note how we use Guile's filter to select the file system in an elegant fashion! =20 +@lisp +(swap-devices + (list (swap-space + (target "/dev/mapper/my-swap") + (dependencies mapped-devices)))) + +(kernel-arguments + (cons* "resume=3D/dev/mapper/my-swap" + %default-kernel-arguments)) +@end lisp + +Use the mapped device @file{/dev/mapper/my-swap} as swap space, and tell +the kernel to use it for hibernation via the @code{resume} kernel +argument (@pxref{operating-system Reference}, @code{kernel-arguments}). +If a swap file was used, the @code{resume_offset} argument would also be +needed. + @node User Accounts @section User Accounts =20 base-commit: 5e03354ef535ab1e548f444ac0af0b645a4081de --=20 2.38.1 --=20 Ivan Vilata i Balaguer -- https://elvil.net/ --sUPcR1AOdfiX497q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmOI4ZQACgkQPezBBfXd I4KS8g/8CSssMtgQMHMBb5ifmXY2Taw4/wfcKpz3CBWtv3mViqtA16J274CYMFfh hpN7oh3Edqed9ZxlLE2K0H1+cZbFBNTYV5P0x0n5ZcsbA6tOsBI+XtN08Srl2SNs BpEN8mcdRXqjpmAKLC4NFQDNUA85Ag24ltrNYiqnFzqGZvIRAHC0zorPj7VOTF9n vOcJ8ijvQm6LCFALATuGzSWBmijVJEYxK0af6K5pw81YoJUdXmwLWT2Wpuoo1o5+ aEaEhkE6pjy/kHMxvhYktos+G9MPFdpgYTaXfjTgqpgg7xXE2w5v4CaGBwJUq+iF 8us8JxEJGOoIFuBtuWRQCZqE4FoD7v9KZgVEcQQD9cMwd3Lq+s7Xkru95SOgv7nR MoA/DbDN7tI6s0pnOFgf3Lekzo1wafunkxPhL0V0PCeOBrmk8VzKTBH5xgigcQ6P aiHys12jZDlAlh8kkV6qSFnDzS5ykt4WIBdKrEJXFj93eu/UCig3BWrurK5Du88q V+cEDbKHtShyqgVVlZ0GwZ8gMbFYFCG1pCwtGeAO2Df/M6WLDGdBQGwCiusOFO2j 59J0PkWw/9NNoNUcgp3DeJCifFD/qBMm5A8x6kzvQrR+P+hRI6DqUkNqxSof34dG HsWOMHkg18V/rd9Rwl07Jc/dua8lyyJP6MdUwV6Xd4Kdr3D7QDI= =TfGp -----END PGP SIGNATURE----- --sUPcR1AOdfiX497q--