From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qC8xFVW9GmK8gwAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 00:52:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KPmUElW9GmKq8wAA9RJhRA (envelope-from ) for ; Sun, 27 Feb 2022 00:52:53 +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 aspmx1.migadu.com (Postfix) with ESMTPS id D242C32642 for ; Sun, 27 Feb 2022 00:52:52 +0100 (CET) Received: from localhost ([::1]:36080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nO6rr-0006T0-AP for larch@yhetil.org; Sat, 26 Feb 2022 18:52:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO6rV-0006Sl-FK for help-guix@gnu.org; Sat, 26 Feb 2022 18:52:29 -0500 Received: from [2a02:c205:2020:6054::1] (port=59140 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO6rT-00010n-HT for help-guix@gnu.org; Sat, 26 Feb 2022 18:52:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=eZoZ8lLGjbEPX QY6QU4E7IQror0C30owxyTr7N6DVU4=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=SXBbrX6piiUBVd515i7/G2FG8JGL5Lp+2md07+D5T a642sWBjuJ0QDkXasOK26PXaUGi4bz6Jpm9toWcaxUP7hR4yJkeT8DLZ0bhvDdLgJDbRvC TdGKypVz8tSHnxxMeKY/xjI51W+YppBUHjgTjssLg8Zp67kZH8B/vNyWKO7vdulnkCGRs+ v/+TmjybzzlR2KipdZJCzSfWiT/W2x1DKCQKs3WTc4D7ZtyuXpsn62PA7Ph/7o0gvAPEl9 K3KdNaoXMWDmL4zRA/R3I+BjJrCBUYL1+AyTqnCr/IA+uPCJo1krCjYEDKSSR/oJM/kKTp gDq1eocQbUeD0zLnPTXnw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id ea9e57f8; Sat, 26 Feb 2022 23:52:20 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 27 Feb 2022 00:52:19 +0100 From: Tobias Geerinckx-Rice To: Antwane Mason Cc: help-guix@gnu.org Subject: Re: Declare swap partition in config In-Reply-To: References: Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1645919573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eZoZ8lLGjbEPXQY6QU4E7IQror0C30owxyTr7N6DVU4=; b=uPSokQyQWLvuSmJWWFngCw9SPhrYO27khkwQDP/nY08AbDnPYuqhwgsXP5s2hyNr3lwCmV dH59wjrTzB+K0ZxTBNUioaFdNiBjeEPwQTOlG8/r7w4VG12PYRusKvXaFA96Rrx9ZIe7Ds 7ZV8uWqH0jgeX1mmWgEdgwtqeF+rl63fF4WRXt2HYDmkEjBz8axcPAV+DIPDPCTC6WpbCd HVnj8tHQCRmT5U6MLOpGbFBpqP8rfrvubmQLuq0d92wY+kjSokql280r1gpL7UIXIkYuMk yxduItQ3mt9YCgu1Ox5NUNVfb8czqlLRXTYQD1APYzOJiEI3FGbSx32kBqBcxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645919573; a=rsa-sha256; cv=none; b=BBdSLglDaI3wccfnFQjqlur62MNRThQHVCi1wLPcQ1Ed9+oq3f9vB4VQ7jIy99YEqmw4Dn 74QV5colGUcJ8/xfHcDnE6bio4jo7bEYk2RdUsx+Plwn9xh+EuAQP46qWpkFSomxPx6iTv 4cTcfXVEBSbR1YNnQnVt54wJN1o4jLfwt0c0YjpUxIUty/eTPlB9VBbU0E3zu3q0Z70bpo EAWNhgFMk3U6F5RbDNweLBRmi7qzWDg/Iz2ojxr9+JffZrohFCeZOds3nZpdrVmIsBxqu+ +mXK0MiGSljzfGtSNJJL1VhhQshUo8hNmc7+KN0R4h3REDiyJ9aTBARNrs/0qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=SXBbrX6p; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=SXBbrX6p; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D242C32642 X-Spam-Score: -5.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: drleCfyAnxpS On 2022-02-27 0:38, Antwane Mason wrote: > TYPE="swsuspend" You can only swapon(2) swap partitions. Run $ sudo mkswap /dev/nvme0n1p4 and reboot, and it should work just fine. swapon(8) does a lot more than merely call swapon(2), including overwriting any SWSUSPEND signature[0]. Guix does not do this. It could, either at the expense of code manually kept in sync with util-linux, or by embedding a copy swapon(8) in the initrd, enlarging it. Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity. [0]: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/sys-utils/swapon.c#n371