- New upstream version: 3.2.4. /run/mdadm is not

used for runtime files, not /var/run or /dev/.mdadm.

OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=52
This commit is contained in:
Neil Brown
2012-05-09 01:23:18 +00:00
committed by Git OBS Bridge
parent 7fd8d96f2b
commit 6904a50cd2
7 changed files with 19 additions and 1036 deletions

View File

@@ -18,11 +18,8 @@
# load the necessary module before we initialize the raid system
load_modules
# put the mdmon socked and pid file to /dev/.mdadm
rm -rf /var/run/mdadm
mkdir -p /var/run
ln -s /dev/.mdadm /var/run/mdadm
mkdir -p /dev/.mdadm
# Create dir for socket and pid files
mkdir -p /run/mdadm
[ "$mduuid" ] && md_uuid="$mduuid"
md_major=$(sed -ne 's/\s*\([0-9]\+\)\s*md$/\1/p' /proc/devices)