haggholm: (Default)
[personal profile] haggholm
rlocate is a really nice locate replacement which places hooks into the kernel to update its database on file operations. (Presumably this slows things down a smidgeon, but since we know disk operations are slow as hell anyway, I don't particularly care.) Since this will give us a locate that not only finds files nearly instantaneously, but also has a database that is never out of date, I think it's a rather nice idea.

It's in Portage, of course.

Note: I haven't used it yet. I just like the idea, and if it works as advertised and causes no problems, I'm going to use it.

Addendum: Now installed and running. The ebuild did not create the database, so I had to run rlocate -u (to create the database and index my entire filesystem). Now it should take care of itself by running rlocated and a daily updatedb cron job (the database will always be up to date, but it's managed as a diff, so unless you updatedb regularly, it will slow down; with the cron job you're probably already running, it will be fast and accurate, if it all works as advertised).
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

haggholm: (Default)
Petter Häggholm

July 2025

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags