[stgt] [PATCH] Allow to create a MMC LUN without backing store

ronnie sahlberg ronniesahlberg at gmail.com
Sat Dec 24 07:41:35 CET 2011


Oh dear,  christmas/yule and all

ignore the old bad patches in the previous mail and use these instead
sorry for the confusion


I recently switched to a different directory for the tgtd sources  and
didnt realize i was still defaulting to the old tgtd directory with an
ancient patch.



regards
ronnie sahlberg


On Sat, Dec 24, 2011 at 5:38 PM, ronnie sahlberg
<ronniesahlberg at gmail.com> wrote:
> Tomo, List
>
> Please find attached a patch to tgtadm to allow to create a new LUN
> without a backingstore
> if the device type is MMC.
>
>
> This means that the LUN will be created, but no media is loaded, like
> a CD/DVD which does not yet have a disk inserted.
> This is useful both for scripts where you want to add media at a later
> stage, but also for Jukeboxes where you probably want the initial
> state of the system to be a reader without media mounted but lots of
> media mounted in the storage slots, to later be moved to the reader
> using the mtx command.
>
>
>
> Maybe this should also allow creation of a LUN without media for SSC too?
>
>
> regards
> ronnie sahlberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TGTADM-Allow-creating-CD-DVD-devices-that-do-not-hav.patch
Type: text/x-diff
Size: 761 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20111224/07c76dae/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TGTADM-Allow-creating-CD-DVD-devices-that-do-not-hav.patch.gz
Type: application/x-gzip
Size: 495 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20111224/07c76dae/attachment-0002.bin>


More information about the stgt mailing list