[arch-projects] [INITSCRIPTS][PATCH 2/2] Disable Soft Raid (mdadm) detection in initscipts.
Dave Reisner
d at falconindy.com
Sun Apr 3 11:04:40 EDT 2011
On Sun, Apr 03, 2011 at 04:55:14PM +0200, Sebastien Luttringer wrote:
> This job is done by recent version of udev in /lib/udev/rules.d/64-md-raid.rules.
this comes from mdadm, not udev. It's also only triggered if the
partitions are of type linux_raid_member or isw_raid_member. If this
were to go through, we'd have a lot of people banging on our doors, so to
speak..
dave
>
> 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