---
name: "scsi_add_single_device"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_add_single_device"
---

# scsi\_add\_single\_device(9)

Respond to user request to probe for/add device

## NAME

scsi\_add\_single\_device - Respond to user request to probe for/add device

## SYNOPSIS

**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

## DESCRIPTION

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.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
