From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Larson Date: Tue, 21 Oct 2003 16:55:43 +0000 Subject: Re: RFC: cleaner version of test.block Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org * Chris Friesen (chris_friesen@sympatico.ca) wrote: > I propose the following version of test.block. I think the code's > easier to read than the one using "cut", and it removes the dependency > on stuff outside of bash. > > Also, running the call to udev backgrounded makes the whole scan take 1 > second, rather than 1 second for each entry. [snip] One thing to take note of here, is that adding additional bash dependencies makes it harder to use on embedded devices, which generally use dash, busybox ash, or similar. (hotplug is another project that suffers from this, but that can be remedied by using diethotplug) -- Chris Larson - kergoth at handhelds dot org Embedded Linux Developer - clarson at ti dot com OpenZaurus Project Maintainer - http://openzaurus.org/ ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ 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