From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 11 Apr 2006 17:31:33 +0000 Subject: Re: get user socket message - some example Message-Id: <20060411173133.GA32732@vrfy.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Apr 11, 2006 at 06:58:51PM +0300, Mark Ryden wrote: > Hello, > I had looked at the code of uded.c > I udnerstand that when get kernel messages we call > get_netlink_msg(). > This messages are sent when events like adding/removing a device or > repartitioning of a disk occur. The kernel is responsoble to send them. > > As I understand, there when we get user socket message qw call get_udevd_msg(). > > My question are: I understand that these events are generated > from user space. Can you give example for generating such a user space event > which will call get_udevd_msg() ? udevcontrol sends messages over this socket. Real event messages have been sent over this socket in the past from udevsend executed by /sbin/hotplug, but that codepath is dead and no longer used. Kay ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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