Details
Description
Calling QStorageInfo::mountedDrives() does not report mounted btrfs subvolumes that exist on the same device as the root mountpoint.
This is problematic for programs like KDE's Filelight, which call this function to prevent scanning over filesystem boundaries.
This behavior was introduced with commit ddc39eb3a46. I have tested building qtbase without the two lines added by this commit and the behavior of Filelight returns to what is expected.
Attachments
For Gerrit Dashboard: QTBUG-125721 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
564178,3 | QStorageInfo/Linux: re-work the mountedVolumes() check for mounted-overs | dev | qt/qtbase | Status: MERGED | +2 | +1 |
564408,5 | QStorageInfo/Linux: use the mount ID to match paths to mountinfo lines | dev | qt/qtbase | Status: MERGED | +2 | 0 |
565142,2 | QStorageInfo/Linux: re-work the mountedVolumes() check for mounted-overs | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
565143,2 | QStorageInfo/Linux: use the mount ID to match paths to mountinfo lines | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |