mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
Device entry for IDE CDROM driver.
Submitted by: Serge Vakulenko <vak@cronyx.ru>
This commit is contained in:
parent
6788ce49a0
commit
736267d692
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10098
22
etc/MAKEDEV
22
etc/MAKEDEV
@ -87,7 +87,7 @@
|
||||
# isdn* ISDN devices
|
||||
# labpc* National Instrument's Lab-PC and LAB-PC+
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.100 1995/08/01 13:15:52 jkh Exp $
|
||||
# $Id: MAKEDEV,v 1.101 1995/08/13 22:05:51 peter Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -617,6 +617,26 @@ matcd*)
|
||||
umask 77
|
||||
;;
|
||||
|
||||
wcd*)
|
||||
umask 2 ;
|
||||
unit=`expr $i : '...\(.*\)'`
|
||||
blk=19
|
||||
chr=69
|
||||
rm -f wcd$unit? rwcd$unit?
|
||||
case $unit in
|
||||
0|1|2|3)
|
||||
mknod wcd${unit}c b $blk `expr $unit '*' 8 + 0`
|
||||
mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 0`
|
||||
chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h]
|
||||
chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h]
|
||||
;;
|
||||
*)
|
||||
echo bad unit for disk in: $i
|
||||
;;
|
||||
esac
|
||||
umask 77
|
||||
;;
|
||||
|
||||
lpt*)
|
||||
unit=`expr $i : 'lpt\(.*\)'`
|
||||
rm -f lpt$unit
|
||||
|
@ -87,7 +87,7 @@
|
||||
# isdn* ISDN devices
|
||||
# labpc* National Instrument's Lab-PC and LAB-PC+
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.100 1995/08/01 13:15:52 jkh Exp $
|
||||
# $Id: MAKEDEV,v 1.101 1995/08/13 22:05:51 peter Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||
@ -617,6 +617,26 @@ matcd*)
|
||||
umask 77
|
||||
;;
|
||||
|
||||
wcd*)
|
||||
umask 2 ;
|
||||
unit=`expr $i : '...\(.*\)'`
|
||||
blk=19
|
||||
chr=69
|
||||
rm -f wcd$unit? rwcd$unit?
|
||||
case $unit in
|
||||
0|1|2|3)
|
||||
mknod wcd${unit}c b $blk `expr $unit '*' 8 + 0`
|
||||
mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 0`
|
||||
chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h]
|
||||
chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h]
|
||||
;;
|
||||
*)
|
||||
echo bad unit for disk in: $i
|
||||
;;
|
||||
esac
|
||||
umask 77
|
||||
;;
|
||||
|
||||
lpt*)
|
||||
unit=`expr $i : 'lpt\(.*\)'`
|
||||
rm -f lpt$unit
|
||||
|
Loading…
Reference in New Issue
Block a user