meven added a comment.
This is gonna have an hefty toll on perf as it will add a `getmntent` syscall to every thumbnail generation. Using `Solid::Device::listFromType` would leverage Solid always up-to-date (using events rather thane sysalls) device cache. I am not sure in the end this is preferable though. REPOSITORY R320 KIO Extras REVISION DETAIL https://phabricator.kde.org/D28745 To: marcingu, ivan, broulik, #dolphin, ngraham Cc: meven, ngraham, kde-frameworks-devel, kfm-devel, azyx, nikolaik, pberestov, iasensio, fprice, LeGast00n, cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, navarromorales, firef, andrebarros, bruns, emmanuelp, rdieter, mikesomov