found bug in mount reading, marked it
This commit is contained in:
parent
05cb3947ec
commit
d6c5cdc8f8
|
@ -20,8 +20,7 @@ def fileparser(path):
|
|||
|
||||
# reading needed files
|
||||
parts = fileparser("/proc/partitions")
|
||||
mounts = fileparser("/proc/mounts")
|
||||
|
||||
mounts = fileparser("/proc/mounts") #bug.. what if uuids are in /proc/mounts
|
||||
|
||||
partitions = []
|
||||
blocks = []
|
||||
|
|
Reference in New Issue