Create RAID with LinuxRaidMember, Unformatted or Unknown partitions
This commit is contained in:
parent
50af43636d
commit
a7680ae169
|
@ -119,7 +119,9 @@ void CreateVolumeGroupDialog::updatePartitionList()
|
|||
for (const Device *d : qAsConst(m_Devices)) {
|
||||
if (d->type() != Device::Type::SoftwareRAID_Device && d->partitionTable() != nullptr) {
|
||||
for (const Partition *p : qAsConst(d->partitionTable()->children())) {
|
||||
if (p->fileSystem().type() == FileSystem::Type::LinuxRaidMember)
|
||||
if (p->fileSystem().type() == FileSystem::Type::LinuxRaidMember ||
|
||||
p->fileSystem().type() == FileSystem::Type::Unformatted ||
|
||||
p->fileSystem().type() == FileSystem::Type::Unknown)
|
||||
dialogWidget().listPV().addPartition(*p, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue