From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 11 Mar 2004 18:47:01 +0000 Subject: Re: udev and dbus Message-Id: <20040311184701.GF19467@kroah.com> 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, Mar 11, 2004 at 07:37:16PM +0100, 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: > > > 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 :) udevinfo will not work for a device node that has just gone away :( > > 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. But this would involve changing the hotplug scripts to call udevsend first, right? That's a policy decision I can make as a developer of the hotplug scripts, but one that I don't think is very fair to other projects that use the hotplug scripts. thanks, greg k-h ------------------------------------------------------- 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