suse man page for scsi_probe_and_add_lun

Query: scsi_probe_and_add_lun

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI_PROBE_AND_ADD_L(9) 					  SCSI mid layer					   SCSI_PROBE_AND_ADD_L(9)

NAME
scsi_probe_and_add_lun - probe a LUN, if a LUN is found add it
SYNOPSIS
int scsi_probe_and_add_lun(struct scsi_target * starget, uint lun, int * bflagsp, struct scsi_device ** sdevp, int rescan, void * hostdata);
ARGUMENTS
starget pointer to target device structure lun LUN of target device bflagsp store bflags here if not NULL sdevp probe the LUN corresponding to this scsi_device rescan if nonzero skip some code only needed on first scan hostdata passed to scsi_alloc_sdev
DESCRIPTION
Call scsi_probe_lun, if a LUN with an attached device is found, allocate and set it up by calling scsi_add_lun. SCSI_SCAN_NO_RESPONSE could not allocate or setup a scsi_device SCSI_SCAN_TARGET_PRESENT target responded, but no device is attached at the LUN SCSI_SCAN_LUN_PRESENT a new scsi_device was allocated and initialized
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSI_PROBE_AND_ADD_L(9)
Related Man Pages
scsi_device(9s) - sunos
scsi_device(9s) - suse
scsi_device(9s) - hpux
scsi_device(9s) - linux
scsi_device(9s) - xfree86
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Grant unprivileged user rights to see the output of echo|format but not modify disks
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend
32 bit process addressing more than 4GB