[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: raid456



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]