scsi_add_single_device(9)

scsi_add_single_device9

Respond to user request to probe for/add device

Usage

int scsi_add_single_device(uint host, uint channel, uint id, uint lun);

Arguments

host

user-supplied decimal integer

channel

user-supplied decimal integer

id

user-supplied decimal integer

lun

user-supplied decimal integer

Overview

called by writing “scsi add-single-device” to /proc/scsi/scsi.

does scsi_host_lookup and either user_scan if that transport type supports it, or else scsi_scan_host_selected

Note

this seems to be aimed exclusively at SCSI parallel busses.

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.