From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 14 Mar 2004 20:06:32 +0000 Subject: Re: udev and dbus Message-Id: <1079294792.1762.5.camel@pim> List-Id: References: <20040217214449.GB12411@wonderland.linux.it> In-Reply-To: <20040217214449.GB12411@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, 2004-03-14 at 20:59, Olaf Hering wrote: > On Thu, Mar 11, Kay Sievers wrote: > > > On Thu, 2004-03-11 at 19:32, Greg KH wrote: > > > On Thu, Mar 11, 2004 at 07:12:55PM +0100, Kay Sievers wrote: > > > > > > > > I expect lot of lazy people to put their scripts in there, cause it's so > > > > comfortable to live inside the serialized hotplug events. > > > > > > But people want to know about the device node creation and removal, they > > > don't care about the "raw" hotplug events. They want udev to handle the > > > raw hotplug events for them. > > > > I don't agree. > > > > > > Something like this: > > > > "Nice, I can mount my USB-stick with udev.d/ right after udev has > > > > created my partition node, cause the scsi.agent was too fast..." > > > > > > No, how can scsi.agent know about what the device node name was? It > > > can't. > > > > udevinfo! That's what it's made for :) > > what about nodes="`UDEV_PRINT_NODES=1 udev $1`" > which fills $nodes will the name and the symlinks for DEVPATH? This can > work for add and remove events. It will not work. udev is executed by udevd after getting the message from udevsend. What's the problem with asking the db if you need the names? thanks, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ 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