lsm::local_disk

Function serial_num_get

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

Query serial number of specified disk path

Query the serial number of specified disk path. For SCSI/SAS/SATA/ATA disks, it will be extracted from SCSI VPD 0x80 page.