Crate hdd_standby [−] [src]
Library to check the power state of a hdd
This library allows querying the power status of an ata device using the ioctl syscall and is therefore currently only supported on unix systems. Querying a spun down drive will not cause a spinup.
The necessary ATA constants were taken from the ACS-3 draft standard.
The error type for this crate
The power state of an ata device
Query the power status of the given device