All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nitin Vengurlekar <nitin.vengurlekar@oracle.com>
To: dm-devel@redhat.com
Subject: udev.rules template for dm.
Date: Mon, 01 May 2006 16:55:34 -0500	[thread overview]
Message-ID: <445683D6.6070307@oracle.com> (raw)


[-- 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 --]



                 reply	other threads:[~2006-05-01 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=445683D6.6070307@oracle.com \
    --to=nitin.vengurlekar@oracle.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.