IDE cd fixes:

wcd?a is missing
wrong partition number was used for wcd?c
This commit is contained in:
Andrey A. Chernov 1996-06-07 15:47:15 +00:00
parent a590cd439e
commit 62d543821c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16170
2 changed files with 10 additions and 6 deletions

View File

@ -99,7 +99,7 @@
# labpc* National Instrument's Lab-PC and LAB-PC+
# perfmon CPU performance-monitoring counters
#
# $Id: MAKEDEV,v 1.117 1996/05/02 09:15:57 jkh Exp $
# $Id: MAKEDEV,v 1.118 1996/05/03 05:37:34 asami Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -662,8 +662,10 @@ wcd*)
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`
mknod wcd${unit}a b $blk `expr $unit '*' 8 + 0`
mknod rwcd${unit}a c $chr `expr $unit '*' 8 + 0`
mknod wcd${unit}c b $blk `expr $unit '*' 8 + 2`
mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 2`
chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h]
chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h]
;;

View File

@ -99,7 +99,7 @@
# labpc* National Instrument's Lab-PC and LAB-PC+
# perfmon CPU performance-monitoring counters
#
# $Id: MAKEDEV,v 1.117 1996/05/02 09:15:57 jkh Exp $
# $Id: MAKEDEV,v 1.118 1996/05/03 05:37:34 asami Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -662,8 +662,10 @@ wcd*)
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`
mknod wcd${unit}a b $blk `expr $unit '*' 8 + 0`
mknod rwcd${unit}a c $chr `expr $unit '*' 8 + 0`
mknod wcd${unit}c b $blk `expr $unit '*' 8 + 2`
mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 2`
chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h]
chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h]
;;