On Mon, Feb 08, 2010 at 08:34:27PM +0100, Eduard Bloch wrote:
> Package: apt-listchanges
> Version: 2.84
> Severity: wishlist
> 
> I have a simple idea to increase the happiness of apt users that don't
> own an SSD yet and suffer from fragmentation of dpkg's database.
> While the user is reading the changelogs, apt-listchanges could read all
> contents of /var/lib/dpkg/... which would precache all the data in VFS
> cache, therefore speeding up the subsequent call of dpkg.
> 
> This feature would be optional, of course, and could be implemented
> calling "tar -c /var/lib/dpkg | wc" (side note: don't forget that GNU
> tar cheats and does not read files if the output file descriptor leads
> to /dev/null).

Well actually, in my experience, cat /var/lib/dpkg/*.list > /dev/null is
enough, but yeah it's probably a fine feature to have :)

-- 
·O·  Pierre Habouzit
··O                                                [email protected]
OOO                                                http://www.madism.org



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to