From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WA0CBzE+kmHEUAEAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 12:02:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4OuQAjE+kmEDCQAAbx9fmQ (envelope-from ) for ; Mon, 15 Nov 2021 11:02:09 +0000 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 C2C57F4EF for ; Mon, 15 Nov 2021 12:02:08 +0100 (CET) Received: from localhost ([::1]:38728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmZkV-0002We-Rz for larch@yhetil.org; Mon, 15 Nov 2021 06:02:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmZkP-0002WN-VG for guix-patches@gnu.org; Mon, 15 Nov 2021 06:02:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmZkP-0005J2-M6 for guix-patches@gnu.org; Mon, 15 Nov 2021 06:02:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmZkP-0007wX-Jq for guix-patches@gnu.org; Mon, 15 Nov 2021 06:02:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51346] [PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 11:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51346 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: Tobias Geerinckx-Rice , 51346@debbugs.gnu.org Received: via spool by 51346-submit@debbugs.gnu.org id=B51346.163697408630487 (code B ref 51346); Mon, 15 Nov 2021 11:02:01 +0000 Received: (at 51346) by debbugs.gnu.org; 15 Nov 2021 11:01:26 +0000 Received: from localhost ([127.0.0.1]:52776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmZjp-0007vf-VP for submit@debbugs.gnu.org; Mon, 15 Nov 2021 06:01:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmZjo-0007vT-3o for 51346@debbugs.gnu.org; Mon, 15 Nov 2021 06:01:24 -0500 Received: from [2001:470:142:3::e] (port=57896 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmZji-0005Dj-L7; Mon, 15 Nov 2021 06:01:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=NrTyhEKSsgMtIIvqVh6XYy1SRGQ+j4Y4Cq/je/OJCJQ=; b=EkceEgk8Ab3EIEBT2R2b TzYwKdWOubQBxMq451gsxSjc6pARlChWFfZ4Zbv522elKAzVq82GE70XBWuZeSF7Fix/nQ2nxE0x8 7M+gOHF/Jlgw/jTznwI3x3s4QCNTydMyNOSytsq0Ch3W4tArnR+cKidS7af5kjA3SJJI7jzBK/YA3 dylMPPIha7WkfGWe2eJydqo7vgWiOe3mX2Lve/yfoPezOJrFbCGnFa46lMMLBgMoPN9k1JxDlgkLF lG3C0ulDfD8SPNRWttfWi7/jESCQhdrSL0tqSy1O4PeUNqCoW/VDjeGRBiUgYZHYwZscnRSZvS47Y fYxiP2XxBXWt8g==; Received: from [193.50.110.110] (port=57554 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmZji-0002bx-4E; Mon, 15 Nov 2021 06:01:18 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87tuh6ifwe.fsf@nckx> <20211027150913.6038-1-dev@jpoiret.xyz> <20211027150913.6038-5-dev@jpoiret.xyz> Date: Mon, 15 Nov 2021 12:01:15 +0100 In-Reply-To: <20211027150913.6038-5-dev@jpoiret.xyz> (Josselin Poiret's message of "Wed, 27 Oct 2021 15:09:13 +0000") Message-ID: <874k8d7kec.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-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" 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=1636974128; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NrTyhEKSsgMtIIvqVh6XYy1SRGQ+j4Y4Cq/je/OJCJQ=; b=iBtWxj18pb3kseJ4XumsZDH8rHS5gTm7rzCDXBJCpcK3FCM5F4vFh74U2c5K1R1tJdCgbf TAcOPsnPO1Z7WmV8fwCbpbGsUayNj7sHMBG5rseJ15JotrrFfWs57+Z/u9YdP4nFfuGbjH WkZCpjfj41g1jS9za4qiiO2J8i3Oruh9GuG6uq2FYHtHVW0g9hcFImud8L7WGXswvJfTyx db0PYTgBewIleuDrZWgx8tsGMPIbVva1uy5CzUwUjAa1RVyjCGWZoKzTj2JN09B1V+PAsA 3tEj6ul25uNnV1os2ePkpD7F+34BgwZZuZ1rab2c+2Rc8TNZlC3S8QEpejmRxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636974128; a=rsa-sha256; cv=none; b=rWv3JjmgR5LfcIncP3NHtS/1ITdbyxlgLjnz1K1Cu9KnOCgg1j7wTmvB3kR2oweJnDBTmd icf6kGU3vJ8KeyDkSud3REEcCRFKCVgXhX3frMIAdJfnlyc6f6SKrKzpDBUnYNnUOxMhiQ c9EYh5CRBv1Opxql9DOFc4QaVb2mMmltUnJ5SbS+WKLqI8ooQY8kmh+CV2hC6n8mmVxbt1 XxjffqmOxnlSiX3y28RmE9mOn0MAaFgYE93E4tIdQa/y3jfIyitPuRcMG4bN9rAIlJdvfi B2BHi1P8ecYwCy1iUAlW4dBkqXTiIvZOtFlEwytiIChhCjtXDL/lOVoHUmCo+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EkceEgk8; spf=pass (aspmx1.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: -2.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EkceEgk8; spf=pass (aspmx1.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: C2C57F4EF X-Spam-Score: -2.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: kSb+xrP5SQ3U Josselin Poiret skribis: > * doc/guix.texi (operating-system Reference): Update swap-devices. > * doc/guix.texi (Swap Space): Add it. > * gnu/system/examples/desktop.tmpl: Add swap-devices example. [...] > +Here are some examples: > + > +@table @code > +@item (swap-space (target (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb"))) > +Use the swap partition with the given UUID@. You can learn the UUID of a > +Linux swap partition by running @command{swaplabel @var{device}}, where > +@var{device} is the @file{/dev} file name of that partition. > + > +@item (swap-space (target (file-system-label "swap")) (dependencies (lis= t lvm-device))) Could you get rid of the table here, and instead write examples in @lisp blocks? Otherwise LGTM. Ludo=E2=80=99.