From 01e62afa47a520fcfcb4a102cc7c40e3d6dda5fa Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Fri, 30 Sep 2005 12:00:41 +0200 Subject: [PATCH] [multipath] workaround for a dmsetup bug in multipath.rules dmsetup -n flag does not suppress the heading, as the manual suggests it should. Though --noheadings works, so use that instead. --- multipath/multipath.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipath/multipath.rules b/multipath/multipath.rules index 3f1ac9c..2443537 100644 --- a/multipath/multipath.rules +++ b/multipath/multipath.rules @@ -10,7 +10,7 @@ #ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \ # PROGRAM="/sbin/devmap_name %M %m" ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \ - PROGRAM="dmsetup -j %M -m %m --noopencount -n -c -o name info" + PROGRAM="dmsetup -j %M -m %m --noopencount --noheadings -c -o name info" # take care of devmap partitioning ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \ -- 2.7.4