diff options
author | dufault <dufault@FreeBSD.org> | 1995-03-11 12:07:57 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-03-11 12:07:57 +0000 |
commit | 9b4b6386ecfab11f456999cadd482f36e97e6938 (patch) | |
tree | 1c44da7a807aacccd2b8ce83794b130fac8d19c4 /etc/etc.i386 | |
parent | 9cd847bbf3ef6901312dafed46844ceaf4fdb5fd (diff) | |
download | FreeBSD-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/etc.i386')
-rw-r--r-- | etc/etc.i386/MAKEDEV | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 13c5ecb..1f4d49e 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/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 ;; |