diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2007-06-27 02:59:37 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2007-06-27 02:59:37 +0000 |
commit | 666c11696c2674af4e765ba20e33d04bf01a1770 (patch) | |
tree | 6d08590913d6a23546b42489cf236379bbc445de /examples/transport_ids.txt | |
parent | 0e9184cde6f3d1a0046c706051a4bd4b36a6aede (diff) | |
download | sg3_utils-666c11696c2674af4e765ba20e33d04bf01a1770.tar.gz |
Load sg3_utils-1.08 into trunk/.
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@41 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples/transport_ids.txt')
-rw-r--r-- | examples/transport_ids.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/transport_ids.txt b/examples/transport_ids.txt new file mode 100644 index 00000000..ea2b8e70 --- /dev/null +++ b/examples/transport_ids.txt @@ -0,0 +1,32 @@ +# This file is an example for the sg_persist utility. +# That utility can take one or more "transportID"s from stdin when either +# the '--transport-id=-" or "-X -" option is given on the command line. + +# Here is a simple example (for SPI) of a comma separted hex list: +1,0,0,7,0,0,0,1 + + # Leading spaces and tabs before a '#' or ok + +# Leading spaces and tabs are ignored as are redundant separators (space, +# comma or tab). +# 1,2 ,,,3,4,5,6,7,8,9 + +# Playing around with an iSCSI transportID which is the only one defined +# (in SPC-3 rev20) that can be more than 24 bytes in length. +#5, 0, 0, 18, 41,42,43,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0 + +# Just playing around with protocol identifiers that aren't defined +#1c,22,33,44,55,66,77,88,99 +#a b , c d e f + +# 'report and move' requires one (and only one) transprtID. +# 'register' and 'register and ignore existing key' can optionally take +# one or more transportIDs. + +# This file should work for something like this: +# sg_persist --out --register-move --prout-type=1 --transport-id=- +# --param-rk=111 --param-sark=fff --unreg +# /dev/sda < examples/transport_ids.txt +# +# ... since there is only one line in this file that has a +# transportID on it that will be decoded (i.e. the "SPI" one above). |