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?
This commit is contained in:
parent
2ad98a276a
commit
ae68db153f
@ -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
|
||||
;;
|
||||
|
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user