summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-01-30 12:53:39 -0800
committerThiago Macieira <thiago.macieira@intel.com>2020-02-09 22:19:20 -0800
commit23d42a6a3088904f4d297a98e961fc520d156673 (patch)
treeb36f6e69ddf1e9132832e382c4f1a15ca25a28b8 /src/plugins/platforms
parent6b9a1824a4c1e4c773c31db8df6c9bf8c768079f (diff)
QStorageInfo/Linux: resolve non-existent devices via /dev/block
On systems with very simple boot sequences, the kernel will create a device called /dev/root and use that to mount the root filesystem. However, that doesn't actually exist in /dev and could cause confusion. So we try to resolve using /dev/block if the /dev entry does not exist but udev is in use (udevd has the string "/dev/%s/%u:%u"). [ChangeLog][QtCore][QStorageInfo] Improved discovery of device nodes on Linux if the /dev entry was renamed after the filesystem was mounted and udev is in use. Fixes: QTBUG-81464 Change-Id: If79a52e476594446baccfffd15eec573ae3deb0d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions