aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Vinichenko <oleg@funtoo.org>2013-08-14 12:49:30 +0000
committerOleg Vinichenko <oleg@funtoo.org>2013-08-14 12:49:30 +0000
commitfe52399fe4c5c0fb0172dc35cdb8f91eda0f44bc (patch)
treea969c53f6378b878a93a2106ea5857894a233a1f
parentFL-663: genkernel-3.4.40.6 (diff)
downloadgenkernel-fe52399fe4c5c0fb0172dc35cdb8f91eda0f44bc.tar.gz
genkernel-fe52399fe4c5c0fb0172dc35cdb8f91eda0f44bc.tar.bz2
genkernel-fe52399fe4c5c0fb0172dc35cdb8f91eda0f44bc.zip
Revert "FL-663: add dmraid fixes by Alexandre Pereira"
This reverts commit d79330fae28ef2fe86cd3be044402e8db27c0493.
-rwxr-xr-xdefaults/initrd.scripts6
1 files changed, 2 insertions, 4 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 5ce35e6..bc41951 100755
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -630,12 +630,10 @@ startVolumes() {
good_msg "Activating Device-Mapper RAID(s)"
if [ '${DMRAID_OPTS}' = '' ]
then
- /sbin/dmraid -ay -p
+ /sbin/dmraid -ay
else
- /sbin/dmraid -ay ${DMRAID_OPTS} -p
+ /sbin/dmraid -ay ${DMRAID_OPTS}
fi
- partprobe
- for x in /dev/mapper/pdc* ; do kpartx -a $x ; done
fi
fi