Exclude read-only devices from partitioning backend scan.
This commit is contained in:
parent
26715d4281
commit
4f2eddd146
@ -106,7 +106,7 @@ void
|
|||||||
PartitionCoreModule::init()
|
PartitionCoreModule::init()
|
||||||
{
|
{
|
||||||
CoreBackend* backend = CoreBackendManager::self()->backend();
|
CoreBackend* backend = CoreBackendManager::self()->backend();
|
||||||
auto devices = backend->scanDevices();
|
auto devices = backend->scanDevices( true );
|
||||||
|
|
||||||
// Remove the device which contains / from the list
|
// Remove the device which contains / from the list
|
||||||
for ( auto it = devices.begin(); it != devices.end(); )
|
for ( auto it = devices.begin(); it != devices.end(); )
|
||||||
|
Loading…
Reference in New Issue
Block a user