diff --git a/src/solid/devices/backends/fstab/fstabhandling.cpp b/src/solid/devices/backends/fstab/fstabhandling.cpp --- a/src/solid/devices/backends/fstab/fstabhandling.cpp +++ b/src/solid/devices/backends/fstab/fstabhandling.cpp @@ -124,6 +124,10 @@ if (fstype.startsWith("fuse.") || fstype == QLatin1String("overlay")) { return fstype + mountpoint; + } else if (fstype == "cifs") { + // append mountpoints to samba device name as they don't contain it in getmntent + // and this is needed to differenciate different mounts with same source + return source + ":" + mountpoint; } return source; }