locate can't find files?
MR ZenWiz
mrzenwiz at gmail.com
Sat May 14 17:54:27 UTC 2022
SOLVED - see below.
On Fri, May 13, 2022 at 10:01 PM Karl Auer <kauer at biplane.com.au> wrote:
>
> On Fri, 2022-05-13 at 21:16 -0700, MR ZenWiz wrote:
> > My apologies, I didn't mean to be rude.
>
> Nor did I percieve it as such!
>
Thank you. :-)
> Is this file used by plocate? ...
>
Yes. I tried adding /home and they don't show up.
> How exactly is it mounted, and where exactly is the /htera mountpoint?
> Maybe post that line out of fstab? And the output from "mount | grep
> htera"
>
UUID=4450003e-4504-445d-91c2-8dd4ea4a1e31 /htera ext4 errors=remount-ro 0 1
10:51 [admar at marbase:/htera/flash] $ mount | grep htera
/dev/sdd1 on /htera type ext4 (rw,relatime,errors=remount-ro)
> If you are unsure, comment out the PRUNE_BIND_MOUNTS line, rebuild the
> database and see if anything changes.
>
I changed the PRUNE... setting from "yes" to "no" and it shows up now
on the bind mount, but not on /htera. Apparently placate ismuch
smarter than mlocate because the former would find both locations -
the native one and the bound one. plocate only shows one, which is
perfect.
Many thanks!
Mark
More information about the ubuntu-users
mailing list