Add all LVM devices to the bottom of the devices list.
This commit is contained in:
parent
fabde86139
commit
eb3910679c
|
@ -68,9 +68,10 @@ void DeviceScanner::scan()
|
||||||
for (const auto &d : deviceList)
|
for (const auto &d : deviceList)
|
||||||
operationStack().addDevice(d);
|
operationStack().addDevice(d);
|
||||||
|
|
||||||
|
operationStack().sortDevices();
|
||||||
|
|
||||||
for (const auto &d : lvmList)
|
for (const auto &d : lvmList)
|
||||||
operationStack().addDevice(d);
|
operationStack().addDevice(d);
|
||||||
|
|
||||||
operationStack().sortDevices();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue