scsi_vpd_lun_id — return a unique device identification
|struct scsi_device * sdev,|
|char * id,|
struct scsi_device * sdev
char * id
buffer for the identification
length of the buffer
Copies a unique device identification into
on the information in the VPD page 0x83 of the device.
The string will be formatted as a SCSI name string.
Returns the length of the identification or error on failure. If the identifier is longer than the supplied buffer the actual identifier length is returned and the buffer is not zero-padded.