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

Re: dpkg-scanlibs



On Mon, Feb 26, 2001 at 12:48:32PM +0100, Paolo Molaro wrote:

> It looks like dlocate could be improved too:

dlocate uses gnu locate (from findutils) for "dlocate -S".

i don't know what happened to locate, but a few (several?) versions ago
it got very slow. locate searches that used to respond instantly now
take several seconds.

that's with a 3MB (291511 lines) /var/lib/locatedb 

$ ls -l /var/lib/locate/
total 2927
-rw-r--r--    1 root     root      2983699 Feb 27 06:37 locatedb

$ locate / | wc -l 
 291511

anyway, if locate is slow then dlocate -S is slow.

craig

--
craig sanders <cas@taz.net.au>

      GnuPG Key: 1024D/CD5626F0 
Key fingerprint: 9674 7EE2 4AC6 F5EF 3C57  52C3 EC32 6810 CD56 26F0



Reply to: