svn commit: r270510 - head

Bryan Drewery bdrewery at FreeBSD.org
Mon Aug 25 18:35:27 UTC 2014


On 8/25/2014 12:36 PM, Benjamin Kaduk wrote:
> On Mon, Aug 25, 2014 at 10:10 AM, Gleb Smirnoff <glebius at freebsd.org
> <mailto:glebius at freebsd.org>> wrote:
> 
> 
>     And carrying this stuff costs us almost nothing.
> 
> 
> The cost of having it in the tree is small, yes.  But the runtime cost
> when people actually run delete-old will only keep increasing ... it
> already feels kind of slow, to me.
> 
> -Ben 

This could be fixed by not calling rm(1) for every file but instead
using xargs rm so it is called only a few times, when not needing -i.
The same goes for the chflags and -f/-L tests. It would be much more
manageable if all of the logic moved into a shell script.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140825/6c01fd40/attachment.sig>


More information about the svn-src-all mailing list