From d6c5cdc8f86f60ecd0b7fa80c44fcf68f4459ea5 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 16 May 2012 00:26:37 +0200 Subject: [PATCH] found bug in mount reading, marked it --- df_check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/df_check.py b/df_check.py index 52183cf..77a8284 100755 --- a/df_check.py +++ b/df_check.py @@ -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 = []