All of lore.kernel.org
 help / color / mirror / Atom feed
* udev.rules template for dm.
@ 2006-05-01 21:55 Nitin Vengurlekar
  0 siblings, 0 replies; only message in thread
From: Nitin Vengurlekar @ 2006-05-01 21:55 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 652 bytes --]

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"



[-- Attachment #1.2: Type: text/html, Size: 1649 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-01 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01 21:55 udev.rules template for dm Nitin Vengurlekar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.