summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/mapped-devices.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/system/mapped-devices.scm b/gnu/system/mapped-devices.scm
index c09a0f1ef17..b0a6beef280 100644
--- a/gnu/system/mapped-devices.scm
+++ b/gnu/system/mapped-devices.scm
@@ -256,7 +256,7 @@ requests is allowed for the underlying device."
256 (zero? (apply system*/tty cryptsetup 256 (zero? (apply system*/tty cryptsetup
257 cryptsetup-flags)))))))))) 257 cryptsetup-flags))))))))))
258 258
259(define (close-luks-device source targets) 259(define* (close-luks-device source targets #:rest _)
260 "Return a gexp that closes TARGET, a LUKS device." 260 "Return a gexp that closes TARGET, a LUKS device."
261 (match targets 261 (match targets
262 ((target) 262 ((target)
@@ -296,7 +296,9 @@ requests is allowed for the underlying device."
296 ((gnu build file-systems) 296 ((gnu build file-systems)
297 #:select (find-partition-by-luks-uuid system*/tty)))))) 297 #:select (find-partition-by-luks-uuid system*/tty))))))
298 298
299(define* (luks-device-mapping-with-options #:key key-file allow-discards?) 299(define-deprecated (luks-device-mapping-with-options #:key
300 key-file allow-discards?)
301 mapped-device-arguments
300 "Return a luks-device-mapping object with open modified to pass the arguments 302 "Return a luks-device-mapping object with open modified to pass the arguments
301into the open-luks-device procedure." 303into the open-luks-device procedure."
302 (mapped-device-kind 304 (mapped-device-kind