summaryrefslogtreecommitdiff
path: root/etc/etc.arc/MAKEDEV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-09 00:25:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-09 00:25:04 +0000
commitae2b0f068e8487cdd668c652e8e969357e1956ac (patch)
tree94c6747390bf0fd88c2e6b4eacd45fe2a2eb2455 /etc/etc.arc/MAKEDEV
parent7dea7c7707e6dc178cbf9dfc8d60d1a185b2f977 (diff)
console device becomes ttyC0 (ttyC0-9 for pcvt) to avoid pty conflict
Diffstat (limited to 'etc/etc.arc/MAKEDEV')
-rw-r--r--etc/etc.arc/MAKEDEV18
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV
index 20804033413..6664b2e5e05 100644
--- a/etc/etc.arc/MAKEDEV
+++ b/etc/etc.arc/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.1 1996/07/30 20:42:43 pefo Exp $
+# $OpenBSD: MAKEDEV,v 1.2 1996/08/09 00:25:01 deraadt Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
@@ -20,7 +20,7 @@
# ccd* contatenated disk devices
#
# Console ports:
-# ttyv0 pccons
+# ttyC0 pccons
#
# Pointing devices:
# pms* PS/2 compatible mouse
@@ -53,7 +53,7 @@ case $i in
all)
sh MAKEDEV std fd fd0 sd0 sd1 sd2 st0 cd0 tty0 tty1 pty0 pty1
- sh MAKEDEV ttyv0 lpt0 pms0 rnd local
+ sh MAKEDEV ttyC0 lpt0 pms0 rnd local
;;
std)
@@ -70,15 +70,15 @@ std)
mknod stderr c 7 2 ; chmod 666 stderr
;;
-ttyv*)
- unit=`expr $i : 'ttyv\(.*\)'`
- rm -f ttyv$unit
- mknod ttyv$unit c 14 $unit
- chown root.wheel ttyv$unit
+ttyC*)
+ unit=`expr $i : 'ttyC\(.*\)'`
+ rm -f ttyC$unit
+ mknod ttyC$unit c 14 $unit
+ chown root.wheel ttyC$unit
case $unit in
0)
rm -f pccons
- ln -s ttyv0 pccons
+ ln -s ttyC0 pccons
;;
esac
;;