LVM support #6

Closed
andrius wants to merge 109 commits from (deleted):lvm-support-rebase into master
1 changed files with 4 additions and 0 deletions
Showing only changes of commit b5262262c2 - Show all commits

View File

@ -113,6 +113,10 @@ Partition* LvmDevice::scanPartition(const QString& lvpath, const Device& dev, Pa
fs->setSectorsUsed(freeSpaceInfo.used() / logicalSize());
}
if (fs->supportGetLabel() != FileSystem::cmdSupportNone) {
fs->setLabel(fs->readLabel(lvpath));
}
Partition* part = new Partition(pTable,
dev,
PartitionRole(PartitionRole::Lvm_Lv),