aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-02-06 11:16:03 -0500
committerBill Nottingham <notting@redhat.com>2009-02-06 11:16:03 -0500
commit9871eb65a9ceac563ee74dc37be0f3b67597f433 (patch)
treeaa2d67270ed7ac1a937c23c8d63cd372e391e75f
parent3c4fcebbc996d455e490b71713a3e3d91a3bab28 (diff)
downloadinitscripts-9871eb65a9ceac563ee74dc37be0f3b67597f433.tar
initscripts-9871eb65a9ceac563ee74dc37be0f3b67597f433.tar.gz
initscripts-9871eb65a9ceac563ee74dc37be0f3b67597f433.tar.bz2
initscripts-9871eb65a9ceac563ee74dc37be0f3b67597f433.tar.xz
initscripts-9871eb65a9ceac563ee74dc37be0f3b67597f433.zip
Use the same arguments for kpartx that we do in rc.sysinit.
Noticed when reviewing (#448919)
-rwxr-xr-xrc.d/init.d/netfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index ce01cc18..e787da8b 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -49,7 +49,7 @@ case "$1" in
modprobe dm-multipath >/dev/null 2>&1
/sbin/multipath -v 0
if [ -x /sbin/kpartx ]; then
- /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a"
+ /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p"
fi
fi
if [ -x /sbin/lvm ]; then