Fix home partition device mapper name (#3516)
This commit is contained in:
parent
7a455cb625
commit
df8cb4fb39
|
|
@ -1010,6 +1010,8 @@ class PartitionModification:
|
|||
|
||||
@property
|
||||
def mapper_name(self) -> str | None:
|
||||
if self.is_home():
|
||||
return 'home'
|
||||
if self.dev_path:
|
||||
return f'{ENC_IDENTIFIER}{self.dev_path.name}'
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in New Issue