1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Device entry for IDE CDROM driver.

Submitted by:	Serge Vakulenko <vak@cronyx.ru>
This commit is contained in:
Jordan K. Hubbard 1995-08-18 11:29:05 +00:00
parent 6788ce49a0
commit 736267d692
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10098
2 changed files with 42 additions and 2 deletions

View File

@ -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

View File

@ -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