Exclude read-only devices from partitioning backend scan.

This commit is contained in:
Teo Mrnjavac 2015-07-24 17:28:22 +02:00
parent 26715d4281
commit 4f2eddd146

View File

@ -106,7 +106,7 @@ void
PartitionCoreModule::init()
{
CoreBackend* backend = CoreBackendManager::self()->backend();
auto devices = backend->scanDevices();
auto devices = backend->scanDevices( true );
// Remove the device which contains / from the list
for ( auto it = devices.begin(); it != devices.end(); )