https://bugs.kde.org/show_bug.cgi?id=522308
--- Comment #8 from Dennis Duda <[email protected]> --- Alright, got the symbols installed and I think I found the culprit: https://invent.kde.org/system/kpmcore/-/blob/master/src/fs/filesystem.cpp#L222 QStorageInfo::mountedVolumes() is called there, which parses /proc/self/mountinfo and then calls QStorageInfoPrivate::retrieveVolumeInfo on every mount point: https://github.com/qt/qtbase/blob/4e77752ac49dda052041d8f289c53a33e5dffb3b/src/corelib/io/qstorageinfo_linux.cpp#L555 retrieveVolumeInfo uses statfs64, which triggers the automount attempt (but only once, so detectMountPoint is probably used multiple times in Partition Manager somewhere or something along those lines). I can confirm that running `stat -f /mnt/retro` triggers a single automount attempt the same way. It seems that QStorageInfo::mountedVolumes just does too much for what FileSystem::detectMountPoint needs. -- You are receiving this mail because: You are watching all bug changes.
