summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-09-07 06:38:06 +0000
committerRoland McGrath <roland@gnu.org>2001-09-07 06:38:06 +0000
commit80786ffdbee53a6985826e03bd6807625f3b437b (patch)
treed01473dfb5dc07386745c4c44e39edf54920b992
parent1cb5cdf2ec7735370e0e3a476184a7377b9b732e (diff)
2001-09-06 Roland McGrath <roland@frob.com>
* MAKEDEV.sh (pty cases): Remove ptyT? from the set. Add pty?[g-v].
-rw-r--r--sutils/MAKEDEV.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/sutils/MAKEDEV.sh b/sutils/MAKEDEV.sh
index ab65a92d..e443bf2e 100644
--- a/sutils/MAKEDEV.sh
+++ b/sutils/MAKEDEV.sh
@@ -111,7 +111,7 @@ function mkdev {
klog)
st $I root 660 /hurd/streamio kmsg;;
# ptys
- [pt]ty[pqrstuvwxyzPQRST]?)
+ [pt]ty[pqrstuvwxyzPQRS]?)
# Make one pty, both the master and slave halves.
local id="${I:3}"
st pty$id root 666 /hurd/term ${DEVDIR}/pty$id \
@@ -119,10 +119,13 @@ function mkdev {
st tty$id root 666 /hurd/term ${DEVDIR}/tty$id \
pty-slave ${DEVDIR}/pty$id
;;
- [pt]ty[pqrstuvwxyzPQRST])
+ [pt]ty[pqrstuvwxyzPQRS])
# Make a bunch of ptys.
- mkdev ${I}0 ${I}1 ${I}2 ${I}3 ${I}4 ${I}5 ${I}6 ${I}7
- mkdev ${I}8 ${I}9 ${I}a ${I}b ${I}c ${I}d ${I}e ${I}f
+ local n
+ for n in 0 1 2 3 4 5 6 7 8 9 \
+ a b c d e f g h i j k l m n o p q r s t u v; do
+ mkdev ${I}${n}
+ done
;;
fd*|mt*)