Always declare whether a partition is LUKS in the map.
This commit is contained in:
parent
cd304b7a6f
commit
c83e67b421
@ -87,6 +87,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
|||||||
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
|
map[ "mountPoint" ] = PartitionInfo::mountPoint( partition );
|
||||||
map[ "fs" ] = partition->fileSystem().name();
|
map[ "fs" ] = partition->fileSystem().name();
|
||||||
map[ "uuid" ] = uuid;
|
map[ "uuid" ] = uuid;
|
||||||
|
map[ "isLuks" ] = false;
|
||||||
cDebug() << partition->partitionPath()
|
cDebug() << partition->partitionPath()
|
||||||
<< "mtpoint:" << PartitionInfo::mountPoint( partition )
|
<< "mtpoint:" << PartitionInfo::mountPoint( partition )
|
||||||
<< "fs:" << partition->fileSystem().name()
|
<< "fs:" << partition->fileSystem().name()
|
||||||
@ -100,6 +101,7 @@ mapForPartition( Partition* partition, const QString& uuid )
|
|||||||
{
|
{
|
||||||
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
|
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
|
||||||
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
|
||||||
|
map[ "isLuks" ] = true;
|
||||||
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user