TL;DR: if you want to use plocate while your filesystem is
btrfs, do the following:
PRUNE_BIND_MOUNTS = "yes"with
PRUNE_BIND_MOUNTS = "no"
- save the file
- update the db with
- test again with
$ locate hometo see any outputs from home directory
plocate is supposed to be a much faster drop-in replacement for
mlocate, but I had a lot of troble getting it to work.
I ended up creating the SO question plocate couldn’t find results in my home dir but mlocate could. How to search results in home dir?. The details are in the post.
pacman -Syu plocate
Check if you’re using
lsblk -f. If yes, check the above TL;DR solution
$ locate homeand see if there’s any results from
Hopefully this article is helpful to someone in similar shoes.