summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-07-06 16:31:00 +0200
committerLudovic Courtès <ludo@gnu.org>2025-07-18 00:57:25 +0200
commit62bf9a7cc79d24e7edc2b56d6dde6e77eebc537e (patch)
tree7b741e39aa7321e51c8c5d041d1111ee5418ff2e /doc
parent951e39718a00cf3f91e8c8d4b4b5661715a27416 (diff)
mapped-devices: Add ‘arguments’ field.
Fixes <https://issues.guix.gnu.org/70826>. This allows users to specify extra arguments specific to the underlying mapped device type. * gnu/system/mapped-devices.scm (<mapped-device>)[arguments]: New field. (device-mapping-service-type): Honor it. * guix/scripts/system.scm (check-mapped-devices): Likewise. * gnu/system/linux-initrd.scm (raw-initrd): Likewise. * doc/guix.texi (Mapped Devices): Document it. Reported-by: 45mg <45mg.writes@gmail.com> Change-Id: Idef5a3e68535c412f13bae9a92c81c49053d4f4a
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 2e1b9378d1d..b83579ed6d5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -18637,6 +18637,10 @@ there are several. The format is identical to @var{target}.
@item type
This must be a @code{mapped-device-kind} object, which specifies how
@var{source} is mapped to @var{target}.
+
+@item arguments
+This is a list of arguments specific to @var{type} that are passed to
+its @code{open}, @code{close}, and @code{check} procedures.
@end table
@end deftp