gnu: linux-initrd: Make /dev/{mem,kmem}.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  dev/{mem,kmem}.
This commit is contained in:
Ludovic Courtès 2014-02-01 01:07:14 +01:00
parent e420308f29
commit c04c6ff64c
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,10 @@
(mknod (scope "dev/vda1") 'block-special #o644 (device-number 252 1)) (mknod (scope "dev/vda1") 'block-special #o644 (device-number 252 1))
(mknod (scope "dev/vda2") 'block-special #o644 (device-number 252 2)) (mknod (scope "dev/vda2") 'block-special #o644 (device-number 252 2))
;; Memory (used by Xorg's VESA driver.)
(mknod (scope "dev/mem") 'char-special #o640 (device-number 1 1))
(mknod (scope "dev/kmem") 'char-special #o640 (device-number 1 2))
;; TTYs. ;; TTYs.
(mknod (scope "dev/tty") 'char-special #o600 (mknod (scope "dev/tty") 'char-special #o600
(device-number 5 0)) (device-number 5 0))