[stgt] [PATCH 0/7] add tgtimg utility to manage image files
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Wed Dec 24 14:52:24 CET 2008
This patchset adds tgtimg, a new helper program to manage image files.
Now we have two programs, mktape and dump_tape to manage ssc image
files. I think that mktape and dump_tape are too general names. It's
not so nice to install tgt specific utilities with such names.
In the future, we would need to handle image files for other device
types. For example, we would have sbc image files such as qcow.
This adds tgtimg, a new helper program to manage image files. Now it
supports the features of mktape and dump_tape.
fujita at lily:~/git/tgt$ ./usr/tgtimg --op new --barcode abc --size=10 --type=data --file image0
blk_sz: 10, next 1152, 1152
Sizeof(mam): 1104, sizeof(h): 48
fujita at lily:~/git/tgt$ ./usr/tgtimg --op show --file image0
Media : abc
type : Data
Media serial number : abc_1230125075, created Wed Dec 24 22:24:35 2008
Beginning of Tape(16): Capacity 10 MB, Blk No.: 0, prev 0, curr 0, next 1152
End of Data(32): Blk No. 1, prev 0, curr 1152, next 1152, sz 0
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list