Do not filter out PED_DEVICE_UNKNOWN devices as if they were read-only.
This is necessary because libparted still reports NVME devices as PED_DEVICE_UNKNOWN.
This commit is contained in:
parent
285d25f517
commit
ccf1880efa
|
@ -432,7 +432,6 @@ QList<Device*> LibPartedBackend::scanDevices(bool excludeReadOnly)
|
|||
continue;
|
||||
if (excludeReadOnly && (
|
||||
pedDevice->type == PED_DEVICE_LOOP ||
|
||||
pedDevice->type == PED_DEVICE_UNKNOWN ||
|
||||
pedDevice->read_only))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue