summaryrefslogtreecommitdiff
path: root/etc/etc.arm32/MAKEDEV
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
committerDug Song <dugsong@cvs.openbsd.org>1998-11-19 08:19:00 +0000
commit1793a338f5c2c7929e0dd6f980e102384cf60aad (patch)
tree04acd184a591ab86efc9bc959041eec761f09d64 /etc/etc.arm32/MAKEDEV
parent04e116ff50f2005ae92cb5151af4c10bebbf645e (diff)
add support for more ptys
Diffstat (limited to 'etc/etc.arm32/MAKEDEV')
-rw-r--r--etc/etc.arm32/MAKEDEV15
1 files changed, 13 insertions, 2 deletions
diff --git a/etc/etc.arm32/MAKEDEV b/etc/etc.arm32/MAKEDEV
index 374c7679abf..b10cf657550 100644
--- a/etc/etc.arm32/MAKEDEV
+++ b/etc/etc.arm32/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.13 1998/09/25 11:11:59 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.14 1998/11/19 08:18:56 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -226,10 +226,21 @@ pty*)
3) offset=48 name=s;;
# Note that telnetd, rlogind, and xterm (at least) only look at p-s.
4) offset=64 name=t;;
+ 5) offset=80 name=u;;
+ 6) offset=96 name=v;;
+ 7) offset=112 name=w;;
+ 8) offset=128 name=x;;
+ 9) offset=144 name=y;;
+ 10) offset=160 name=z;;
+ 11) offset=176 name=P;;
+ 12) offset=192 name=Q;;
+ 13) offset=208 name=R;;
+ 14) offset=224 name=S;;
+ 15) offset=240 name=T;;
*) echo bad unit for pty in: $i;;
esac
case $class in
- 0|1|2|3|4)
+ 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
umask 0
eval `echo $offset $name | awk ' { b=$1; n=$2 } END {
for (i = 0; i < 16; i++)