openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.Harddisk.Harddisk Class Reference

Public Member Functions

def __init__ (self, device, removable=False)
 
def __lt__ (self, ob)
 
def partitionPath (self, n)
 
def sysfsPath (self, filename)
 
def stop (self)
 
def bus (self)
 
def diskSize (self)
 
def capacity (self)
 
def model (self)
 
def free (self)
 
def numPartitions (self)
 
def mountDevice (self)
 
def enumMountDevices (self)
 
def findMount (self)
 
def unmount (self)
 
def createPartition (self)
 
def mkfs (self)
 
def mount (self)
 
def fsck (self)
 
def killPartitionTable (self)
 
def killPartition (self, n)
 
def createInitializeJob (self)
 
def initialize (self)
 
def check (self)
 
def createCheckJob (self)
 
def createExt4ConversionJob (self)
 
def getDeviceDir (self)
 
def getDeviceName (self)
 
def readStats (self)
 
def startIdle (self)
 
def runIdle (self)
 
def setSleep (self)
 
def setIdleTime (self, idle)
 
def isSleeping (self)
 

Public Attributes

 device
 
 type
 
 max_idle_time
 
 idle_running
 
 last_access
 
 last_stat
 
 timer
 
 is_sleeping
 
 dev_path
 
 disk_path
 
 mount_path
 
 mount_device
 
 phys_path
 
 hdd_timer
 

Constructor & Destructor Documentation

◆ __init__()

def Components.Harddisk.Harddisk.__init__ (   self,
  device,
  removable = False 
)

Member Function Documentation

◆ __lt__()

def Components.Harddisk.Harddisk.__lt__ (   self,
  ob 
)

◆ bus()

def Components.Harddisk.Harddisk.bus (   self)

◆ capacity()

def Components.Harddisk.Harddisk.capacity (   self)

◆ check()

def Components.Harddisk.Harddisk.check (   self)

◆ createCheckJob()

def Components.Harddisk.Harddisk.createCheckJob (   self)

◆ createExt4ConversionJob()

def Components.Harddisk.Harddisk.createExt4ConversionJob (   self)

◆ createInitializeJob()

def Components.Harddisk.Harddisk.createInitializeJob (   self)

◆ createPartition()

def Components.Harddisk.Harddisk.createPartition (   self)

◆ diskSize()

def Components.Harddisk.Harddisk.diskSize (   self)

◆ enumMountDevices()

def Components.Harddisk.Harddisk.enumMountDevices (   self)

◆ findMount()

def Components.Harddisk.Harddisk.findMount (   self)

◆ free()

def Components.Harddisk.Harddisk.free (   self)

◆ fsck()

def Components.Harddisk.Harddisk.fsck (   self)

◆ getDeviceDir()

def Components.Harddisk.Harddisk.getDeviceDir (   self)

◆ getDeviceName()

def Components.Harddisk.Harddisk.getDeviceName (   self)

◆ initialize()

def Components.Harddisk.Harddisk.initialize (   self)

◆ isSleeping()

def Components.Harddisk.Harddisk.isSleeping (   self)

◆ killPartition()

def Components.Harddisk.Harddisk.killPartition (   self,
  n 
)

◆ killPartitionTable()

def Components.Harddisk.Harddisk.killPartitionTable (   self)

◆ mkfs()

def Components.Harddisk.Harddisk.mkfs (   self)

◆ model()

def Components.Harddisk.Harddisk.model (   self)

◆ mount()

def Components.Harddisk.Harddisk.mount (   self)

◆ mountDevice()

def Components.Harddisk.Harddisk.mountDevice (   self)

◆ numPartitions()

def Components.Harddisk.Harddisk.numPartitions (   self)

◆ partitionPath()

def Components.Harddisk.Harddisk.partitionPath (   self,
  n 
)

◆ readStats()

def Components.Harddisk.Harddisk.readStats (   self)

◆ runIdle()

def Components.Harddisk.Harddisk.runIdle (   self)

◆ setIdleTime()

def Components.Harddisk.Harddisk.setIdleTime (   self,
  idle 
)

◆ setSleep()

def Components.Harddisk.Harddisk.setSleep (   self)

◆ startIdle()

def Components.Harddisk.Harddisk.startIdle (   self)

◆ stop()

def Components.Harddisk.Harddisk.stop (   self)

◆ sysfsPath()

def Components.Harddisk.Harddisk.sysfsPath (   self,
  filename 
)

◆ unmount()

def Components.Harddisk.Harddisk.unmount (   self)

Member Data Documentation

◆ dev_path

Components.Harddisk.Harddisk.dev_path

◆ device

Components.Harddisk.Harddisk.device

◆ disk_path

Components.Harddisk.Harddisk.disk_path

◆ hdd_timer

Components.Harddisk.Harddisk.hdd_timer

◆ idle_running

Components.Harddisk.Harddisk.idle_running

◆ is_sleeping

Components.Harddisk.Harddisk.is_sleeping

◆ last_access

Components.Harddisk.Harddisk.last_access

◆ last_stat

Components.Harddisk.Harddisk.last_stat

◆ max_idle_time

Components.Harddisk.Harddisk.max_idle_time

◆ mount_device

Components.Harddisk.Harddisk.mount_device

◆ mount_path

Components.Harddisk.Harddisk.mount_path

◆ phys_path

Components.Harddisk.Harddisk.phys_path

◆ timer

Components.Harddisk.Harddisk.timer

◆ type

Components.Harddisk.Harddisk.type

The documentation for this class was generated from the following file: