Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What program can i use to index my disk in real time and work with the features of locate? I saw something like that in Easy Peasy, there i just didn't have to run updatedb, and i got all the changes to database just as they occurred.
The standard tool to find files in linux, surprisingly, is called "find". That doesn't need any database. However, also unsurprisingly, it's slow compared to slocate since it has to search all the files each time you invoke it.
I think that gnome can use something called "beagle", don't ask me how it works though. In kde there's akonadi (only 4.x), I haven't experience with it either.
Please describe difference between what you want and what "find" provides.
The difference is that find can take minutes or even more to find something in a big fs, while slocate is instantaneous. He would like something that can find files that haven't been registered by updatedb, but that doesn't take ages to find a single file in your fs.
I just remembered something from the past. I remember something called rlocate, which achieves what he wants. The big problems are these:
it requires a kernel module, always a pain overall if you care about stability and security. In other words: after years of development: why hasn't it been included upstream in the kernel?
it seems pretty much unmaintained code, I don't even know whether it compiles against modern kernels or not
There's also mlocate, which is an alternative to slocate which in my humble opinion performs a lot better. It's not what he was looking for, but it's certainly an improvement over regular slocate. It's compatible and can be installed in place or slocate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.