[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: hurd-boot: Set /hurd/magic on /dev/fd.
From: |
guix-commits |
Subject: |
05/09: hurd-boot: Set /hurd/magic on /dev/fd. |
Date: |
Wed, 14 Oct 2020 09:25:14 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 57a7aa1ae3ef67c6e8becca766adfb4b4c8f59ac
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Oct 14 11:06:55 2020 +0200
hurd-boot: Set /hurd/magic on /dev/fd.
* gnu/build/hurd-boot.scm (set-hurd-device-translators)[devices]: Add
"/dev/fd".
---
gnu/build/hurd-boot.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/build/hurd-boot.scm b/gnu/build/hurd-boot.scm
index 45d0040..e66d4d1 100644
--- a/gnu/build/hurd-boot.scm
+++ b/gnu/build/hurd-boot.scm
@@ -211,6 +211,9 @@ set."
("dev/vcs" ("/hurd/console"))
("dev/tty" ("/hurd/magic" "tty") #o666)
+ ;; 'fd_to_filename' in libc expects it.
+ ("dev/fd" ("/hurd/magic" "--directory" "fd") #o555)
+
("dev/tty1" ("/hurd/term" "/dev/tty1" "hurdio"
"/dev/vcs/1/console")
#o666)
("dev/tty2" ("/hurd/term" "/dev/tty2" "hurdio"
"/dev/vcs/2/console")
@@ -240,7 +243,6 @@ set."
(for-each scope-set-translator devices)
(false-if-EEXIST (symlink "/dev/random" (scope "dev/urandom")))
- (mkdir* "dev/fd")
(false-if-EEXIST (symlink "/dev/fd/0" (scope "dev/stdin")))
(false-if-EEXIST (symlink "/dev/fd/1" (scope "dev/stdout")))
(false-if-EEXIST (symlink "/dev/fd/2" (scope "dev/stderr")))
- branch master updated (3c33813 -> 3c1b0b9), guix-commits, 2020/10/14
- 01/09: gnu: guix: Change Git URL., guix-commits, 2020/10/14
- 05/09: hurd-boot: Set /hurd/magic on /dev/fd.,
guix-commits <=
- 06/09: image: Use 'raise' from (srfi srfi-34)., guix-commits, 2020/10/14
- 08/09: doc: cookbook: Mention "#true" and "#false"., guix-commits, 2020/10/14
- 09/09: gnu: icedove: Update to 78.3.2., guix-commits, 2020/10/14
- 02/09: openpgp: '&openpgp-unrecognized-packet-error' includes type tag., guix-commits, 2020/10/14
- 07/09: gnu: Add emacs-gcmh., guix-commits, 2020/10/14
- 03/09: doc: Avoid orphan node., guix-commits, 2020/10/14
- 04/09: doc: Mention "i586-gnu" as supported and experimental., guix-commits, 2020/10/14