Query: scsi_report_lun_scan
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_REPORT_LUN_SCAN(9) SCSI mid layer SCSI_REPORT_LUN_SCAN(9)NAMEscsi_report_lun_scan - Scan using SCSI REPORT LUN resultsSYNOPSISint scsi_report_lun_scan(struct scsi_target * starget, int bflags, int rescan);ARGUMENTSstarget which target bflags Zero or a mix of BLIST_NOLUN, BLIST_REPORTLUN2, or BLIST_NOREPORTLUN rescan nonzero if we can skip code only needed on first scanDESCRIPTIONFast 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. If starget->no_report_luns is set, return 1 always. 0 scan completed (or no memory, so further scanning is futile) 1 could not scan with REPORT LUNAUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_REPORT_LUN_SCAN(9)
Related Man Pages |
---|
sg_luns(8) - centos |
scsi-rescan(1) - centos |
format(1m) - hpux |
targ(4) - freebsd |
rescan-scsi-bus.sh(1) - centos |
Similar Topics in the Unix Linux Community |
---|
Set hard block limit for user using quota |
How to increment version inside a file? |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
Please Welcome Dave Munro to the Moderator Team! |