https://bugs.kde.org/show_bug.cgi?id=460509

            Bug ID: 460509
           Summary: Baloo indexes files temporarily mounted from other
                    file systems
    Classification: Frameworks and Libraries
           Product: frameworks-baloo
           Version: 5.99.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: adam.m.fontenot+...@gmail.com
  Target Milestone: ---

SUMMARY

I was previously under the impression that Baloo was intelligently skipping
other file systems in its indexing, because even when it indexes them Dolphin
(for whatever reason) doesn't seem to show them.

However, I have found using the `baloosearch` CLI that it is, in fact, indexing
files on remote (network based) file systems.

STEPS TO REPRODUCE
1. Make sure file indexing is enabled and content indexing is disabled. (I'm
not sure what would happen if content indexing were enabled and I'm afraid to
find out.)
2. Mount a remote directory via sshfs to a part of your home directory that
Baloo is set to index.
3. Activate Baloo and/or force a rescan.
4. Search for files known to be on the remote file system (e.g. via Dolphin and
via baloosearch).

OBSERVED RESULT
The files appear in `baloosearch` and can therefore be assumed to be in the
index. Actually, this is probably responsible for the unusually large index
size I was experiencing (which tagwerk19 commented on here:
https://bugs.kde.org/show_bug.cgi?id=460460#c1). 

The files do not appear in the Dolphin search tool - despite the fact that
Dolphin *does* cross file system boundaries if Baloo is disabled. See here for
that bug: https://bugs.kde.org/show_bug.cgi?id=460508

EXPECTED RESULT
Baloo does not index files on remote file systems. These are often temporarily
mounted and can change location. E.g. the same files may be on ~/remote one
day, ~/remote2 another day, and so on. I'm not sure if Baloo regards these
files as deleted when the remote is unmounted, but if it does the result is
probably disk thrashing as it has to update its index.

(I also expect Dolphin to show the same results as baloosearch, but that's a
secondary issue here.)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-arch1-1 (64-bit)
Graphics Platform: X11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to