--- /dev/null
+#
+# multipath and multipath partitions nodes are created in /dev/mapper/
+# this file should be installed in /etc/udev/rules.d
+#
+
+# take care of devmap partitioning
+ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \
+ PROGRAM="/sbin/dmsetup -j %M -m %m status", \
+ RESULT=="*multipath*", \
+ PROGRAM="/sbin/dmsetup -j %M -m %m --noopencount --noheadings -c -o name info", \
+ RUN+="/sbin/kpartx -a /dev/mapper/%c"
+