From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 19 Jan 2004 19:42:07 +0000 Subject: Re: [PATCH] udev - reverse user query options Message-Id: <20040119194207.GB3896@kroah.com> List-Id: References: <20040116095433.GA17756@vrfy.org> In-Reply-To: <20040116095433.GA17756@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Jan 17, 2004 at 02:51:25PM +0100, Kay Sievers wrote: > On Sat, Jan 17, 2004 at 12:49:22PM +0100, Kay Sievers wrote: > > On Fri, Jan 16, 2004 at 02:02:41PM -0800, Greg KH wrote: > > > On Fri, Jan 16, 2004 at 10:54:33AM +0100, Kay Sievers wrote: > > > > Here we get the ability to query with the name of the node instead of > > > > the device path. It uses a linear search over the whole database. > > > > > > > > kay@pim:~/src/udev.kay$ ./udev -q path -n video/webcam0 > > > > /class/video4linux/video0 > > > > > > Nice, but I think it still needs some tweaking: > > > > > > $ ./udev -q path -n foo > > > /block/fd0 > > > > So here we go to compare more than the first char :) > > The man page update is also included. > > New version, with better function return codes for error handling. Thanks, this works :) Applied. greg k-h ------------------------------------------------------- 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