:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
scsi_vpd_lun_id(9) - phpMan

Command: man perldoc info search(apropos)  


SCSI_VPD_LUN_ID(9)                        SCSI mid layer                       SCSI_VPD_LUN_ID(9)



NAME
       scsi_vpd_lun_id - return a unique device identification

SYNOPSIS
       int scsi_vpd_lun_id(struct scsi_device * sdev, char * id, size_t id_len);

ARGUMENTS
       sdev
           SCSI device

       id
           buffer for the identification

       id_len
           length of the buffer

DESCRIPTION
       Copies a unique device identification into id based 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.

AUTHORS
       James Bottomley <James.Bottomley AT hansenpartnership.com>
           Author.

       Rob Landley <rob AT landley.net>
           Author.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                        SCSI_VPD_LUN_ID(9)


/man
rootr.net - man pages