This forum has been archived. All content is frozen. Please use KDE Discuss instead.

baloo issues with bind mounts

Tags: baloo, krunner baloo, krunner baloo, krunner
(comma "," separated)
ambyjkl
Registered Member
Posts
1
Karma
0

baloo issues with bind mounts

Sat Apr 07, 2018 1:23 am
Hi, I'm running baloo 5.44.0 on plasma 5.12.4 on Arch Linux. I have this set-up where I have an SSD partition mounted on / and a bigger storage hard drive mounted under /run/media/username/Data. I have a bind mount from Data/Music to ~/Music. Data/Music is under baloo's excludeFolders. I basically want Data/Music to pretend to be at ~/Music for convenience, and I want all applications to think that, hence symlinks were not enough since applications get confused and end up resolving the real paths. I have the mount in my fstab so it gets reapplied on every boot.

Now the issue is that sometimes on reboots (essentially remounts), baloo seems to lose track of the files in a weird way: the index still has the information on the files (and I can still search for them on krunner), but the files show up as unindexed: dolphin is not able to resolve the information of the files from the index for instance. Eventually baloo indexes the files again (or if I force it with balooctl index *), which leads to duplicate entries in the index, and in krunner search results. Both partitions are formatted as btrfs. Is this expected behaviour, or is this a bug? Can it be something related to how bind mounts work, or is btrfs's copy-on-write messing up the underlying inodes and confusing baloo? Is there a better way of achieving what I want?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar