aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-04-12 19:49:11 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-04-12 19:49:11 +0000
commitdaa673f3b6bc40c4d1251335e233ffb1956f1722 (patch)
tree730eda142c856034a3479aea57599ecad2ebfc44 /lib/python
parentd31adacc4d803e8e5967e3669b8a66382b8f7607 (diff)
downloadenigma2-daa673f3b6bc40c4d1251335e233ffb1956f1722.tar.gz
enigma2-daa673f3b6bc40c4d1251335e233ffb1956f1722.zip
add possible todo regarding mounted/ismount
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/Harddisk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py
index 7ba468e9..72093701 100644
--- a/lib/python/Components/Harddisk.py
+++ b/lib/python/Components/Harddisk.py
@@ -186,6 +186,7 @@ class Partition:
def mounted(self):
# THANK YOU PYTHON FOR STRIPPING AWAY f_fsid.
+ # TODO: can os.path.ismount be used?
procfile = tryOpen("/proc/mounts")
for n in procfile.readlines():
if n.split(' ')[1] == self.mountpoint: