On Sun, May 24, 2009 at 10:20:37AM +0200, Tomas Pospisek wrote: > Coming from Ubuntu and having installed dlocate, I've had locate - > required by dlocate - and mlocate - superior disk access an installed > by default by Ubuntu - trash my disks daily for a year or two. > > I've iterated a bit through #494673 and the related discussion in > #454106 however I do not get it. > > The README in #494673 suggests disabling the daily > locate disk trash run, which I now did. James Youngman > suggest somewhere in the middle of the #454106 discussion > (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454106#10) to > instead generate the locate DB from the mlocate DB.
yes, both of these things are possible. > If I check /usr/sbin/update-dlocatedb (dlocate!) I see the locate DB > referenced but no mention of mlocate there. So I'd assume, that once I dlocate does not and can not use mlocate. mlocate does not provide the frcode program which dlocate requires, nor does it provide even a rough equivalent of it. mlocate works completely differently to locate. BTW, the locate DB referenced in that script is dlocate's own db...it is not shared with locate, it is completely unrelated data that just happens to be in the same format as locate's db (because it is made with the same frcode tool). > have switched off the locate run, this would stop updating the locate > DB and since dlocate is using the locate DB this would also stop > updating the dlocate DB. Is this correct or am I confused? dlocate doesn't use locate's own db. it only uses some of the programs(*) which used to be in the findutils package but are now in a separate 'locate' package. you can disable the locate package's cron job completely and it will not affect dlocate in any way. as mentioned, it does not use the locate db, it uses it's own db (/var/lib/dlocate/dlocatedb) (*) specifically /usr/bin/locate and /usr/lib/locate/frcode > Could this later point be made clear in the README? i really don't know how it could be said any clearer. > And could the README be included in the dlocate package please? I'm > thinking it could spare the world a few dozen kilo joule of electricity > over all? what README? There is a README.Debian in the dlocate package. craig -- craig sanders <c...@taz.net.au> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org