[PATCH] ida.0 (just like dac960.0)
Package: makedev
Version: 2.3.1-33
Severity: normal
Just like dac960.0, for boot-floppies, we need ida.0 devices. I've
included a patch (doesn't include indentation changes).
I've set this bug at severity normal but if we could take care of this
quickly it would help boot-floppies.
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
--- /sbin/MAKEDEV Tue Nov 16 05:20:48 1999
+++ /tmp/MAKEDEV Fri Nov 26 14:12:50 1999
@@ -1033,26 +1033,30 @@
done
;;
ida)
+ for ctr in 0 1 2 # 3 4 5 6 7
+ do
+ $0 $opts ida.$ctr
+ done
+ ;;
+ ida.[0-7])
[ -d ida ] || {
mkdir ida
chown root.root ida
chmod 755 ida
}
- for ctr in 0 1 2 # 3 4 5 6 7
- do
- major=`math 72 + $ctr`
+ unit=`suffix $arg ida.`
+ major=`math 72 + $unit`
minor=0
for ld in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
- makedev ida/c${ctr}d${ld} b $major $minor $disk
+ makedev ida/c${unit}d${ld} b $major $minor $disk
minor=`math minor + 1`
for part in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
- makedev ida/c${ctr}d${ld}p$part b $major $minor $disk
+ makedev ida/c${unit}d${ld}p$part b $major $minor $disk
minor=`math minor + 1`
done
done
- done
;;
rom)
major=`Major rom 31`
Reply to: