Add UUID for LV filesystem.

This commit is contained in:
Chantara Tith 2016-08-08 09:35:02 +07:00 committed by Andrius Štikonas
parent 67ca8f7d63
commit 4b7289fa0d
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,8 @@ Partition* LvmDevice::scanPartition(const QString& lvpath, PartitionTable* pTabl
if (fs->supportGetLabel() != FileSystem::cmdSupportNone) {
fs->setLabel(fs->readLabel(lvpath));
}
if (fs->supportGetUUID() != FileSystem::cmdSupportNone)
fs->setUUID(fs->readUUID(lvpath));
Partition* part = new Partition(pTable,
*this,