Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0
-
Embedded Linux: Tested with Apalis imx6 and RaspberryPi 4
-
-
23d42a6a3088904f4d297a98e961fc520d156673 (qt/qtbase/5.14)
Description
The QStorageInfo::device() should return the device of the root volume, but instead it return always /dev/root which is non-existent in the Boot2Qt image.
Steps to reproduce:
- Run the attached example project
Expected result:
- The device of the root volume should be returned. For example in Boot2Qt image for Apalis it should be /dev/mmcblk1p2 (root@b2qt-apalis-imx6:~# mount/dev/mmcblk1p2 on / type ext4 (rw,relatime,data=ordered))
Actual result:
- The /dev/root is returned.
Attachments
For Gerrit Dashboard: QTBUG-81464 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
288636,4 | QStorageInfo/Linux: resolve non-existent devices via /dev/block | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |