SUMMARY Solid::NetworkShare does not know the network filesystem SMB3 and, thus, mounts with that filesystem are not detected on the system. STEPS TO REPRODUCE 1. Connect a slot to the deviceAdded() signal of Solid::DeviceNotifier::instance(). 2. Add the following if statement to the slot: if (device.isDeviceInterface(Solid::DeviceInterface::NetworkShare)) { qDebug() << "success"; } else { qDebug() << "failure"; } 3. Mount a Samba share with the SMB3 filesystem: $ mount.smb3 //server/share /mount/point OBSERVED RESULT The output will always be "failure", even when a share with an SMB3 filesystem is mounted. EXPECTED RESULT The output is "success" when a share with SMB3 filesystem is mounted and "failure" otherwise. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.13.13-1-MANJARO (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION
In addition: The output will be "success", when you mount the share with one of the defined filesystems (NFS and CIFS).
From looking at the code I guess it needs adding to the list of NetworkShare mount types in FstabDevice and supposedly also adding to _k_isFstabNetworkFileSystem.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/solid/-/merge_requests/100