[multipath] workaround for a dmsetup bug in multipath.rules
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 10:00:41 +0000 (12:00 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 10:00:41 +0000 (12:00 +0200)
dmsetup -n flag does not suppress the heading, as the manual suggests
it should. Though --noheadings works, so use that instead.

multipath/multipath.rules

index 3f1ac9c..2443537 100644 (file)
@@ -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-*", \