OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
getPowerModeState () | |
getSMARTDeviceType () | |
![]() | |
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 () | |
Additional Inherited Members | |
![]() | |
getUdevProperty ($id) | |
![]() | |
setLastError ($error) | |
debug () | |
![]() | |
$smartDeviceType = "" | |
![]() | |
$deviceFileById = FALSE | |
$model = FALSE | |
$vendor = FALSE | |
$udevInfo = FALSE | |
![]() | |
$deviceFile = FALSE | |
$size = FALSE | |
$blockSize = FALSE | |
$sectorSize = FALSE | |
This class provides a simple interface to handle ATA/SATA and SCSI hard disk devices. Try to use sysfs only to get the required information, otherwise the disk will spin-up if it is in sleep mode.
OMVStorageDeviceHDD::getPowerModeState | ( | ) |
Get the current power mode status.
OMVStorageDeviceHDD::getSMARTDeviceType | ( | ) |
Identify the device type required by the smartctl command.