linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Calling kobject_uevent directly
@ 2007-11-07  5:52 Tom
  2007-11-07  6:53 ` Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tom @ 2007-11-07  5:52 UTC (permalink / raw)
  To: linux-hotplug

For devices with attributes that may change, is it "correct" to call
kobject_uevent directly with KOBJ_CHANGE in order to notify userspace?

(This appears to be the behavior used in the drivers/mmc/host/omap.c driver)

The KOBJ_ADD and KOBJ_REMOVE actions have comments saying "exclusive
to core". Is this policy or is there a technical reason?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-08 22:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07  5:52 Calling kobject_uevent directly Tom
2007-11-07  6:53 ` Greg KH
2007-11-07 11:17 ` Kay Sievers
2007-11-07 23:37 ` Tom
2007-11-08  0:07 ` Kay Sievers
2007-11-08 22:35 ` Tom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).