starget
bflags
rescan
Fast scanning for modern (SCSI-3) devices by sending a REPORT LUN command. Scan the resulting list of LUNs by calling scsi_probe_and_add_lun.
If BLINK_REPORTLUN2 is set, scan a target that supports more than 8 LUNs even if it's older than SCSI-3. If BLIST_NOREPORTLUN is set, return 1 always. If BLIST_NOLUN is set, return 0 always.
scan completed (or no memory, so further scanning is futile)
could not scan with REPORT LUN
James Bottomley <James.Bottomley@hansenpartnership.com>
Rob Landley <rob@landley.net>