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
|
# reading needed files
|
||||||
parts = fileparser("/proc/partitions")
|
parts = fileparser("/proc/partitions")
|
||||||
mounts = fileparser("/proc/mounts")
|
mounts = fileparser("/proc/mounts") #bug.. what if uuids are in /proc/mounts
|
||||||
|
|
||||||
|
|
||||||
partitions = []
|
partitions = []
|
||||||
blocks = []
|
blocks = []
|
||||||
|
|
Reference in New Issue