On 13 September 2012 10:04, Michael Schroeder email@example.com wrote:
If we ever have programs that update the caches atomically, how would virtual triggers pass the list of new libraries to ldconfig?
Hmm, I don't get that. Why would you pass a list of libraries to ldconfig?
Probably for ldconfig doesn't matter so much since it's quite fast. But there are other cache update programs that aren't so fast*, and the classic answer to that is: "pass the list of new entries to the program so it doesn't needs to regenerate the *full* cache each time".
* gtk-update-icon-cache takes 8 seconds on my machine to update the hicolor and oxygen themes caches. A program could install icons in even more themes...