summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-09-05 15:53:39 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-09-05 15:53:39 +0000
commitb215595560d4ccf8b2fab15bdbeec60f8819995f (patch)
tree95537b1570e22848611841228350b481c057cf73 /etc/MAKEDEV
parent0fb7dcb49c33185f4ee4ab47a14792c750e147ed (diff)
downloadFreeBSD-src-b215595560d4ccf8b2fab15bdbeec60f8819995f.zip
FreeBSD-src-b215595560d4ccf8b2fab15bdbeec60f8819995f.tar.gz
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.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV23
1 files changed, 11 insertions, 12 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index c43d26a..5d735c8 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -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)
OpenPOWER on IntegriCloud