[arch-projects] [INITSCRIPTS][PATCH 2/2] Disable Soft Raid (mdadm) detection in initscipts.

Sebastien Luttringer seblu at seblu.net
Sun Apr 3 10:55:14 EDT 2011


This job is done by recent version of udev in /lib/udev/rules.d/64-md-raid.rules.

This will also fix FS#20117.

Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
 rc.conf    |    3 ---
 rc.sysinit |    5 -----
 2 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/rc.conf b/rc.conf
index e4751ca..7d03a30 100644
--- a/rc.conf
+++ b/rc.conf
@@ -42,9 +42,6 @@ MODULES=()
 # Udev settle timeout (default to 30)
 UDEV_TIMEOUT=30
 
-# Scan for SoftRAID (mdadm) Volumes at startup
-USEMDADM="no"
-
 # Scan for FakeRAID (dmraid) Volumes at startup
 USEDMRAID="no"
 
diff --git a/rc.sysinit b/rc.sysinit
index 575dfbc..c79f263 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -109,11 +109,6 @@ run_hook sysinit_udevsettled
 [[ -d /sys/class/net/lo ]] && \
     status "Bringing up loopback interface" /sbin/ifconfig lo 127.0.0.1 up
 
-# SoftRAID devices detection
-if [[ $USEMDADM =~ yes|YES && -x /sbin/mdadm ]]; then
-	status "Activating SoftRAID arrays" /sbin/mdadm --assemble --scan
-fi
-
 # FakeRAID devices detection
 if [[ $USEDMRAID =~ yes|YES && -x /sbin/dmraid ]]; then
 	status "Activating FakeRAID arrays" /sbin/dmraid -i -ay
-- 
Sebastien "Seblu" Luttringer



More information about the arch-projects mailing list