now the code is working for /dev/ide/discs/discX mounts and direkt mounts to /dev...
[enigma2.git] / lib / python / Components / Harddisk.py
index 1fc629a..9cf9b4a 100644 (file)
@@ -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])