mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
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:
parent
e420308f29
commit
c04c6ff64c
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ (define (scope dir)
|
|||
(mknod (scope "dev/vda1") 'block-special #o644 (device-number 252 1))
|
||||
(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.
|
||||
(mknod (scope "dev/tty") 'char-special #o600
|
||||
(device-number 5 0))
|
||||
|
|
Loading…
Reference in a new issue