On Mon, 5 Apr 2010 16:09:05 +1000 ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > >> - dd if=/dev/zero bs=1k count=1 seek=1048575 of=/tmp/tid1lun1 > >> + ./tgtimg --op new --device-type disk --type disk --size 1024 \ > >> + --file /tmp/tid1lun1 > > > > The operations are slightly different. The previous operation using dd > > creates a sparse file. tgtimg doesn't. > > > > Worth adding the sparse option to tgtimg? I'm not sure. > > ((there is no sense code for "filesystem full)) t10 invented sense code like that for thin provisioning support? (needs to check the latest spec though). > I can add a --sparse if you want one. Let's wait until someone asks for. Advanced users can use a sparse file anyway. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html