|
|
|
@ -687,14 +687,9 @@ PartitionCoreModule::scanForLVMPVs()
|
|
|
|
|
#if defined( WITH_KPMCORE4API )
|
|
|
|
|
VolumeManagerDevice::scanDevices( physicalDevices );
|
|
|
|
|
for ( auto p : LVM::pvList::list() )
|
|
|
|
|
#else
|
|
|
|
|
#if defined( WITH_KPMCORE331API )
|
|
|
|
|
LvmDevice::scanSystemLVM( physicalDevices );
|
|
|
|
|
for ( auto p : LVM::pvList::list() )
|
|
|
|
|
#else
|
|
|
|
|
LvmDevice::scanSystemLVM( physicalDevices );
|
|
|
|
|
for ( auto p : LVM::pvList )
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
m_lvmPVs << p.partition().data();
|
|
|
|
@ -728,7 +723,7 @@ PartitionCoreModule::scanForLVMPVs()
|
|
|
|
|
if ( innerFS && innerFS->type() == FileSystem::Type::Lvm2_PV )
|
|
|
|
|
m_lvmPVs << p;
|
|
|
|
|
}
|
|
|
|
|
#ifdef WITH_KPMCORE4API
|
|
|
|
|
#if defined( WITH_KPMCORE4API )
|
|
|
|
|
else if ( p->fileSystem().type() == FileSystem::Type::Luks2 )
|
|
|
|
|
{
|
|
|
|
|
// Encrypted LVM PVs
|
|
|
|
|