raid456

Curtis Doty Curtis at GreenKey.net
Fri Sep 28 20:27:36 UTC 2007


10:40am Curtis Doty said:

> Am I the only one noticing that the raid456 module and all its deps are 
> getting dragged in when only raid1 is desired?
>

Answering my own question with a teeny patch. Apolgies for the noise, I 
just can't see the wisdom in the prior code and what I might have b0rk.

../C

--- mkinitrd.ORIG	2007-09-25 06:41:47.000000000 -0700
+++ mkinitrd	2007-09-28 13:24:05.000000000 -0700
@@ -683,8 +683,11 @@ handleraid() {
              findmodule multipath
              start=1
              ;;
-        raid[01456] | raid10)
+        raid[01] | raid10)
              findmodule $level
+            start=1
+            ;;
+        raid[456])
              findmodule raid456
              start=1
              ;;




More information about the fedora-devel-list mailing list