From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 11 Mar 2004 18:37:16 +0000 Subject: Re: udev and dbus Message-Id: <1079030236.1127.166.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 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 :) > Lots of people have been asking me about the ability to run "post" type > scripts after udev has named the device (or removed it.) With this > proposal, people could get those udev messages easily (actually multiple > people could, which is even better.) It would also allow us to rip out > both the SELinux and DBUS code from udev itself and implement those with > /etc/udev.d/ programs instead. Yes, perfectly right, but we can do it with /sbin/hotplug. Just make udevsend not return until the nodes are created. And then call anything you like. > Which, in the end, would make udev itself simpler, and more resilient > over time for new requests from new programs/system notification > buses/security models/etc... > > Does that make more sense? No. :) 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