[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Speeding up dpkg" or "ldconfig -l in postinst allowed ?"

Gregor Hoffleit wrote:

> I see. Just out of curiosity, would it be possible to speed up ldconfig by
> introducing some kind of incremental rebuilding of the cache ? Without
> having looked at the source, I have the impression that currently ldconfig
> completely rebuilds the complete cache from scratch on every invocation.
> Would it be possible to use the timestamps to rework only the changed
> entries, or to add an manual mode that updates only the entry of a single
> library ?

Hmm, I was under the impression that the whole time taken was due to
ldconfig stat()ing every library in every lib directory and this took
all the time. You above scheme wouldn't save you from that.

Martijn van Oosterhout <kleptog@cupid.suninternet.com>

Trust the computer industry to shorten "Year 2000" to Y2K.
It was this kind of thinking that caused the problem in the first place.

Reply to: