From unknown Thu Jun 19 14:07:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53826 <53826@debbugs.gnu.org> To: bug#53826 <53826@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Improve Swap Space examples Reply-To: bug#53826 <53826@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:07:05 +0000 retitle 53826 [PATCH 0/2] Improve Swap Space examples reassign 53826 guix-patches submitter 53826 Josselin Poiret severity 53826 normal tag 53826 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 16:18:15 2022 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 21:18:16 +0000 Received: from localhost ([127.0.0.1]:39954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGovH-0005ef-Nn for submit@debbugs.gnu.org; Sun, 06 Feb 2022 16:18:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:52682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGovG-0005eV-83 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 16:18:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGovF-000672-UV for guix-patches@gnu.org; Sun, 06 Feb 2022 16:18:13 -0500 Received: from jpoiret.xyz ([206.189.101.64]:59932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGovE-0002ul-24 for guix-patches@gnu.org; Sun, 06 Feb 2022 16:18:13 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 3B31A184F28; Sun, 6 Feb 2022 21:18:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1644182290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2Klxt1gCj9tMI682NEZsTXpQKol/CPvHM8VcuzRazlY=; b=X+Zqd7mGE+3lkq8n2rzPm5S+qFM0zvby3HmyT1PgaK80n7iHrWCnPInhyWbrrxEOmR3zh5 TqO+blq9EWsGTurJy3PmgW7sXQwhwLhjUCv0N1HSVch/cpRJwYacOsgpMuME07FE0QUDXl 4+rKCRuf4xHZSyCo1fvaYJbpn4OdTxFvTY2Gk9Z1pRZURGmHxFpU1EaxvuTYci1pE+z2ac sOvpPc74E4no2IipnnPdn0W+407EvG8ecFL0sij/Ej2XoVJrOV8y1QT+oxX4+HRuP6jQ5X bWN7JKzubTjP2BtLvYNDiDzSM4VzcsmFOHMuJpYTY25I+KEM/qGSEMUytIegog== From: Josselin Poiret To: guix-patches@gnu.org Subject: [PATCH 0/2] Improve Swap Space examples Date: Sun, 6 Feb 2022 22:18:03 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Level: **** X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 22 X-Spam_score: 2.2 X-Spam_bar: ++ X-Spam_report: (2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.772, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.7 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, These two patches should help making swap space dependencies more manageable for people who aren't yet proficient enough in Guile. The first patch adds a simple predicate which can be used in conjunction with filter to select file systems with specific mount points, and the second refactors the examples to be more readily copy an [...] Content analysis details: (2.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=dev%40jpoiret.xyz; ip=209.51.188.17; r=debbugs.gnu.org] 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit Cc: Josselin Poiret X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hello, These two patches should help making swap space dependencies more manageable for people who aren't yet proficient enough in Guile. The first patch adds a simple predicate which can be used in conjunction with filter to select file systems with specific mount points, and the second refactors the examples to be more readily copy and pasted into the configuration file, also using the helper predicate. Best, Josselin Poiret (2): system: Add helper file-system-mount-point-predicate. doc: Clarify the Swap Space examples, and include an helper example. doc/guix.texi | 33 +++++++++++++++++++++++++-------- gnu/system/file-systems.scm | 7 +++++++ 2 files changed, 32 insertions(+), 8 deletions(-) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 16:20:54 2022 Received: (at 53826) by debbugs.gnu.org; 6 Feb 2022 21:20:54 +0000 Received: from localhost ([127.0.0.1]:39962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGoxq-0005in-4K for submit@debbugs.gnu.org; Sun, 06 Feb 2022 16:20:54 -0500 Received: from jpoiret.xyz ([206.189.101.64]:50604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGoxn-0005if-Q9 for 53826@debbugs.gnu.org; Sun, 06 Feb 2022 16:20:53 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 11A871851EE; Sun, 6 Feb 2022 21:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1644182451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OjLwQpJxisc+vy1rv9f+xgxrq9q6LL4i0E+89vQUVD8=; b=uBY2sgrEqzsJEpJjWiPskrh63fhdFZaBl6Pw5Ky9llYcHEKVfBoBeeGJQspPWbo/gwfPCH BF62UDIXXPbneEX47BEzFZnp8bZAVVmWZOL+Srm0qFz+MVaglJPSriHZrSB3XoIceqM/fj RTTBaEb9dR1htZ+b0nHKUoletmb81AEdVfd9h7e5DN062O3IbHi/ll5ERCLTURz/G94XMz xvd2J1sV0eqWKb98+ULuDwCKkAYTv7vQWI5/S7Jt6knpdnmLLpw9OE3rmMMYXf47ljJKtH t2ozOQlk1vf6x7LQkdatwdvLOmPRSlLw4lXBMYUmg5/XlGnLuFmrQXNciLSVRQ== From: Josselin Poiret To: 53826@debbugs.gnu.org Subject: [PATCH 2/2] doc: Clarify the Swap Space examples, and include an helper example. Date: Sun, 6 Feb 2022 22:20:45 +0100 Message-Id: <20220206212045.19257-2-dev@jpoiret.xyz> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * doc/guix.texi (Swap Space): The examples referred to variables defined outside of the snippets, and so were not very informative for people without much Guile knowledge. Instead, refer to mapped-dev [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 53826 Cc: Josselin Poiret X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * doc/guix.texi (Swap Space): The examples referred to variables defined outside of the snippets, and so were not very informative for people without much Guile knowledge. Instead, refer to mapped-dev [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * doc/guix.texi (Swap Space): The examples referred to variables defined outside of the snippets, and so were not very informative for people without much Guile knowledge. Instead, refer to mapped-devices for the first, and use the new helper file-systme-mount-point-predicate for the second. --- doc/guix.texi | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 0cf865a672..49bc8d55e6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15737,22 +15737,39 @@ Linux swap partition by running @command{swaplabel @var{device}}, where @lisp (swap-space (target (file-system-label "swap")) - (dependencies (list lvm-device))) + (dependencies mapped-devices)) @end lisp -Use the partition with label @code{swap}, which can be found after the -@var{lvm-device} mapped device has been opened. Again, the +Use the partition with label @code{swap}, which can be found after all +the @var{mapped-devices} mapped devices have been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition. +Here's a more involved example with the corresponding @code{file-systems} part +of an @code{operating-system} declaration. + @lisp -(swap-space - (target "/btrfs/swapfile") - (dependencies (list btrfs-fs))) +(file-systems + (list (file-system + (device (file-system-label "root")) + (mount-point "/") + (type "ext4")) + (file-system + (device (file-system-label "btrfs")) + (mount-point "/btrfs") + (type "btrfs")))) + +(swap-devices + (list + (swap-space + (target "/btrfs/swapfile") + (dependencies (filter (file-system-mount-point-predicate "/btrfs") + file-systems))))) @end lisp -Use the file @file{/btrfs/swapfile} as swap space, which is present on the -@var{btrfs-fs} filesystem. +Use the file @file{/btrfs/swapfile} as swap space, which depends on the +file system mounted at @file{/btrfs}. Note how we use Guile's filter to +select the file system in an elegant fashion! @node User Accounts @section User Accounts -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 16:21:07 2022 Received: (at 53826) by debbugs.gnu.org; 6 Feb 2022 21:21:07 +0000 Received: from localhost ([127.0.0.1]:39965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGoy3-0005jx-Cc for submit@debbugs.gnu.org; Sun, 06 Feb 2022 16:21:07 -0500 Received: from jpoiret.xyz ([206.189.101.64]:50556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGoxn-0005id-J8 for 53826@debbugs.gnu.org; Sun, 06 Feb 2022 16:21:06 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 2B48E1851ED; Sun, 6 Feb 2022 21:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1644182450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7eEwvNL9L9HIwiUL6+wUqNSJ0L3vbgZMP1ZQvIkh94Y=; b=JjJJVdx/Z7O7bqpbfdlKp1SFbUTY3Wovas8QiXAPsTlPWh8pVBm/KY/sMrsEVvIGIxgrMD Y13515k+TOItM5cb7qKf98U2d4ErVDjxFRJEhBlTJKDmErlpa47PlT5JK3m9Op2Qx7FK+S 7PQbBHPpzijib/R3ZmRlB+XOZFASn1pm3cI06/swrkmMGDsHikad2+0aenXGR/g63i9bXa bGRcOBX/fp2CBmi8MtrIwTLB31u/mHvpflHkdyh5GHb7mIHtS53K2HRpiZkXGfEfx+096G SxZIIawecvl/K4Hk0h8mxu/TBpbji7esWKW2bsr2tseR87+mjVu7uQs4mg7SXQ== From: Josselin Poiret To: 53826@debbugs.gnu.org Subject: [PATCH 1/2] system: Add helper file-system-mount-point-predicate. Date: Sun, 6 Feb 2022 22:20:44 +0100 Message-Id: <20220206212045.19257-1-dev@jpoiret.xyz> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/system/file-systems.scm (file-system-mount-point-predicate): Add it. --- gnu/system/file-systems.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index e1d1fb72cc..437f8da898 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -60,6 +60,7 @@ (define [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 53826 Cc: Josselin Poiret X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/system/file-systems.scm (file-system-mount-point-predicate): Add it. --- gnu/system/file-systems.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index e1d1fb72cc..437f8da898 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -60,6 +60,7 @@ (define [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/system/file-systems.scm (file-system-mount-point-predicate): Add it. --- gnu/system/file-systems.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index e1d1fb72cc..437f8da898 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -60,6 +60,7 @@ (define-module (gnu system file-systems) file-system-location file-system-type-predicate + file-system-mount-point-predicate btrfs-subvolume? btrfs-store-subvolume-file-name @@ -671,6 +672,12 @@ (define (file-system-type-predicate type) (lambda (fs) (string=? (file-system-type fs) type))) +(define (file-system-mount-point-predicate mount-point) + "Return a predicate that, when passed a file system, returns #t if that file +system has the given MOUNT-POINT." + (lambda (fs) + (string=? (file-system-mount-point fs) mount-point))) + ;;; ;;; Btrfs specific helpers. -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 15 04:15:21 2022 Received: (at 53826-done) by debbugs.gnu.org; 15 Feb 2022 09:15:21 +0000 Received: from localhost ([127.0.0.1]:43479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJtvd-00029t-3V for submit@debbugs.gnu.org; Tue, 15 Feb 2022 04:15:21 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJtvc-00029f-7c for 53826-done@debbugs.gnu.org; Tue, 15 Feb 2022 04:15:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C6E2C295; Tue, 15 Feb 2022 10:15:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IbYpnnKds3gO; Tue, 15 Feb 2022 10:15:11 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 61FDB1CA; Tue, 15 Feb 2022 10:15:10 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#53826: [PATCH 0/2] Improve Swap Space examples References: Date: Tue, 15 Feb 2022 10:15:09 +0100 In-Reply-To: (Josselin Poiret's message of "Sun, 6 Feb 2022 22:18:03 +0100") Message-ID: <878rucqyn6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: C6E2C295 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Josselin, Josselin Poiret skribis: > These two patches should help making swap space dependencies more > manageable for people who aren't yet proficient enough in Guile. > > The first patch adds a simple predicate which can be used in [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 53826-done Cc: 53826-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Josselin, Josselin Poiret skribis: > These two patches should help making swap space dependencies more > manageable for people who aren't yet proficient enough in Guile. > > The first patch adds a simple predicate which can be used in [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi Josselin, Josselin Poiret skribis: > These two patches should help making swap space dependencies more > manageable for people who aren't yet proficient enough in Guile. > > The first patch adds a simple predicate which can be used in > conjunction with filter to select file systems with specific mount > points, and the second refactors the examples to be more readily copy > and pasted into the configuration file, also using the helper > predicate. Nice. > system: Add helper file-system-mount-point-predicate. > doc: Clarify the Swap Space examples, and include an helper example. Applied, thanks! Ludo=E2=80=99. From unknown Thu Jun 19 14:07:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Mar 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator