WWN is confusing, for non-multipathed (but multipath capable) drives.
LP: #1848533
This commit is contained in:
parent
d91dad9561
commit
a26d2b8fcd
|
@ -669,7 +669,9 @@ class Disk(_Device):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def label(self):
|
def label(self):
|
||||||
return self.wwn or self.serial or self.path
|
if self.multipath:
|
||||||
|
return self.wwn
|
||||||
|
return self.serial or self.path
|
||||||
|
|
||||||
def _potential_boot_partition(self):
|
def _potential_boot_partition(self):
|
||||||
if self._m.bootloader == Bootloader.NONE:
|
if self._m.bootloader == Bootloader.NONE:
|
||||||
|
|
Loading…
Reference in New Issue