diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 15:52:37 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 15:52:37 +0100 |
commit | 499dc6c6dc00b136fd1734d3f8d23f37aa1fa6c9 (patch) | |
tree | 2d65a41e75789b26228dc7b578cb8d0bd46d2e36 /sutils | |
parent | b0bc5a592ba84b22518609e2e56f1ed466929c58 (diff) | |
download | hurd-499dc6c6dc00b136fd1734d3f8d23f37aa1fa6c9.tar.gz hurd-499dc6c6dc00b136fd1734d3f8d23f37aa1fa6c9.tar.bz2 hurd-499dc6c6dc00b136fd1734d3f8d23f37aa1fa6c9.zip |
MAKEDEV: Set up rump translator and fix netdde translator
* sutils/MAKEDEV.sh (rumpdisk): Set up /dev/rumpdisk and /dev/disk that
points to it.
(netdde): Point /dev/net to /dev/netdde.
(eth*): Use /dev/net instead of /dev/netdde.
Diffstat (limited to 'sutils')
-rw-r--r-- | sutils/MAKEDEV.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh index 61b92eb3..bfac092f 100644 --- a/sutils/MAKEDEV.sh +++ b/sutils/MAKEDEV.sh @@ -165,6 +165,10 @@ mkdev() { st $I root 640 /hurd/storeio $I ;; + rumpdisk) + st $I root 660 /hurd/rumpdisk + cmd ln -f -s rumpdisk disk + ;; [hrscw]d*) local sliceno= local n="${I#?d}" @@ -217,9 +221,11 @@ mkdev() { ;; netdde) - st $I root 660 /hurd/netdde;; + st $I root 660 /hurd/netdde + cmd ln -f -s netdde net + ;; eth*) - st $I root 660 /hurd/devnode -M /dev/netdde $I;; + st $I root 660 /hurd/devnode -M /dev/net $I;; # /dev/shm is used by the POSIX.1 shm_open call in libc. # We don't want the underlying node to be written by randoms, |