From: Peter Rajnoha <prajnoha@redhat.com>
To: lvm-devel@redhat.com
Subject: Do not decode DM flags for device removal
Date: Mon, 25 Jul 2011 13:16:08 +0200 [thread overview]
Message-ID: <4E2D5078.5000701@redhat.com> (raw)
In-Reply-To: <4E2D4EE6.5010204@redhat.com>
On 07/25/2011 01:09 PM +0100, Peter Rajnoha wrote:
> So I'd say fine for now, but once there's a hook on REMOVE event anywhere,
> expecting the flags to be decoded, we need to take care of proper dependencies
> (among foreign packages vs. libdevmapper) if we revert this change back then.
>
...though the only use I can imagine is that some libudev listener has
registered the device internally and then it needs to unregister it on
REMOVE. There's no point in running any scan from within udev rules on
that event since the device is already gone.
So doing some action on REMOVE event is possible and allowed, but its
use in the future is quite negligible and less probable...
Peter
prev parent reply other threads:[~2011-07-25 11:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 14:31 Do not decode DM flags for device removal Zdenek Kabelac
2011-07-25 11:09 ` Peter Rajnoha
2011-07-25 11:16 ` Peter Rajnoha [this message]
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=4E2D5078.5000701@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.