From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Kagan Date: Wed, 16 Feb 2005 15:17:10 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 001 release Message-Id: <20050216151710.GI2360@katya> List-Id: References: <20050211004033.GA26624@suse.de> In-Reply-To: <20050211004033.GA26624@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Feb 16, 2005 at 01:37:41PM +0100, Kay Sievers wrote: > Be aware that we need this functionality inside of udev too, cause udev/udevd > manages the hotplug events at least on Gentoo, Fedora and SUSE, and the > later two can never use the tiny multiplexer, cause these systems do not > support installations without udev. Is there any reason why the hotplug multiplexer part of udev should have different codebase from the tiny hotplug? > And we already have a something like fnmatch in udev, which compiles nicely > with klibc. :) Do you mean namedev.c:strcmp_pattern() ? That should do I think. Then it'll probably need udev_utils.c:call_foreach_file() to allow one-level recursion into the subdirectories and to accept a matcher for their names as an extra parameter. Alternatively, one can put a $DEVALIAS multiplexer script in each of the bus directories in /etc/hotplug.d, so that the main hotplug multiplexer is unchanged. Cheers, Roman. ------------------------------------------------------- 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