Messages in this thread | | | Subject | Re: [patch] kernel sysfs events layer | From | Robert Love <> | Date | Sat, 04 Sep 2004 23:01:41 -0400 |
| |
On Sun, 2004-09-05 at 04:18 +0200, Kay Sievers wrote:
> If we add this to the kobject_hotplug function, how do we prevent the > execution of /sbin/hotplug for ksets that have positive hotplug filters?
Ah, another good point.
> So I've created a new function for now: > int kobj_notify(const char *signal, struct kobject *kobj, struct attribute *attr) > which can be used from the subsystems. This function is also called for > the normal /sbin/hotplug event. (The subsystems may provide a additional > environment for the /sbin/hotplug events, this is ignored by now.)
This is basically the last patch I posted, with the removel of "enum kevent" and the addition of struct attribute *attr".
Which is exactly what I want. ;-)
Best,
Robert Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |