aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Harddisk.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-02-02 13:11:04 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-02-02 13:11:04 +0100
commitc7e822df550005a8b359604d005d8da74b937152 (patch)
treef2da62e116ebf9df1f346eb7e0483038a2a90960 /lib/python/Components/Harddisk.py
parent4b811a968884ce645d71cf22d538bd646acdc677 (diff)
downloadenigma2-c7e822df550005a8b359604d005d8da74b937152.tar.gz
enigma2-c7e822df550005a8b359604d005d8da74b937152.zip
now the code is working for /dev/ide/discs/discX mounts and direkt mounts to /dev/ide/hostX/busX/...
Diffstat (limited to 'lib/python/Components/Harddisk.py')
-rw-r--r--lib/python/Components/Harddisk.py2
1 files changed, 1 insertions, 1 deletions
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])