#!/bin/sh
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
containers=""
for md in /dev/md[0-9_]*; do
[ -b "$md" ] || continue
udevinfo="$(udevadm info --query=env --name=$md)"
strstr "$udevinfo" "DEVTYPE=partition" && continue
if strstr "$udevinfo" "MD_LEVEL=container"; then
containers="$containers $md"
continue
fi
mdadm -S "$md" >/dev/null 2>&1
done
for md in $containers; do
mdadm -S "$md" >/dev/null 2>&1
done
unset containers udevinfo
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 59-persistent-storage-md.rules | File | 842 B | 0644 |
|
| 65-md-incremental-imsm.rules | File | 1.42 KB | 0644 |
|
| md-noddf.sh | File | 88 B | 0755 |
|
| md-noimsm.sh | File | 90 B | 0755 |
|
| md-shutdown.sh | File | 457 B | 0755 |
|
| mdmon-pre-shutdown.sh | File | 229 B | 0755 |
|
| mdmon-pre-udev.sh | File | 130 B | 0755 |
|
| mdraid-cleanup.sh | File | 493 B | 0755 |
|
| mdraid-needshutdown.sh | File | 155 B | 0755 |
|
| mdraid-waitclean.sh | File | 691 B | 0755 |
|
| mdraid_start.sh | File | 1.79 KB | 0755 |
|
| module-setup.sh | File | 4.56 KB | 0755 |
|
| parse-md.sh | File | 2.54 KB | 0755 |
|