From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Tue, 13 Jan 2004 16:01:29 +0000 Subject: Re: [PATCH] udev - drop all methods :) Message-Id: <20040113080129.A5962@beaverton.ibm.com> List-Id: References: <20040110181507.GA3969@vrfy.org> In-Reply-To: <20040110181507.GA3969@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Jan 12, 2004 at 03:42:36PM -0800, Greg KH wrote: > On Sun, Jan 11, 2004 at 11:56:55PM +0100, Kay Sievers wrote: > > On Sat, Jan 10, 2004 at 07:15:07PM +0100, Kay Sievers wrote: > > > > Here is a slightly better version of the patch. > > After a conversation with Patrick, we are now able to execute the PROGRAM > > and also match in all following rules with the RESULT value from this exec. > > Thanks a lot. I've applied this patch. I also made a few tweaks to the Nice, that sped things up quite a bit. Running with PROGRAM="/sbin/scsi_id" with 70 lines each of the form: BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="SIBM OEM DCHS09X 68136581", NAME="disk-sda" BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="3600a0b80000b174b000000e83efc5d38", NAME="disk-sdaa" ... Took 1m16 to run the udev/test/test.block test script (with 70 sd's in /sys/block). Using the new method, and having only one PROGRAM="/sbin/scsi_id" for the first scsi rule, and just RESULT for the other 69, test.block took 47 seconds. -- Patrick Mansfield ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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