![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
Classes | |
| class | Harddisk |
| class | Partition |
| class | HarddiskManager |
| class | UnmountTask |
| class | MountTask |
| class | MkfsTask |
Functions | |
| def | readFile (filename) |
| def | getextdevices (ext) |
| def | getProcMounts () |
| def | isFileSystemSupported (filesystem) |
| def | findMountPoint (path) |
| def | getFolderSize (path) |
| def | Freespace (dev) |
| def | addInstallTask (job, package) |
Variables | |
| MODEL = BoxInfo.getItem("model") | |
| int | DEVTYPE_UDEV = 0 |
| int | DEVTYPE_DEVFS = 1 |
| DEVICEDB = \ | |
| harddiskmanager = HarddiskManager() | |
| def Components.Harddisk.addInstallTask | ( | job, | |
| package | |||
| ) |
| def Components.Harddisk.findMountPoint | ( | path | ) |
Example: findMountPoint("/media/hdd/some/file") returns "/media/hdd\"
| def Components.Harddisk.Freespace | ( | dev | ) |
| def Components.Harddisk.getextdevices | ( | ext | ) |
| def Components.Harddisk.getFolderSize | ( | path | ) |
| def Components.Harddisk.getProcMounts | ( | ) |
| def Components.Harddisk.isFileSystemSupported | ( | filesystem | ) |
| def Components.Harddisk.readFile | ( | filename | ) |
| Components.Harddisk.DEVICEDB = \ |
| int Components.Harddisk.DEVTYPE_DEVFS = 1 |
| int Components.Harddisk.DEVTYPE_UDEV = 0 |
| Components.Harddisk.harddiskmanager = HarddiskManager() |
| Components.Harddisk.MODEL = BoxInfo.getItem("model") |