other versions
- Tumbleweed 1.11.0-1.1
- Leap-16.0
- Leap-15.6
| lsm_local_disk_vpd83_search(3) | Libstoragemgmt C API Manual | lsm_local_disk_vpd83_search(3) |
NAME¶
lsm_local_disk_vpd83_search - Search disks by VPD83 string.
SYNOPSIS¶
int lsm_local_disk_vpd83_search (const char *vpd83, lsm_string_list **disk_path_list, lsm_error **lsm_err);
ARGUMENTS¶
- vpd83
- String. The VPD 0x83 page ID.
- disk_path_list
- Output pointer of lsm_string_list. The format of disk path will be like "/dev/sdb" for SCSI or ATA disk. NULL if no found or got error. Memory should be freed by lsm_string_list_free.
- lsm_err
- Output pointer of lsm_error. Error message could be retrieved via lsm_error_message_get. Memory should be freed by lsm_error_free.
VERSION¶
1.3
DESCRIPTION¶
Search all the disk paths of specified VPD 0x83 page ID. Supported
ID formats:
* SCSI NAA type ID (16 or 32 hex characters)
* SCSI EUI-64 type ID (16, 24, or 32 hex characters)
* NVMe NGUID (32 hex characters)
* NVMe EUI-64 (16 hex characters)
RETURN¶
Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success or not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL.
* LSM_ERR_NO_MEMORY
When no memory.
* LSM_ERR_LIB_BUG
When something unexpected happens.
| lsm_local_disk_vpd83_search | September 2026 |