mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
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
5dad287ead
commit
a1b8d6bad1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7000
@ -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