From: Peter Rajnoha <prajnoha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Udev integration: udev rules 1/3
Date: Thu, 09 Apr 2009 12:37:47 +0200 [thread overview]
Message-ID: <49DDCFFB.3050200@redhat.com> (raw)
In-Reply-To: <49DC99BA.8000205@redhat.com>
On 04/08/2009 02:34 PM, Peter Rajnoha wrote:
> ACTION=="change", TEST!="dm", IMPORT{PROGRAM}="/sbin/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o name"
...ehm, sorry, this should be:
ACTION=="change", TEST!="dm", IMPORT{PROGRAM}="/sbin/dmsetup info -j %M -m %m -c --nameprefixes --noheadings --rows -o name,uuid"
Missed the "uuid" field at the end -- otherwise the notification would
come prematurely in DM udev rule and not in LVM. We have to check this
uuid for prefix, and when there's an "LVM-" prefix, the notification
is done by the other rule -- the LVM one. This way it's correct.
Peter
next prev parent reply other threads:[~2009-04-09 10:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 12:34 [PATCH] Udev integration: udev rules 1/3 Peter Rajnoha
2009-04-09 10:37 ` Peter Rajnoha [this message]
2009-04-15 18:07 ` Alasdair G Kergon
2009-04-20 9:57 ` Peter Rajnoha
2009-04-21 19:52 ` Dave Wysochanski
2009-04-22 9:44 ` Peter Rajnoha
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=49DDCFFB.3050200@redhat.com \
--to=prajnoha@redhat.com \
--cc=lvm-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.