Jules Richardson wrote:
In theory one could hook up a system running linux/*bsd with a SCSI
controller present acting as a target rather than initiator, and have
the machine pretend to be a tape drive, hard disk etc.
I have no idea if the linux / *bsd kernels (or card drivers) support
running as a target, or if the necessary hooks are present into user-
land (eg. via 'sg') to allow user code to do the emulation, though.
I have *really* wanted to do this to emulate disks for some odd scsi
machines I have (disk which have nonstandard block sizes - don't ask).
I looked really hard and found some things close, but not quite. No
actual code, however.
There was some talk about doing in the linux world. I have not found
anything working, however. I did find a commercial product but I think
it was tape oriented.
Ideally I'd like a linux kernel module which worked with a common scsi
card. I'd be most happy if the module/driver would allow me to write
the actual target code in userland.
Please let me/us know if you find anything. I know it can be done but
don't have the time to write a driver.
I could swear I did see some hacks to a qlogic card which came close.
-brad