scsi_probe_lun(9)

scsi_probe_lun9

Probe a single lun using a scsi inquiry

Usage

int scsi_probe_lun(struct scsi_device * sdev, unsigned char * inq_result, int result_len, int * bflags);

Arguments

sdev

scsi_device to probe

inq_result

area to store the INQUIRY result

result_len

len of inq_result

bflags

store any bflags found here

Overview

Probe the lun associated with req using a standard SCSI INQUIRY;

If the INQUIRY is successful, zero is returned and the INQUIRY data is in inq_result; the scsi_level and INQUIRY length are copied to the scsi_device any flags value is stored in *bflags.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.