* [PATCH] Udev integration: udev rules 3/3
@ 2009-04-08 12:41 Peter Rajnoha
0 siblings, 0 replies; only message in thread
From: Peter Rajnoha @ 2009-04-08 12:41 UTC (permalink / raw)
To: lvm-devel
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-08 12:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 12:41 [PATCH] Udev integration: udev rules 3/3 Peter Rajnoha
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.