mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 00:22:48 +00:00
IDE cd fixes:
wcd?a is missing wrong partition number was used for wcd?c
This commit is contained in:
parent
a590cd439e
commit
62d543821c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16170
@ -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]
|
||||
;;
|
||||
|
@ -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]
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user