Skip to contentSkip to conversation

Recognize nodmraid and noiswmd kernel cmdline options

PATCH New Hans de Goede 1 participant 1 message Sep 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Recognize nodmraid and noiswmd kernel cmdline options

Recognize nodmraid and noiswmd kernel cmdline options, for anaconda / rc.sysinit / mkinitrd compatibility.

---
 modules.d/90dmraid/parse-dm.sh |    3 ++-
 modules.d/90mdraid/parse-md.sh |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)
modules.d/90dmraid/parse-dm.sh +2 -1
index 07208a5..f031569 100644
@@ -1,4 +1,5 @@
-if getarg rd_NO_DM; then
+# nodmraid for anaconda / rc.sysinit compatibility
+if getarg rd_NO_DM || getarg nodmraid; then
     info "rd_NO_DM: removing DM RAID activation"
     udevproperty rd_NO_DM=1
 fi
modules.d/90mdraid/parse-md.sh +3 -1
index cf9298f..6e2a3bf 100644
@@ -30,7 +30,9 @@ if [ -e /etc/mdadm.conf ] && ! getarg rd_NO_MDADMCONF; then
     rm -f /pre-pivot/*mdraid-cleanup.sh
 fi
 
-if getarg rd_NO_MDIMSM; then
+# noiswmd nodmraid for anaconda / rc.sysinit compatibility
+# note nodmraid really means nobiosraid, so we don't want MDIMSM then either
+if getarg rd_NO_MDIMSM || getarg noiswmd || getarg nodmraid; then
     info "rd_NO_MDIMSM: no MD RAID for imsm/isw raids"
     udevproperty rd_NO_MDIMSM=1
 fi
Signature · 6 lines
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html