diff --git a/diskusage.py b/diskusage.py index 77a8284..1a71dfa 100755 --- a/diskusage.py +++ b/diskusage.py @@ -20,7 +20,8 @@ def fileparser(path): # reading needed files 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 = [] blocks = []