source: branches/wsgi/packages/sipb-xen-clvm-config/files/etc/udev/multipath.rules.sipb-xen @ 2259

Last change on this file since 2259 was 503, checked in by broder, 17 years ago

Fix multipath-tools' broken udev rule

File size: 413 bytes
Line 
1#
2# multipath and multipath partitions nodes are created in /dev/mapper/
3# this file should be installed in /etc/udev/rules.d
4#
5
6# take care of devmap partitioning
7ACTION=="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"
12
Note: See TracBrowser for help on using the repository browser.