Mageia Bugzilla – Attachment 9867 Details for
Bug 22289
Error messages at update of dmraid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
/usr/lib/tmpfiles.d/dmraid.conf
dmraid.conf (text/plain), 599 bytes, created by
Hans Micheelsen
on 2017-12-30 21:24:05 CET
(
hide
)
Description:
/usr/lib/tmpfiles.d/dmraid.conf
Filename:
MIME Type:
Creator:
Hans Micheelsen
Created:
2017-12-30 21:24:05 CET
Size:
599 bytes
patch
obsolete
>#!/bin/bash ># ># Activation of dmraid sets. ># >. /etc/init.d/functions > >[ -z "${cmdline}" ] && cmdline=$(cat /proc/cmdline) > >if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then > modprobe dm-mirror >/dev/null 2>&1 > dmraidsets=$(LC_ALL=C /sbin/dmraid -s -c -i) > if [ "$?" = "0" ]; then > SAVEIFS=$IFS > IFS=$(echo -en "\n\b") > for dmname in $dmraidsets; do > if [[ "$dmname" == isw_* ]] && \ > ! strstr "$cmdline" noiswmd; then > continue > fi > /sbin/dmraid -ay -i --rm_partitions -p "$dmname" >/dev/null 2>&1 > /sbin/kpartx -u -a "/dev/mapper/$dmname" > done > IFS=$SAVEIFS > fi >fi
#!/bin/bash # # Activation of dmraid sets. # . /etc/init.d/functions [ -z "${cmdline}" ] && cmdline=$(cat /proc/cmdline) if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then modprobe dm-mirror >/dev/null 2>&1 dmraidsets=$(LC_ALL=C /sbin/dmraid -s -c -i) if [ "$?" = "0" ]; then SAVEIFS=$IFS IFS=$(echo -en "\n\b") for dmname in $dmraidsets; do if [[ "$dmname" == isw_* ]] && \ ! strstr "$cmdline" noiswmd; then continue fi /sbin/dmraid -ay -i --rm_partitions -p "$dmname" >/dev/null 2>&1 /sbin/kpartx -u -a "/dev/mapper/$dmname" done IFS=$SAVEIFS fi fi
View Attachment As Raw
Actions:
View
Attachments on
bug 22289
: 9867