]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90mdraid: remove mdadm_auto.sh completly
authorHarald Hoyer <harald@redhat.com>
Wed, 16 Nov 2011 09:50:21 +0000 (10:50 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 16 Nov 2011 09:50:21 +0000 (10:50 +0100)
remove mdadm_auto.sh completly, because "mdadm -As --auto=yes" does not
add new appearing devices.

modules.d/90mdraid/65-md-incremental-imsm.rules
modules.d/90mdraid/mdadm_auto.sh [deleted file]

index 139a59909dcf15640aa76507e8d22cb45715b58b..80e6aab7db52a22f3e5c4f7e537911f44aeb9ffe 100644 (file)
@@ -29,15 +29,6 @@ ENV{DEVTYPE}!="partition", \
 
 RUN+="/sbin/initqueue --timeout --name 50-mdraid_start --onetime --unique /sbin/mdraid_start"
 
-# if rd_MDADMCONF is set, do not assemble incrementally;
-# defer conf-based assembly until the udev queue is settled
-#
-ENV{rd_MDADMCONF}!="?*", GOTO="md_incremental"
-
-RUN+="/sbin/initqueue --settled --onetime --unique /sbin/mdadm_auto"
-
-GOTO="md_end"
-
 #
 # Incrementally build the md array; this will automatically assemble
 # any eventual containers as well (imsm, ddf)
diff --git a/modules.d/90mdraid/mdadm_auto.sh b/modules.d/90mdraid/mdadm_auto.sh
deleted file mode 100755 (executable)
index 9b61bf5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
-
-info "Autoassembling MD Raid"
-mdadm -As --auto=yes 2>&1 | vinfo