other versions
    
    - Tumbleweed 1.10.2-1.3
 - Leap-16.0
 - Leap-15.6
 
| lsm_local_disk_vpd83_get(3) | Libstoragemgmt C API Manual | lsm_local_disk_vpd83_get(3) | 
NAME¶
lsm_local_disk_vpd83_get - Query scsi VPD 0x83 NAA ID.
SYNOPSIS¶
int lsm_local_disk_vpd83_get (const char *disk_path, char **vpd83, lsm_error **lsm_err);
ARGUMENTS¶
- disk_path
 - String. The path of disk path, example "/dev/sdb".
 - vpd83
 - Output pointer of SCSI VPD83 NAA ID. The format is: (?:^6[0-9a-f]{31})|(?:^[235][0-9a-f]{15})$ Set to NULL when error. Memory should be freed by 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¶
Query the SCSI VPD 0x83 page NAA type ID of specified disk path.
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_ERR_NOT_FOUND_DISK
  
   When provided disk path not found.
| lsm_local_disk_vpd83_get | January 2025 |