Last change
on this file since 777 was
503,
checked in by broder, 17 years ago
|
Fix multipath-tools' broken udev rule
|
File size:
413 bytes
|
Rev | Line | |
---|
[503] | 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 |
---|
| 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" |
---|
| 12 | |
---|
Note: See
TracBrowser
for help on using the repository browser.