|
def | __init__ (self, data, blkdev) |
|
def | __lt__ (self, ob) |
|
def | partitionPath (self, n) |
|
def | stop (self) |
|
def | bus_description (self) |
|
def | capacity (self) |
|
def | model (self, model_only=False, vendor_only=False) |
|
def | free (self) |
|
def | numPartitions (self) |
|
def | initialize (self, isFstabMounted=False, numpart=None) |
|
def | check (self, isFstabMounted=False, numpart=None) |
|
def | getDeviceDir (self) |
|
def | getDeviceName (self) |
|
def | setIdleTime (self, idle) |
|
def | isSleeping (self) |
|
def | isIdle (self) |
|
|
list | errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Fsck failed"), _("Please Reboot"), _("Filesystem contains uncorrectable errors"), _("Unmount failed")] |
|
◆ __init__()
def Components.Harddisk.Harddisk.__init__ |
( |
|
self, |
|
|
|
data, |
|
|
|
blkdev |
|
) |
| |
◆ __lt__()
def Components.Harddisk.Harddisk.__lt__ |
( |
|
self, |
|
|
|
ob |
|
) |
| |
◆ bus_description()
def Components.Harddisk.Harddisk.bus_description |
( |
|
self | ) |
|
◆ capacity()
def Components.Harddisk.Harddisk.capacity |
( |
|
self | ) |
|
◆ check()
def Components.Harddisk.Harddisk.check |
( |
|
self, |
|
|
|
isFstabMounted = False , |
|
|
|
numpart = None |
|
) |
| |
◆ free()
def Components.Harddisk.Harddisk.free |
( |
|
self | ) |
|
◆ getDeviceDir()
def Components.Harddisk.Harddisk.getDeviceDir |
( |
|
self | ) |
|
◆ getDeviceName()
def Components.Harddisk.Harddisk.getDeviceName |
( |
|
self | ) |
|
◆ initialize()
def Components.Harddisk.Harddisk.initialize |
( |
|
self, |
|
|
|
isFstabMounted = False , |
|
|
|
numpart = None |
|
) |
| |
◆ isIdle()
def Components.Harddisk.Harddisk.isIdle |
( |
|
self | ) |
|
◆ isSleeping()
def Components.Harddisk.Harddisk.isSleeping |
( |
|
self | ) |
|
◆ model()
def Components.Harddisk.Harddisk.model |
( |
|
self, |
|
|
|
model_only = False , |
|
|
|
vendor_only = False |
|
) |
| |
◆ numPartitions()
def Components.Harddisk.Harddisk.numPartitions |
( |
|
self | ) |
|
◆ partitionPath()
def Components.Harddisk.Harddisk.partitionPath |
( |
|
self, |
|
|
|
n |
|
) |
| |
◆ setIdleTime()
def Components.Harddisk.Harddisk.setIdleTime |
( |
|
self, |
|
|
|
idle |
|
) |
| |
◆ stop()
def Components.Harddisk.Harddisk.stop |
( |
|
self | ) |
|
◆ dev_path
Components.Harddisk.Harddisk.dev_path |
◆ device
Components.Harddisk.Harddisk.device |
◆ disk_path
Components.Harddisk.Harddisk.disk_path |
◆ errorList
list Components.Harddisk.Harddisk.errorList = [ _("Everything is fine"), _("Creating partition failed"), _("Mkfs failed"), _("Mount failed"), _("Create movie folder failed"), _("Fsck failed"), _("Please Reboot"), _("Filesystem contains uncorrectable errors"), _("Unmount failed")] |
|
static |
◆ idle_running
Components.Harddisk.Harddisk.idle_running |
◆ is_sleeping
Components.Harddisk.Harddisk.is_sleeping |
◆ isInitializing
Components.Harddisk.Harddisk.isInitializing |
◆ isRemovable
Components.Harddisk.Harddisk.isRemovable |
◆ isVerifying
Components.Harddisk.Harddisk.isVerifying |
◆ last_access
Components.Harddisk.Harddisk.last_access |
◆ last_stat
Components.Harddisk.Harddisk.last_stat |
◆ max_idle_time
Components.Harddisk.Harddisk.max_idle_time |
◆ timer
Components.Harddisk.Harddisk.timer |
◆ timer_conn
Components.Harddisk.Harddisk.timer_conn |
The documentation for this class was generated from the following file: