[Stgt-devel] Ideas on more flexible cd handling

Mark Harvey markh794
Mon Nov 5 02:44:51 CET 2007

Hi Albert,

As far as I can remember, I have already added this support for to MMC device.

You need to make sure you set the MMC device as 'removable'

i.e. By combining the SMC with the MMC module, you can have a workable
CD jukebox within the SCSI target framework.

I'm been busy for the last couple of months with work related issues
and have not really visited the code lately.

On Nov 3, 2007 4:35 AM, Albert Pauw <albert.pauw at gmail.com> wrote:
> At the moment it is possible to export a CD iso through tgt but it is
> not very flexible.
> What I would like to see is that an eject command on the initiator side
> "ejects" the iso image on the tgt side, effectively replacing the cd iso
> image by /dev/null or /dev/zero on the backing store. On the initiator
> side it looks like no cd is inserted now. When, at the target side, I
> add again a backing store (a new iso cd image) to the cd LUN it will
> send a CD inserted message up to the initiator.
> The same can be used for the virtual tapes as it has the same principle
> (tape ejected/tape inserted).
> This could then be tied into a cd/tape changer device which could manage
> a directory containing iso/tape images.
> In fact you can argue the same for disks, albeit not a standard way of
> using them, but it would have the same result of inserting a new
> (SATA/SAS/SCSI) disk to a controller with hotplug insertion.
> So what do people think of this idea?
> Albert
> _______________________________________________
> Stgt-devel mailing list
> Stgt-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/stgt-devel

More information about the stgt mailing list