Details
Description
QStorageInfo on Linux reads labels fromĀ /dev/disk/by-label, which is OK, but it doesn't do so properly. These are populated by a udev rule usingĀ ID_FS_LABEL_ENC, which encodes the strings using \xNN escapes.
This means that QStorageInfo gets back things like "USB\x20TEST" rather than "USB TEST".
Attachments
For Gerrit Dashboard: QTBUG-61420 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
209379,6 | QStorageInfo: Properly decode labels from /dev/disk/by-label | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |