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