retitle 494651 dlocate should work with mlocate/slocate
thanks

On Mon, 11 Aug 2008, Craig Sanders wrote:

On Mon, Aug 11, 2008 at 03:02:10AM -0400, Ariel wrote:

Is there any way for it to work with mlocate?

no. this question has been asked before. unfortunately, it's not
possible.

As far as I know it's fully compatible.

it's not.  it's similar to locate and performs the same job, but in a
different way.

in particular, mlocate does not provide the /usr/lib/locate/frcode
program that locate provides or anything like it.

dlocate requires frcode to generate it's own database. dlocate will not
work without it.  hence dlocate depends on locate.

I'm sorry to have bugged you about this, after sending it I started reading the source and saw frcode, and started to sort of figure out what was going on. Of course it was too late to unsend.

dlocate doesn't actually walk the disk tree to make it's index right? So mlocate wouldn't even be faster.

I know I could install locate and then disable it, so just dlocate
would use it, but mlocate is a lot faster then slocate or locate, and
it would be nice to be able to use it's speed for dlocate as well.

see the archived bug reports for dlocate for notes on how to either
disable locate after installing it or import mlocate's db into locate.

http://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=both;include=subject%3Amlocate;package=dlocate

Thanks, I will.

PS: i'm getting tired of answering this question. i'm going to have to
put it in a README. but i guess people who don't bother to read old bug
reports before submitting a new one aren't likely to read documentation
either. i'll tag this as 'wontfix' rather than close it so it doesn't
get archived.

I did actually read old bug reports, but I didn't read archived ones.

        -Ariel



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

Reply via email to