Add UUID for LV filesystem.
This commit is contained in:
parent
67ca8f7d63
commit
4b7289fa0d
|
@ -163,6 +163,8 @@ Partition* LvmDevice::scanPartition(const QString& lvpath, PartitionTable* pTabl
|
||||||
if (fs->supportGetLabel() != FileSystem::cmdSupportNone) {
|
if (fs->supportGetLabel() != FileSystem::cmdSupportNone) {
|
||||||
fs->setLabel(fs->readLabel(lvpath));
|
fs->setLabel(fs->readLabel(lvpath));
|
||||||
}
|
}
|
||||||
|
if (fs->supportGetUUID() != FileSystem::cmdSupportNone)
|
||||||
|
fs->setUUID(fs->readUUID(lvpath));
|
||||||
|
|
||||||
Partition* part = new Partition(pTable,
|
Partition* part = new Partition(pTable,
|
||||||
*this,
|
*this,
|
||||||
|
|
Loading…
Reference in New Issue