lsm::local_disk

Function led_status_get

source
pub fn led_status_get(disk_path: &str) -> Result<u32, LsmError>
Expand description

Retrieve current state of LED for specified disk path.

Note: Not all enclosures support both identification and fault LEDs.

Result is a bit sensitive field, see LED_STATUS_* constants