From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 15 Jan 2004 21:16:05 +0000 Subject: Re: [PATCH] udev - advanced user query options Message-Id: <20040115211605.GA16468@vrfy.org> List-Id: References: <20040111023300.GA4762@vrfy.org> In-Reply-To: <20040111023300.GA4762@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, Jan 15, 2004 at 12:56:11PM -0800, Greg KH wrote: > On Thu, Jan 15, 2004 at 02:54:49PM +0100, Olaf Hering wrote: > > On Sun, Jan 11, Kay Sievers wrote: > > > > > This patch improves the user options for udev. > > > It is possible now to query for the name, the symlinks or owner/group. > > > If asked for the name of the node we are able to prepend the udev_root > > > with the -r option. > > > > What about reverse lookup? > > Yeah, that's a bit harder right now, sorry. > We can either add another table to the database (like the original > database code was structured), or iterate over all devices in the > database. > > Either way, it would be nice to have. Anyone want to write a patch? :) Iteration is very, very easy with my dump callback. I was expecting something like this :) Is there any plus value to have a second index? Otherwise I will do it with the dump logic. Kay ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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