OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
setSMARTDeviceType ($type) | |
getSMARTDeviceType () | |
getSMARTInformation () | |
![]() | |
__construct ($deviceFile) | |
exists () | |
getDeviceFile () | |
getDeviceFileById () | |
getSize () | |
getBlockSize () | |
getSectorSize () | |
getModel () | |
getVendor () | |
getSerialNumber () | |
getDescription () | |
isRotational () | |
isRaid () | |
isUsb () | |
isAta () | |
hasSMART () | |
![]() | |
__construct ($deviceFile) | |
exists () | |
getDeviceFile () | |
getCanonicalDeviceFile () | |
getDeviceName ($canonical=FALSE) | |
getSize () | |
getBlockSize () | |
getSectorSize () | |
getDeviceNumber () | |
getMajor () | |
getMinor () | |
![]() | |
__construct () | |
getLastError () | |
Protected Attributes | |
$smartDeviceType = "" | |
![]() | |
$deviceFileById = FALSE | |
$model = FALSE | |
$vendor = FALSE | |
$udevInfo = FALSE | |
![]() | |
$deviceFile = FALSE | |
$size = FALSE | |
$blockSize = FALSE | |
$sectorSize = FALSE | |
Additional Inherited Members | |
![]() | |
getUdevProperty ($id) | |
![]() | |
setLastError ($error) | |
debug () | |
Abstract class implementing generic storage devices that support the S.M.A.R.T. AT Attachment (ATA) interface.
OMVStorageDeviceSMARTAbstract::getSMARTDeviceType | ( | ) |
Identify the device type required by the smartctl command.
OMVStorageDeviceSMARTAbstract::setSMARTDeviceType | ( | $type | ) |
Set the device type required by the smartctl command.