udev.rules template for dm.
I'm configuring dm w/ udev, everything is working great! Just one question:
when I saw the udev.rules file, it had the following in it, is this the default (did it get configured by the dm install)? Also cant a more simple template be used ?
thx in advance.
KERNEL="dm-[0-9]*", PROGRAM="/sbin/dmsetup ls --target multipath --exec basename -j %M -m %m", RESULT="?*", NAME="%k", SYMLINK="mpath/%c"
KERNEL="dm-[0-9]*", PROGRAM="dmsetup info -c --noheadings -j %M -m %m | grep -q .*:.*:.*:.*:.*:.*:.*:part[0-9]*-mpath-", PROGRAM="/sbin/dmsetup ls --target line ar --exec basename -j %M -m %m", RESULT="?*", NAME="%k", SYMLINK="mpath/%c"