From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Zeuthen Date: Thu, 24 Feb 2005 22:03:15 +0000 Subject: Re: replace dev.d/ with a rule based program execution Message-Id: <1109282596.3118.23.camel@daxter.boston.redhat.com> List-Id: References: <20050221181242.GA22891@vrfy.org> In-Reply-To: <20050221181242.GA22891@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, 2005-02-24 at 22:52 +0100, Kay Sievers wrote: >On Thu, 2005-02-24 at 22:04 +0100, Kay Sievers wrote: >>On Thu, 2005-02-24 at 15:45 -0500, David Zeuthen wrote: >>>On Thu, 2005-02-24 at 21:34 +0100, Kay Sievers wrote: >>>>HAL needs this only in the coldplug case, so what about letting udevinfo >>>>dumping a list of _all_ devpath -> node matches with a single call and >>>>HAL can merge all the names in one go into the device objects? >>> >>>That would work, yeah. >> >>So we should go for it? What format? Any options needed? >> >> $ udevinfo -d >> /block/fd0:/dev/fd0 >> /block/hda:/dev/hda >> /class/input/mice:/dev/input/mice >> /class/mem/null:/dev/null >> ... > >Something stupid like this? It dumps all my ~700 devices in 0.02 >seconds. :) Looks good to me; thanks a lot! Cheers, David ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&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