Odd locate behavior

Little Girl littlergirl at gmail.com
Wed Sep 18 19:04:10 UTC 2024


Hey there,

MR ZenWiz wrote:

>The strangest part is that some of the bind mounts (which I still
>have) get indexed and files there show up in the locate results.

Which suggests that something else is the determining factor.

>There's probably a pattern I could narrow down, but I don't really
>care that much. It might be that my ~/Music directory was
>bind-mounted to /home/Music, which is on the same true drive
>(/home). That might be the check - the others are mostly bound to
>other drives.

Just out of curiosity about this new-to-me thing, I looked them up.
One of the interesting differences between symlinks and bind-mounts
is that the symlink source exists in one location and the bind-mount
source exists in two locations. Not that that does anything to
explain why some of your bind-mounts are found by locate and others
aren't, so it's good that you found a work-around.

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list