summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-31 00:21:41 +0000
committermsmith <msmith@FreeBSD.org>2000-10-31 00:21:41 +0000
commit32bfa9aed6b3a4396c5bcbf848401b065d0ad56c (patch)
treede066539e7874e6a45279524683d85303d99de2e /etc
parent6b4867d2a7d639c7f06420e96e4c7704a1a1ef0e (diff)
downloadFreeBSD-src-32bfa9aed6b3a4396c5bcbf848401b065d0ad56c.zip
FreeBSD-src-32bfa9aed6b3a4396c5bcbf848401b065d0ad56c.tar.gz
Move 'tw*' after 'twe*' so that it's possible to create the control device
for the 'twe' driver. This is an expedient solution for an actually-manifesting symptom of a major problem with MAKEDEV. Roll on DEVFS.
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 866debc..5f18ae3 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -1030,11 +1030,6 @@ lpt*)
mknod lpctl$unit c 16 `unit2minor \`expr $unit + 128\``
;;
-tw*)
- unit=`expr $i : 'tw\(.*\)'`
- mknod tw$unit c 19 `unit2minor $unit` root:operator
- ;;
-
# Use this to create virtual consoles for syscons, pcvt or codrv
# ttyv0-b
# use as MAKEDEV vtyNN to create NN entries
@@ -1647,6 +1642,11 @@ twe*)
mknod twe$unit c 146 `unit2minor $unit`
;;
+tw*)
+ unit=`expr $i : 'tw\(.*\)'`
+ mknod tw$unit c 19 `unit2minor $unit` root:operator
+ ;;
+
local)
umask 0 # XXX should be elsewhere
sh MAKEDEV.local
OpenPOWER on IntegriCloud