Paste number 144503: | Guix /dev/mapper control node |
Pasted by: | civodul |
When: | 7 years, 8 months ago |
Share: | Tweet this! | http://paste.lisp.org/+33HZ |
Channel: | None |
Paste contents: |
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 3bf3268..e755df9 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -170,6 +170,11 @@ with the given MAJOR number, starting with MINOR."
(mknod (scope "dev/log") 'socket #o666 0)
(mknod (scope "dev/kmsg") 'char-special #o600 (device-number 1 11))
+ ;; Device mapper control node, used by 'cryptsetup' et al.
+ (mkdir-p (scope "dev/mapper"))
+ (mknod (scope "dev/mapper/control") 'char-special #o600
+ (device-number 10 236))
+
;; Other useful nodes, notably relied on by guix-daemon.
(for-each (match-lambda
((file major minor)
This paste has no annotations.