[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73654] [PATCH] gnu: luks-device-mapping-with-options: Add allow-dis
From: |
Ludovic Courtès |
Subject: |
[bug#73654] [PATCH] gnu: luks-device-mapping-with-options: Add allow-discards? argument. |
Date: |
Sun, 15 Dec 2024 17:31:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
(Cc: Tomas, who I believe initially worked on this.)
Sisiutl <sisiutl@egregore.fun> skribis:
> * gnu/system/mapped-devices.scm (luks-device-mapping-with-options): Add
> allow-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 ‘allow-discards?’ in the docstring…
> +(define* (luks-device-mapping-with-options #:key key-file allow-discards?)
> "Return a luks-device-mapping object with open modified to pass the
> arguments
> into the open-luks-device procedure."
… also here, and also in a bit more detail in the relevant place in
‘doc/guix.texi’.
Thanks in advance!
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#73654] [PATCH] gnu: luks-device-mapping-with-options: Add allow-discards? argument.,
Ludovic Courtès <=