summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1995-03-11 12:07:57 +0000
committerdufault <dufault@FreeBSD.org>1995-03-11 12:07:57 +0000
commit9b4b6386ecfab11f456999cadd482f36e97e6938 (patch)
tree1c44da7a807aacccd2b8ce83794b130fac8d19c4 /etc/MAKEDEV
parent9cd847bbf3ef6901312dafed46844ceaf4fdb5fd (diff)
downloadFreeBSD-src-9b4b6386ecfab11f456999cadd482f36e97e6938.zip
FreeBSD-src-9b4b6386ecfab11f456999cadd482f36e97e6938.tar.gz
Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't screw up ptys. Does anyone want to suggest a better name than "pt0" for SCSI processor devices before 2.1?
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 13c5ecb..1f4d49e 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -77,7 +77,7 @@
# spigot Video Spigot video aquisition card
# isdn* ISDN devices
#
-# $Id: MAKEDEV,v 1.76 1995/03/04 12:22:14 bde Exp $
+# $Id: MAKEDEV,v 1.77 1995/03/04 20:54:13 dufault Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@@ -398,8 +398,10 @@ worm*)
mknod worm$unit c 62 $unit
;;
-pt*)
- unit=`expr $i : 'pt\(.*\)'`
+# SCSI processor type driver
+pt[0-9]*)
+ unit=`expr $i : 'pt\([0-9][0-9]*\)'`
+ unit=`expr $unit + 1 - 1`
rm -f pt$unit
mknod pt$unit c 61 $unit
;;
OpenPOWER on IntegriCloud