|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| __construct ($deviceFile) | |
| exists () | |
| getDeviceFile () | |
| getCanonicalDeviceFile () | |
| getDeviceName ($canonical=FALSE) | |
| getSize () | |
| getBlockSize () | |
| getSectorSize () | |
| getDeviceNumber () | |
| getMajor () | |
| getMinor () | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Public Member Functions inherited from OMVIBlockDevice | |
| getDescription () | |
Protected Attributes | |
| $deviceFile = FALSE | |
| $size = FALSE | |
| $blockSize = FALSE | |
| $sectorSize = FALSE | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
Abstract class implementing generic block devices.
| OMVBlockDeviceAbstract::__construct | ( | $deviceFile | ) |
Constructor
| deviceFile | The device file. |
| OMVBlockDeviceAbstract::exists | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getBlockSize | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getCanonicalDeviceFile | ( | ) |
Get the canonical device file, e.g. /dev/mapper/vg0-lv0 -> /dev/dm-0
| OMVBlockDeviceAbstract::getDeviceFile | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getDeviceName | ( | $canonical = FALSE | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getDeviceNumber | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getMajor | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getMinor | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getSectorSize | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVBlockDeviceAbstract::getSize | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
1.8.6