mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
linux-initrd: Make /dev/ttyS0, for debugging.
* guix/build/linux-initrd.scm (make-essential-device-nodes): Make /dev/ttyS0.
This commit is contained in:
parent
7d57cfd3b6
commit
7f17ff7841
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ (define (scope dir)
|
|||
(device-number 4 n))
|
||||
(loop (+ 1 n)))))
|
||||
|
||||
;; Serial line.
|
||||
(mknod (scope "dev/ttyS0") 'char-special #o660
|
||||
(device-number 4 64))
|
||||
|
||||
;; Pseudo ttys.
|
||||
(mknod (scope "dev/ptmx") 'char-special #o666
|
||||
(device-number 5 2))
|
||||
|
|
Loading…
Reference in a new issue