RE: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories

2011-08-23 Thread Voelker, Bernhard
Jim Meyering wrote: > Voelker, Bernhard wrote: > > > Jim Meyering wrote: > > > > +++ b/tests/rm/4-million-entry-dir > > ... > > +# Put 4M files in a directory. > > +mkdir d && cd d || framework_failure_ > > +seq 400|xargs touch || framework_failure_ > > + > > +cd .. > > + > > +# Restricted to

Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories

2011-08-23 Thread Jim Meyering
Voelker, Bernhard wrote: > Jim Meyering wrote: > > +++ b/tests/rm/4-million-entry-dir > ... > +# Put 4M files in a directory. > +mkdir d && cd d || framework_failure_ > +seq 400|xargs touch || framework_failure_ > + > +cd .. > + > +# Restricted to 50MB, rm from coreutils-8.12 would fail with a

RE: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories

2011-08-23 Thread Voelker, Bernhard
Jim Meyering wrote: +++ b/tests/rm/4-million-entry-dir ... +# Put 4M files in a directory. +mkdir d && cd d || framework_failure_ +seq 400|xargs touch || framework_failure_ + +cd .. + +# Restricted to 50MB, rm from coreutils-8.12 would fail with a +# diagnostic like "rm: fts_read failed: Canno