Scroll to navigation

SCSI_REMOVE_SINGLE_D(9) SCSI mid layer SCSI_REMOVE_SINGLE_D(9)

NAME

scsi_remove_single_device - Respond to user request to remove a device

SYNOPSIS

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

ARGUMENTS

uint host

user-supplied decimal integer

uint channel

user-supplied decimal integer

uint id

user-supplied decimal integer

uint lun

user-supplied decimal integer

DESCRIPTION

called by writing “scsi remove-single-device” to /proc/scsi/scsi. Does a scsi_device_lookup and scsi_remove_device

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12