Skip to contentSkip to conversation

Filtering drivers and module events

DISCUSSION Marco d'Itri 2 participants 2 messages Jul 3, 2005

lore
Share & tools
lore
#0 lore raw
# do not call hotplug.d and dev.d for "drivers" and "module" events
SUBSYSTEM=="drivers",	OPTIONS="last_rule"
SUBSYSTEM=="module",	OPTIONS="last_rule"

# udev_run_hotplugd, udev_run_devd ...

Why are the last_rule rules not working? I see that the events are still being logged by the logger script in hotplug.d/default/.

Signature · 2 lines
ciao,
Marco
#1 lore raw
Quoted 8 lines · Marco d'Itri
# do not call hotplug.d and dev.d for "drivers" and "module" events
SUBSYSTEM="drivers",	OPTIONS="last_rule"
SUBSYSTEM="module",	OPTIONS="last_rule"

# udev_run_hotplugd, udev_run_devd ...

Why are the last_rule rules not working? I see that the events are still being logged by the logger script in hotplug.d/default/.

On "non-device events" udev reads only rules with RUN keys defined, so it ignores the OPTIONS. I will correct this now.

In the meantime, you may use RUN:="" to clear the list and make the RUN key unchangeable by later rules.

Thanks,
Kay

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel