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

--- Comment #38 from tagwer...@innerjoin.org ---
(In reply to Joachim Wagner from comment #37)
> (1) Symlinks to other folders: If the target folder is indexed anyway the
> link can be ignored. If not, the default probably should be not to follow
> the link as the target folder is under a folder that the user specifically
> excluded from indexing.
Symlinks provide a bit of an edge case :-)

There are a stream of issues reported. At the moment baloo deliberately avoids
following symlinks when indexing whereas dolphin searches do follow them.
There's a summary under Bug 447119

A commonly reported scenario is that people have a separately mounted disc with
a symlink to it (as a way to give extra space for ~/Pictures, ~/Videos or
whatever).

What might (should?) happen here if we look at mount points?

I can see:
    stat -f ~/symlinkto/myfile
or:
    findmnt -nT ~/symlinkto/myfile
give the Filesystem ID and mount point for the destination disc and ignore the
fact that you have followed a symlink to get to it. I'd say it makes sense to
deal with the canonical names (on the destination device) while indexing and do
any adjustments to search results wrt symlinks when returning search results.

Does the "mount point" idea work here?

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

Reply via email to