add possible todo regarding mounted/ismount
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:49:11 +0000 (19:49 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:49:11 +0000 (19:49 +0000)
lib/python/Components/Harddisk.py

index 7ba468e..7209370 100644 (file)
@@ -186,6 +186,7 @@ class Partition:
 
        def mounted(self):
                # THANK YOU PYTHON FOR STRIPPING AWAY f_fsid.
 
        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:
                procfile = tryOpen("/proc/mounts")
                for n in procfile.readlines():
                        if n.split(' ')[1] == self.mountpoint: