aboutsummaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-11 00:52:36 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-11 01:07:50 +0200
commit37c825eb79e18ac61080e626db6cff6552fd5cf4 (patch)
tree4cc02ceaf8099f6bce36c04c5aa0bba2e224c484 /guix/build
parente0ba5fe5abb44bbd17cb62dfd5909e7627160ef2 (diff)
downloadgnu-guix-37c825eb79e18ac61080e626db6cff6552fd5cf4.tar
gnu-guix-37c825eb79e18ac61080e626db6cff6552fd5cf4.tar.gz
linux-initrd: Create /dev/klog and /dev/kmsg.
* guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/klog and /dev/kmsg.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/linux-initrd.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/build/linux-initrd.scm b/guix/build/linux-initrd.scm
index b5404da7f0..cbdb363b4e 100644
--- a/guix/build/linux-initrd.scm
+++ b/guix/build/linux-initrd.scm
@@ -89,6 +89,10 @@
(device-number 4 n))
(loop (+ 1 n)))))
+ ;; Rendez-vous point for syslogd.
+ (mknod (scope "dev/log") 'socket #o666 0)
+ (mknod (scope "dev/kmsg") 'char-special #o600 (device-number 1 11))
+
;; Other useful nodes.
(mknod (scope "dev/null") 'char-special #o666 (device-number 1 3))
(mknod (scope "dev/zero") 'char-special #o666 (device-number 1 5)))