SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
30.76k stars 3.18k forks source link

Userland: Add locate/updatedb #6097

Open aowron opened 3 years ago

aowron commented 3 years ago

So I noticed there was no locate/updatedb utility, and I might be the last person to still use locate, but I thought it would be rather useful (especially if running on spinning disks, which I assume might be the case for some of the SerenityOS installations on real hardware).

After studying the mlocate implementation a bit, I started writing an indexer with a corresponding "db" (it's quite a stretch to call it a db tbh), however, it would be good to know if I should go ahead and complete this or if I'm the only one still using locate.

danboid commented 3 years ago

I'd use this. I'd like to think Serenity will continue to be more usable for users of older hardware for which tools such as this are ideal.