diff --git a/src/modules/partition/core/DeviceList.cpp b/src/modules/partition/core/DeviceList.cpp index d7e6bab29..1a070773e 100644 --- a/src/modules/partition/core/DeviceList.cpp +++ b/src/modules/partition/core/DeviceList.cpp @@ -152,6 +152,11 @@ QList< Device* > getDevices( DeviceType which, qint64 minimumSize ) cDebug() << " .. Removing too-small" << it; it = erase(devices, it ); } + else if ( (*it)->type() == Device::LVM_Device ) + { + cDebug() << " .. Removing LVM device from list " << it; + it = erase(devices, it ); + } else ++it;