hdd format (initialize) works now
[enigma2.git] / lib / python / Components / Harddisk.py
index 3c2425103c1fce829b8bab8c129a2b190d4ff40a..e925acd1337c2eafd0d0d23b79599d4c0ab929f0 100644 (file)
@@ -21,6 +21,9 @@ class Harddisk:
                self.prochdx = num2prochdx(index)
                self.devidex = "/dev/ide/host%d/bus%d/target%d/lun0/" % (host, bus, target)
 
+       def index(self):
+               return self.index
+
        def capacity(self):
                procfile = tryOpen(self.prochdx + "capacity")