Browse Source

90mdraid: remove mdadm_auto.sh completly

remove mdadm_auto.sh completly, because "mdadm -As --auto=yes" does not
add new appearing devices.
master
Harald Hoyer 13 years ago
parent
commit
dd03dea22e
  1. 9
      modules.d/90mdraid/65-md-incremental-imsm.rules
  2. 7
      modules.d/90mdraid/mdadm_auto.sh

9
modules.d/90mdraid/65-md-incremental-imsm.rules

@ -29,15 +29,6 @@ ENV{DEVTYPE}!="partition", \ @@ -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)

7
modules.d/90mdraid/mdadm_auto.sh

@ -1,7 +0,0 @@ @@ -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
Loading…
Cancel
Save