summaryrefslogtreecommitdiff
path: root/modules.d/90mdraid
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-11-16 10:50:21 +0100
committerHarald Hoyer <harald@redhat.com>2011-11-16 10:50:21 +0100
commitdd03dea22e94de0e012e0fe4159ad22393f23936 (patch)
treead589701f1e0d8ff4c7a1a256576bd9cd4624136 /modules.d/90mdraid
parent0ec40e08d5649cc3f42d1b8af1ac49a28d1e6765 (diff)
downloaddracut-dd03dea22e94de0e012e0fe4159ad22393f23936.tar.gz
dracut-dd03dea22e94de0e012e0fe4159ad22393f23936.tar.bz2
dracut-dd03dea22e94de0e012e0fe4159ad22393f23936.zip
90mdraid: remove mdadm_auto.sh completly
remove mdadm_auto.sh completly, because "mdadm -As --auto=yes" does not add new appearing devices.
Diffstat (limited to 'modules.d/90mdraid')
-rw-r--r--modules.d/90mdraid/65-md-incremental-imsm.rules9
-rwxr-xr-xmodules.d/90mdraid/mdadm_auto.sh7
2 files changed, 0 insertions, 16 deletions
diff --git a/modules.d/90mdraid/65-md-incremental-imsm.rules b/modules.d/90mdraid/65-md-incremental-imsm.rules
index 139a5990..80e6aab7 100644
--- a/modules.d/90mdraid/65-md-incremental-imsm.rules
+++ b/modules.d/90mdraid/65-md-incremental-imsm.rules
@@ -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
index 9b61bf59..00000000
--- a/modules.d/90mdraid/mdadm_auto.sh
+++ /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