On Tue, Nov 23, 2021 at 12:19 PM Ben Cotton <[email protected]> wrote:

> == How To Test ==
> # Install `plocate` (`sudo dnf install plocate --allowerasing`)
> # Wait for `plocate-updatedb.service` to finish (`sudo systemctl start
> plocate-updatedb.service`)
> # Use `plocate pattern` or `plocate -r <regexp>` to search for files.

Works for me. Also fixes this old bug where mlocate pruned bind mount
locations, which resulted in /home on Btrfs not being indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=906591

Note for laptop users, plocate-updatedb.service contains
ConditionACPower=true, so if you're getting errors locating files, it
might be because the initial database isn't being created because no
AC power.


> == User Experience ==
> Users should not notice the difference. Installing `plocate`
> automatically removes `mlocate`. The new implementation is generally
> compatible with the old one in all common cases, and provides some
> additional options.

I'm definitely noticing a difference. I'm not sure it was ever correct
that updatedb.conf was pruning bind mounts on Fedora. It's not the
mlocate default, but it is what Fedora has been using for years
(defacto default on Fedora).


-- 
Chris Murphy
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to