a mounted lv should not be considered to be available
This commit is contained in:
parent
fd7a56a8b5
commit
85a7668926
|
@ -835,7 +835,9 @@ class LVM_LogicalVolume(_Formattable):
|
|||
def available(self):
|
||||
if self._constructed_device is not None:
|
||||
return False
|
||||
return True
|
||||
if self._fs is None:
|
||||
return True
|
||||
return self._fs._available()
|
||||
|
||||
@property
|
||||
def flag(self):
|
||||
|
|
Loading…
Reference in New Issue