fixed mount sizes for linux
This commit is contained in:
parent
f1d2b9ea9e
commit
d9246aacd0
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ class LinuxHardware(Hardware):
|
||||||
if line.startswith('/'):
|
if line.startswith('/'):
|
||||||
fields = line.rstrip('\n').split()
|
fields = line.rstrip('\n').split()
|
||||||
if(fields[2] != 'none'):
|
if(fields[2] != 'none'):
|
||||||
size_total, size_available = self._get_mount_size_facts(fields[2])
|
size_total, size_available = self._get_mount_size_facts(fields[1])
|
||||||
if fields[0] in uuids:
|
if fields[0] in uuids:
|
||||||
uuid = uuids[fields[0]]
|
uuid = uuids[fields[0]]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue