From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KFnxAJIEX2dC9gAAqHPOHw:P1 (envelope-from ) for ; Sun, 15 Dec 2024 16:32:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KFnxAJIEX2dC9gAAqHPOHw (envelope-from ) for ; Sun, 15 Dec 2024 17:32:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=nvaDHLAp; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=Pe9GHXH1; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734280337; 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=uuGN6RCPxCHcCxXU4bGCGf47C7rAUNzYG275jeYMjRw=; b=dcRbqUk1E2SX2t2NrKdwiRzCozDUCHleWDzkg00aXCkdSLd1pbII9hcPijleCveaDw15nQ PuQb0Vc0VDLWVsahZlKaXtKMFzlEno9UI0ha62sZB+KQUNfnE20jGQ7P9qFnMOJveUghjW Od4uf5OU3c+FI3r0ZH5lPL8RDDpJmobHOFIG0LGaSrNNvsBrV4kJAJoFMNmjffgv4ZoVNt DZAEqOj7mX+++MLfqtPNcZtjQ0xpNKByTua0hjJiBGqAAs8c0PoNOQklFKpcsSTzPJvwwv Gf+WSv70rK1/+f9ibVnr+P9msxoj6G0+R37ssbNiz4ALC+RmrQ6VM1wzonrMrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734280337; a=rsa-sha256; cv=none; b=q53OdbiJEZAutP9Zq7yDsB+SWQNr4s6q3k3mlfJAtqc7vPqkGn8/a4a4eQ7eL3lywGtHfW 1qXPVRb3TBrqkM6T73ogfTr0MOtpw+LaCt5m6md2WWJP/fx7fbbwVFPYdSR+ZT0/LGQ/QY W9GglcWUDKDdt7DZxzE16KjBuxADtXSJzfCzrEOK3tChrXpb5bnyayDUBaq1vBLswYzZrO kvhaRcNa2203D4el3CQSySd11FsXNfUvRZVaCdFELCjaI+Qj+h4o+v/z7ChpR559RTgAgI iLq2803Of74z48jtAvN65l0oMtO1B8rXxwsjUjIOjeL/aAM95EOtt/lElE0rBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=nvaDHLAp; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=Pe9GHXH1; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 807DF8530F for ; Sun, 15 Dec 2024 17:32:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMrXM-0004qr-OO; Sun, 15 Dec 2024 11:32:08 -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 1tMrXG-0004mu-5c for guix-patches@gnu.org; Sun, 15 Dec 2024 11:32:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMrXF-0007OR-Sn for guix-patches@gnu.org; Sun, 15 Dec 2024 11:32:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=hUzTWOkA6XU1mCNA52VY4RjI+WXFKG6gxjeYKxDAbkE=; b=nvaDHLApRaFDt2NXmn1xsUkDRn7FsmZ+ws2Oe0hGK5fY2dyfwnf2TuvUSzltkntBO0sQ7070ZJA4PdY1QzZyX0fEmPXlZbdLvDRZ2NK+xDZvLScH07Saqzu3IzxHUeiRe6LB5kM9Imt5+COIPmMiZ1o2igGXADbXeqXtzwSfFcTiiBTxdVVJtpozJCaUsN8o4GlOHNhKZt4VwPntKMy73e0xfGAsMYlmS0gua/tsrJPdow5vaCwhdGmqkKYFC6ssXVCoeB/peZCdpm560m5aHwJzuIsZq8l7HEeL5XxVqHO7Ebd/84E+Yr4NlgwhyS8fKHv738hdLyDEPNFFs1o1bg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMrXF-0006jp-NH for guix-patches@gnu.org; Sun, 15 Dec 2024 11:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73654] [PATCH] gnu: luks-device-mapping-with-options: Add allow-discards? argument. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2024 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73654 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Sisiutl Cc: 73654@debbugs.gnu.org, Tomas Volf <~@wolfsden.cz> Received: via spool by 73654-submit@debbugs.gnu.org id=B73654.173428028225813 (code B ref 73654); Sun, 15 Dec 2024 16:32:01 +0000 Received: (at 73654) by debbugs.gnu.org; 15 Dec 2024 16:31:22 +0000 Received: from localhost ([127.0.0.1]:51748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMrWc-0006iH-CI for submit@debbugs.gnu.org; Sun, 15 Dec 2024 11:31:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMrWa-0006i4-KJ for 73654@debbugs.gnu.org; Sun, 15 Dec 2024 11:31:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMrWS-0007KD-OZ; Sun, 15 Dec 2024 11:31:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=hUzTWOkA6XU1mCNA52VY4RjI+WXFKG6gxjeYKxDAbkE=; b=Pe9GHXH1gz4Npq3FaMZW a6zmKS/YFKWajv0XeKWseII2ISPwRtNx3OrIcFYG0AsY0AJpSw/yi4sJQrEC8F9IqTnX6SEUcRb1/ YxbjJPvH7gJSXvq/G7b29piAWx39oxQjVtvbOoPs8kddeMrJu+22B3MCsduqEZEerE0PQo9rIEw91 cB7xkbVYE/pOFrdgTSZFO9mpFnlevJg1k8wbGsSHiyy/GbQT4VfGJLNLm9LRLZiIRxAF1GlH6jRLw Sh1p16nfiogySYsiTBSgYvems5IinIY2LTxvhofUgmWfsYc7dI9RhvmD20yUAafQiY69Z4uQO1C0P kAWY7+xMC1k3SQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <20241006094239.7157-1-sisiutl@egregore.fun> (sisiutl@egregore.fun's message of "Sun, 6 Oct 2024 11:42:28 +0200") References: <20241006094239.7157-1-sisiutl@egregore.fun> Date: Sun, 15 Dec 2024 17:31:10 +0100 Message-ID: <87msgwj4c1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.59 X-Spam-Score: -4.59 X-Migadu-Queue-Id: 807DF8530F X-Migadu-Scanner: mx11.migadu.com X-TUID: zKWwMy0A3Wvl Hi, (Cc: Tomas, who I believe initially worked on this.) Sisiutl skribis: > * gnu/system/mapped-devices.scm (luks-device-mapping-with-options): Add a= llow-discards? argument. > > Change-Id: I0a43c13570a223d17698c7fe9ef4607e587bb8d0 > - > + This is a linefeed and it facilitates navigation in the file; please preserve it. :-) > +(define* (open-luks-device source targets #:key key-file allow-discards?) > "Return a gexp that maps SOURCE to TARGET as a LUKS device, using > 'cryptsetup'." Please briefly document =E2=80=98allow-discards?=E2=80=99 in the docstring= =E2=80=A6 > +(define* (luks-device-mapping-with-options #:key key-file allow-discards= ?) > "Return a luks-device-mapping object with open modified to pass the ar= guments > into the open-luks-device procedure." =E2=80=A6 also here, and also in a bit more detail in the relevant place in =E2=80=98doc/guix.texi=E2=80=99. Thanks in advance! Ludo=E2=80=99.