On Tue, Feb 09, 2010 at 06:00:39PM +0100, Pierre Habouzit wrote: > 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 :)
or even better: dpkg -S very-unlikely-pattern-in-a-file This way we don't even hardcode /var/lib/dpkg ;) -- ·O· Pierre Habouzit ··O madco...@debian.org OOO http://www.madism.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org