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