diff options
author | Roland McGrath <roland@gnu.org> | 1999-10-11 09:06:04 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-10-11 09:06:04 +0000 |
commit | 9afbf91ec186644be7a3de3d9b202182eff9e59b (patch) | |
tree | d10fe5bf531d38c8b80f7d7afd91f0f381c521bf /sutils | |
parent | a57d8133fe9d997c741552f185466f070e75e9e8 (diff) |
1999-10-11 Roland McGrath <roland@baalperazim.frob.com>
* MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
Diffstat (limited to 'sutils')
-rw-r--r-- | sutils/MAKEDEV.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh index 77dd1dbb..b8834854 100644 --- a/sutils/MAKEDEV.sh +++ b/sutils/MAKEDEV.sh @@ -97,7 +97,7 @@ function mkdev { tty) st $I root 666 /hurd/magic tty;; fd) - st $I root 666 /hurd/magic fd + st $I root 666 /hurd/magic --directory fd cmd ln -f -s fd/0 stdin cmd ln -f -s fd/1 stdout cmd ln -f -s fd/2 stderr @@ -161,6 +161,12 @@ function mkdev { st $I root 640 /hurd/storeio $I ;; + # Linux compatibility + loop*) + # In Linux an inactive "/dev/loopN" device acts like /dev/null. + # The `losetup' script changes the translator to "activate" the device. + st $I root 640 /hurd/null + ;; *) lose "$I: Unknown device name" ;; |