From c7e822df550005a8b359604d005d8da74b937152 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 2 Feb 2009 13:11:04 +0100 Subject: [PATCH] now the code is working for /dev/ide/discs/discX mounts and direkt mounts to /dev/ide/hostX/busX/... --- lib/python/Components/Harddisk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index 1fc629a0..9cf9b4a2 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -97,7 +97,7 @@ class Harddisk: line = procfile.readline() if line == "": break - if line.startswith(self.devidex): + if line.startswith(self.devidex) or line.startswith(self.devidex2): parts = line.strip().split(" ") try: stat = statvfs(parts[1]) -- 2.30.2