From 57ff13f9dff7ad88e4877515514c433a69668fbf Mon Sep 17 00:00:00 2001 From: David Date: Thu, 17 May 2012 11:52:38 +0200 Subject: [PATCH] bug fix --- diskusage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = []