Odd locate behavior
Little Girl
littlergirl at gmail.com
Tue Sep 17 16:53:32 UTC 2024
Hey there,
MR ZenWiz wrote:
>Problem solved - pilot error.
Ah, good.
>I have a number of directories on my machine I want accessible
>through 'links,' but hard links don't work and symlinks aren't a
>good fit for some of them. So I use bind mounts to link them
>together.
Interesting. I had never heard of those until now.
>Bad idea in this case - locate explicitly ignores them because of
>PRUNE_BIND_MOUNTS setting to "yes." Duh.
>
>I turned the /home/Music directory into a symlink, and voila.
Or you could have left them as is and turned the yes to a no in the
event that there's an advantage to the bind mount over the symlink.
>I knew this was the case, but I forgot.
We all do that sometimes.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list