Rechercher une page de manuel
scsi_add_lun
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
scsi_add_lun - allocate and fully initialze a scsi_deviceSYNOPSIS
- int scsi_add_lun(struct scsi_device * sdev, unsigned char * inq_result, int * bflags, int async);
ARGUMENTS
sdev
- holds information to be stored in the new scsi_device
inq_result
- holds the result of a previous INQUIRY to the LUN
bflags
- black/white list flag
async
- 1 if this device is being scanned asynchronously
DESCRIPTION
Initialize the scsi_device sdev. Optionally set fields based on values in *bflags.
SCSI_SCAN_NO_RESPONSE
could not allocate or setup a scsi_device
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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre