[PATCH/RFC] readahead applet

Rob Landley rob at landley.net
Mon Aug 21 18:12:17 UTC 2006


On Monday 21 August 2006 12:35 pm, Bernhard Fischer wrote:
> On Mon, Aug 21, 2006 at 12:18:07PM -0400, Rich Felker wrote:
> >On Sun, Aug 20, 2006 at 11:53:09AM +0200, Bernhard Fischer wrote:
> >> On Sat, Aug 19, 2006 at 07:01:13PM +0200, Michael Opdenacker wrote:
> >> >Hello,
> >> >
> >> >The attached patch against busybox 1.2.1 adds a new "readahead" applet.
> >> 
> >> Sounds useful to me.
> >
> >It does? Anyone care to explain how this is different/better than:
> 
> Well, it does, conceptually.
> >
> >'nice -n 20 cat "$file" > /dev/null &'
> 
> Whether you cat or dd likely is a mere implementation detail ;)
> 
> PS: nice -n 20 cat $* > /dev/null ;# to allow for lists

And this applies it's asynchronous, but I haven't tested it:

http://lwn.net/Articles/54045/

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list