Replaced all references to comxx with ttyxx, since that is what all the

other tools really want.

Targets sio*) and com*) now create entry named ttyxx, default setup with
a sh MAKEDEV all is to use the sio major numbers, com is all but depreicated
now.
This commit is contained in:
Rodney W. Grimes 1993-09-05 15:53:39 +00:00
parent 70e4f67214
commit d4b418db87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=388
2 changed files with 22 additions and 24 deletions

View File

@ -44,9 +44,9 @@
# vty* virtual console devices for codrv (cleans up pc devices)
#
# Terminal ports:
# com* standard PC COM ports
# tty* alias for PC COM ports, this is what the system really wants
# sio* fast interrupt PC COM ports
# com* standard PC COM ports (really makes tty* entries for com)
# sio* fast interrupt PC COM ports (really makes tty* entries for sio)
# tty* alias for sio ports, this is what the system really wants
#
# Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals
@ -64,7 +64,7 @@
# speaker pc speaker
# tw* xten power controller
#
# $Id$
# $Id: MAKEDEV,v 1.5 1993/08/30 07:48:38 rgrimes Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -149,12 +149,11 @@ as*|fd*|sd*|wd*)
umask 77
;;
com*|tty*)
com*)
unit=`expr $i : '...\(.*\)'`
rm -f com0$unit tty0$unit
mknod com0$unit c 8 $unit
rm -f tty0$unit
mknod tty0$unit c 8 $unit
chown uucp.wheel com0$unit tty0$unit
chown uucp.wheel tty0$unit
;;
pty*)
@ -360,11 +359,11 @@ speaker)
chown root.wheel speaker
;;
sio*)
sio*|tty*)
unit=`expr $i : '...\(.*\)'`
rm -f sio0$unit
mknod sio0$unit c 28 $unit
chown uucp.wheel sio0$unit
rm -f tty0$unit
mknod tty0$unit c 28 $unit
chown uucp.wheel tty0$unit
;;
local)

View File

@ -44,9 +44,9 @@
# vty* virtual console devices for codrv (cleans up pc devices)
#
# Terminal ports:
# com* standard PC COM ports
# tty* alias for PC COM ports, this is what the system really wants
# sio* fast interrupt PC COM ports
# com* standard PC COM ports (really makes tty* entries for com)
# sio* fast interrupt PC COM ports (really makes tty* entries for sio)
# tty* alias for sio ports, this is what the system really wants
#
# Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals
@ -64,7 +64,7 @@
# speaker pc speaker
# tw* xten power controller
#
# $Id$
# $Id: MAKEDEV,v 1.5 1993/08/30 07:48:38 rgrimes Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -149,12 +149,11 @@ as*|fd*|sd*|wd*)
umask 77
;;
com*|tty*)
com*)
unit=`expr $i : '...\(.*\)'`
rm -f com0$unit tty0$unit
mknod com0$unit c 8 $unit
rm -f tty0$unit
mknod tty0$unit c 8 $unit
chown uucp.wheel com0$unit tty0$unit
chown uucp.wheel tty0$unit
;;
pty*)
@ -360,11 +359,11 @@ speaker)
chown root.wheel speaker
;;
sio*)
sio*|tty*)
unit=`expr $i : '...\(.*\)'`
rm -f sio0$unit
mknod sio0$unit c 28 $unit
chown uucp.wheel sio0$unit
rm -f tty0$unit
mknod tty0$unit c 28 $unit
chown uucp.wheel tty0$unit
;;
local)