bug fix
This commit is contained in:
parent
fd836bf578
commit
57ff13f9df
|
@ -20,7 +20,8 @@ def fileparser(path):
|
||||||
|
|
||||||
# reading needed files
|
# reading needed files
|
||||||
parts = fileparser("/proc/partitions")
|
parts = fileparser("/proc/partitions")
|
||||||
mounts = fileparser("/proc/mounts") #bug.. what if uuids are in /proc/mounts
|
#mounts = fileparser("/proc/mounts") #bug.. what if uuids are in /proc/mounts
|
||||||
|
mounts = fileparser("/etc/mtab") #maybe that fixes the bug
|
||||||
|
|
||||||
partitions = []
|
partitions = []
|
||||||
blocks = []
|
blocks = []
|
||||||
|
|
Reference in New Issue