SCSI debugging host and device simulator

modulename: scsi_debug.ko

configname: CONFIG_SCSI_DEBUG

Linux Kernel Configuration
└─>Device Drivers
└─>SCSI device support
└─>SCSI low-level drivers
└─>SCSI debugging host and device simulator
In linux kernel since version 2.6.12  
This pseudo driver simulates one or more hosts (SCSI initiators),
each with one or more targets, each with one or more logical units.
Defaults to one of each, creating a small RAM disk device. Many
parameters found in the /sys/bus/pseudo/drivers/scsi_debug
directory can be tweaked at run time.
See <http://sg.danny.cz/sg/sdebug26.html> for more information.
Mainly used for testing and best as a module. If unsure, say N.

source code: