hallas added a comment.
I have tried to modify the fstab backend to also show fuse mounts and a //very// simple prototype is this: diff --git a/src/solid/devices/backends/fstab/fstabhandling.cpp b/src/solid/devices/backends/fstab/fstabhandling.cpp index 63130c6..3632b52 100644 --- a/src/solid/devices/backends/fstab/fstabhandling.cpp +++ b/src/solid/devices/backends/fstab/fstabhandling.cpp @@ -121,6 +121,11 @@ bool _k_isFstabNetworkFileSystem(const QString &fstype, const QString &devName) return false; } +bool _k_isFstabFuseFileSystem(const QString &fstype) +{ + return fstype.startsWith(QLatin1String("fuse.")); +} + void Solid::Backends::Fstab::FstabHandling::_k_updateFstabMountPointsCache() { if (globalFstabCache->m_fstabCacheValid) { @@ -288,7 +293,7 @@ void Solid::Backends::Fstab::FstabHandling::_k_updateMtabMountPointsCache() STRUCT_MNTENT fe; while (GETMNTENT(mnttab, fe)) { QString type = QFile::decodeName(MOUNTTYPE(fe)); - if (_k_isFstabNetworkFileSystem(type, QString())) { + if (_k_isFstabNetworkFileSystem(type, QString()) || _k_isFstabFuseFileSystem(type)) { const QString device = QFile::decodeName(FSNAME(fe)); const QString mountpoint = QFile::decodeName(MOUNTPOINT(fe)); globalFstabCache->m_mtabCache.insert(device, mountpoint); the only caveat is that the mount points shows up in the "Remote" list, but that is probably easy to fix. @bruns - please post the code you have when you get a chance to find it, otherwise I will continue to pursue this direction. REPOSITORY R245 Solid REVISION DETAIL https://phabricator.kde.org/D20938 To: hallas, #frameworks, ngraham, elvisangelaccio, broulik, bruns Cc: svuorela, nicolasfella, ivan, kde-frameworks-devel, michaelh, ngraham, bruns