You are not logged in.
Pages: 1
https://wiki.archlinux.org/index.php/Locate
I was wondering if you guys could briefly check I haven't written anything incorrect or stupid in there as I'm a newb: I just noticed I didn't have the "locate" unix tool on my system, googled how to get it, and then thought it should be on the wiki so I put it there.
I also put up a tiny page for findutils, and made "mlocate" redirect to "locate"
Offline
Not sure if the findutils info is useful; you can always use pkgfile to see which package has the tool you are looking for:
* https://wiki.archlinux.org/index.php/FA … is_X_in.3F
* https://wiki.archlinux.org/index.php/Pkgfile
As for the 'locate' page, you can add that /etc/updatedb.conf has some useful info.
I'm not sure you know that locate on Arch doesn't search certain paths:
PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"
If you're sure you want to use 'locate' to search in e.g. /var/lib/pacman/local , you should remove that path from the updatedb.conf file.
Offline
Note: Without google you could have discovered this using `pkgfile locate` or possibly `pacman -Ss locate`.
About the wiki page: the mlocate package installs a daily update script for cron, so you don't have to do any extra work (just have crond running).
Nitpicking: the first paragraph describes locate in general, but specifically refers to the mlocate.db file.
Offline
Not sure if the findutils info is useful
Offline
Pages: 1