[Aptitude-devel] Bug#743355: many files opened two or three times... inefficient?

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sun Jan 3 03:03:11 UTC 2016


Control: tags -1 + wontfix
Control: close -1


2014-04-02 00:29 積丹尼 Dan Jacobson:
>Package: aptitude
>Version: 0.6.10-2
>Severity: wishlist
>
>Just out of curiosity,
>$ strace -e trace=open aptitude search iproute 2>&1|sed '/open/!d;s/ .*//;'|sort|uniq -c|sort -nr
>shows many files opened two or three times. Maybe there is something
>inefficient going on.

Maybe.  Maybe not.

Everything under /var/lib/apt, /etc/apt and other dirs with /apt/ in the
name are something internal of libapt, and /etc/ld.so.cache of the
shared library loader, I think, so in principle there's not much that we
can do about this... and the operations on aptitude's user config file
was already improved lately.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list