mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user