From fc4a8b8628b35602f64c7ab83e5e8fd0b9057be5 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 15 Mar 2016 16:44:47 +0100 Subject: [PATCH] Temporarily allow read-only devices. This way the KPMcore libpartedbackend scanner won't filter out Parted devices of type UNKNOWN. CAL-349 --- src/modules/partition/core/PartitionCoreModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/core/PartitionCoreModule.cpp b/src/modules/partition/core/PartitionCoreModule.cpp index d38025e8b..63563ec40 100644 --- a/src/modules/partition/core/PartitionCoreModule.cpp +++ b/src/modules/partition/core/PartitionCoreModule.cpp @@ -112,7 +112,7 @@ void PartitionCoreModule::init() { CoreBackend* backend = CoreBackendManager::self()->backend(); - auto devices = backend->scanDevices( true ); + auto devices = backend->scanDevices( false ); // Remove the device which contains / from the list for ( auto it = devices.begin(); it != devices.end(); )