Fix root partition device mapper name (#3524)
This commit is contained in:
parent
426650a3c4
commit
728fee4a7c
|
|
@ -1010,6 +1010,8 @@ class PartitionModification:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def mapper_name(self) -> str | None:
|
def mapper_name(self) -> str | None:
|
||||||
|
if self.is_root():
|
||||||
|
return 'root'
|
||||||
if self.is_home():
|
if self.is_home():
|
||||||
return 'home'
|
return 'home'
|
||||||
if self.dev_path:
|
if self.dev_path:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue