Linux stuff
Jan. 16th, 2006 09:26 pmrlocate 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).
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).