[dm-devel] udev.rules template for dm.

Nitin Vengurlekar nitin.vengurlekar at oracle.com
Mon May 1 21:55:34 UTC 2006


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"


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060501/b52066a1/attachment.htm>


More information about the dm-devel mailing list