From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Barry Date: Sat, 13 Mar 2004 15:11:26 +0000 Subject: Re: [PATCH] make udevtest a real program :) Message-Id: <200403131711.26561.bobb@absamail.co.za> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-00=_eSyUAa4IwhJuorS" List-Id: References: <20040313004259.GA4536@vrfy.org> In-Reply-To: <20040313004259.GA4536@vrfy.org> To: linux-hotplug@vger.kernel.org --Boundary-00=_eSyUAa4IwhJuorS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Saturday 13 March 2004, Kay Sievers wrote: > Here are the missing pieces for udevtest. Thanks! The attached script uses udevtest to list all devices. It could be done more efficiently by integrating it into the udevtest code and making it a command line option. --Boundary-00=_eSyUAa4IwhJuorS Content-Type: application/x-shellscript; name="udevtest.all" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="udevtest.all" #!/bin/sh for d in $(udevinfo -d | sed -n '/^P/p' | cut -d' ' -f2 | sort) do /usr/bin/udevtest $d done | sed -r '/^looking|^version/d' --Boundary-00=_eSyUAa4IwhJuorS-- ------------------------------------------------------- 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_id=1470&alloc_id=3638&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