Find out whether a file is a remote file or not

Dominik Haumann dhaumann at kde.org
Sun May 1 16:28:53 UTC 2016


Hi all,

do we have a mechanism in KDE to find out whether a file is a truly
local file, or a remote file?

With remote file I mean e.g. a sshfs mounted location that appears in
the file system, which integrates seamlessly into the local
filesystem, but in truth, it is not a local file.

As initial start, I'd consider local disks and plugged in USB sticks
local, everything else remote.

In Kate, we typically backup local files, and maybe "worse", by
default create swap files for local files. But given that remotely
mounted filesystem also appear as local files, this leads to a
potential bottleneck.

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

CC: Vishesh, since maybe baloo also had to solve these issues

Thanks,
Dominik


More information about the Kde-frameworks-devel mailing list