All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Rajnoha <prajnoha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Udev integration: udev rules 3/3
Date: Wed, 08 Apr 2009 14:41:14 +0200	[thread overview]
Message-ID: <49DC9B6A.7040206@redhat.com> (raw)

This is used for exceptional situations -- if the notification in the
rules before were not defined (so it's a simple fallback). This is
to prevent the hang of processes waiting for this notification.
Or, for example, for some reason, the user doesn't have LVM package
installed (and so he doesn't have LVM udev rules installed as well),
just the basic libdm/dmsetup and unfortunately creates a device with
the LVM (or any other subsystem) prefix. This could happen...

(this rule should be defined with the least priority)

Peter


# These rules are used to send any residual DM cookie notifications.

SUBSYSTEM!="block", GOTO="dm_end"
KERNEL!="dm-[0-9]*", GOTO="dm_end"
ACTION!="change|remove", GOTO="dm_end"

ENV{COOKIE}=="[0-9]*", RUN+="/sbin/dmsetup notify $env{COOKIE}", OPTIONS+="last_rule"

LABEL="dm_end"



                 reply	other threads:[~2009-04-08 12:41 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=49DC9B6A.7040206@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.