summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.alpha/MAKEDEV15
-rw-r--r--etc/etc.amiga/MAKEDEV15
-rw-r--r--etc/etc.arc/MAKEDEV15
-rw-r--r--etc/etc.arm32/MAKEDEV15
-rw-r--r--etc/etc.atari/MAKEDEV13
-rw-r--r--etc/etc.hp300/MAKEDEV15
-rw-r--r--etc/etc.i386/MAKEDEV15
-rw-r--r--etc/etc.mac68k/MAKEDEV15
-rw-r--r--etc/etc.mvme68k/MAKEDEV17
-rw-r--r--etc/etc.mvme88k/MAKEDEV13
-rw-r--r--etc/etc.pc532/MAKEDEV15
-rw-r--r--etc/etc.pmax/MAKEDEV15
-rw-r--r--etc/etc.powerpc/MAKEDEV15
-rw-r--r--etc/etc.sparc/MAKEDEV15
-rw-r--r--etc/etc.sun3/MAKEDEV13
-rw-r--r--etc/etc.vax/MAKEDEV14
-rw-r--r--etc/etc.wgrisc/MAKEDEV15
-rw-r--r--etc/etc.x68k/MAKEDEV17
18 files changed, 232 insertions, 35 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 1b24a38fb2f..ce079b6f7d4 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.39 1998/09/25 11:11:58 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.40 1998/11/19 08:18:55 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -333,10 +333,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.amiga/MAKEDEV b/etc/etc.amiga/MAKEDEV
index 5230920261d..54b2d87a527 100644
--- a/etc/etc.amiga/MAKEDEV
+++ b/etc/etc.amiga/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.39 1998/10/15 21:24:52 art Exp $
+# $OpenBSD: MAKEDEV,v 1.40 1998/11/19 08:18:56 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -529,10 +529,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV
index f22d38e7025..0cdbddebde4 100644
--- a/etc/etc.arc/MAKEDEV
+++ b/etc/etc.arc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.28 1998/09/25 11:11:58 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.29 1998/11/19 08:18:56 dugsong Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -412,10 +412,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
n=0
while [ $n -lt 16 ]
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++)
diff --git a/etc/etc.atari/MAKEDEV b/etc/etc.atari/MAKEDEV
index 708ea36bad4..13b4fe85301 100644
--- a/etc/etc.atari/MAKEDEV
+++ b/etc/etc.atari/MAKEDEV
@@ -396,10 +396,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
(i=0; while [ $i -lt 16 ]; do
eval `printf "rm -f tty%s%x; mknod tty%s%x c 4 %d; \
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV
index 491949796a8..271a2a6c1b2 100644
--- a/etc/etc.hp300/MAKEDEV
+++ b/etc/etc.hp300/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.28 1998/10/15 21:24:53 art Exp $
+# $OpenBSD: MAKEDEV,v 1.29 1998/11/19 08:18:56 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -457,10 +457,21 @@ pty*)
2) offset=32 name=r;;
3) offset=48 name=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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 2e6b592a9ca..f69a80434cc 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.65 1998/09/15 21:54:53 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.66 1998/11/19 08:18:57 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -378,10 +378,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV
index 35c62829db8..9b9bc428576 100644
--- a/etc/etc.mac68k/MAKEDEV
+++ b/etc/etc.mac68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.26 1998/10/15 21:24:53 art Exp $
+# $OpenBSD: MAKEDEV,v 1.27 1998/11/19 08:18:57 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -285,10 +285,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV
index d7197244d9d..79bc6eac943 100644
--- a/etc/etc.mvme68k/MAKEDEV
+++ b/etc/etc.mvme68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.25 1998/09/23 07:30:57 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.26 1998/11/19 08:18:57 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $OpenBSD: MAKEDEV,v 1.25 1998/09/23 07:30:57 todd Exp $
+# $OpenBSD: MAKEDEV,v 1.26 1998/11/19 08:18:57 dugsong Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@@ -363,10 +363,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++)
diff --git a/etc/etc.mvme88k/MAKEDEV b/etc/etc.mvme88k/MAKEDEV
index bbefc7315a6..25b6b69483d 100644
--- a/etc/etc.mvme88k/MAKEDEV
+++ b/etc/etc.mvme88k/MAKEDEV
@@ -187,10 +187,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++)
diff --git a/etc/etc.pc532/MAKEDEV b/etc/etc.pc532/MAKEDEV
index 5bb2bc0b960..32b2f5f2d6c 100644
--- a/etc/etc.pc532/MAKEDEV
+++ b/etc/etc.pc532/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.14 1998/09/15 10:23:22 pattonme Exp $
+# $OpenBSD: MAKEDEV,v 1.15 1998/11/19 08:18:57 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -188,10 +188,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++)
diff --git a/etc/etc.pmax/MAKEDEV b/etc/etc.pmax/MAKEDEV
index 20eb7517678..a2717002618 100644
--- a/etc/etc.pmax/MAKEDEV
+++ b/etc/etc.pmax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.28 1998/11/09 05:56:50 millert Exp $
+# $OpenBSD: MAKEDEV,v 1.29 1998/11/19 08:18:57 dugsong Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -348,10 +348,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index e7b25f5bf38..c0c79d85ab7 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.24 1998/10/15 21:24:53 art Exp $
+# $OpenBSD: MAKEDEV,v 1.25 1998/11/19 08:18:58 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -314,10 +314,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
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index 3dd842031a6..b1cd217d5b6 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.51 1998/10/16 16:50:16 marc Exp $
+# $OpenBSD: MAKEDEV,v 1.52 1998/11/19 08:18:58 dugsong Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -573,10 +573,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 $unit in
- 0|1|2|3|4)
+ 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
umask 0
n=0
while [ $n -lt 16 ]
diff --git a/etc/etc.sun3/MAKEDEV b/etc/etc.sun3/MAKEDEV
index af293f29c2f..46f2731e1bb 100644
--- a/etc/etc.sun3/MAKEDEV
+++ b/etc/etc.sun3/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.24 1998/10/15 21:24:53 art Exp $
+# $OpenBSD: MAKEDEV,v 1.25 1998/11/19 08:18:58 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -149,6 +149,17 @@ 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: $arg;;
esac
for pair in 0.0 1.1 2.2 3.3 4.4 5.5 6.6 7.7 \
diff --git a/etc/etc.vax/MAKEDEV b/etc/etc.vax/MAKEDEV
index 195a9f33b9a..0fc7c0b73b9 100644
--- a/etc/etc.vax/MAKEDEV
+++ b/etc/etc.vax/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.16 1998/09/15 10:23:23 pattonme Exp $
+# $OpenBSD: MAKEDEV,v 1.17 1998/11/19 08:18:58 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/01/07 16:53:15 ragge Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
@@ -413,10 +413,20 @@ pty*)
3) offset=48 name=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|5)
+ 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++)
diff --git a/etc/etc.wgrisc/MAKEDEV b/etc/etc.wgrisc/MAKEDEV
index c7c026d6f80..24c3654d406 100644
--- a/etc/etc.wgrisc/MAKEDEV
+++ b/etc/etc.wgrisc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.6 1997/09/16 06:01:05 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.7 1998/11/19 08:18:58 dugsong Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -228,10 +228,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++)
diff --git a/etc/etc.x68k/MAKEDEV b/etc/etc.x68k/MAKEDEV
index 4d082f57864..0f542853a82 100644
--- a/etc/etc.x68k/MAKEDEV
+++ b/etc/etc.x68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.10 1997/09/16 03:03:05 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.11 1998/11/19 08:18:59 dugsong Exp $
# $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -34,7 +34,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: MAKEDEV,v 1.10 1997/09/16 03:03:05 deraadt Exp $
+# $Id: MAKEDEV,v 1.11 1998/11/19 08:18:59 dugsong Exp $
#
# from:
# hp300/MAKEDEV (1/15/94), from:
@@ -432,10 +432,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
(i=0; while [ $i -lt 16 ]; do
eval `printf "rm -f tty%s%x; mknod tty%s%x c 4 %d; \