aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2007-06-27 03:03:48 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2007-06-27 03:03:48 +0000
commit03ff550a733e3c9a8966158244269de408f9e1d9 (patch)
treea7470d0b50548e66df8a0521296b68dd075c8db7 /examples
parent7b29226287e840f613b34d08c7f29977de5d9223 (diff)
downloadsg3_utils-03ff550a733e3c9a8966158244269de408f9e1d9.tar.gz
Load sg3_utils-1.12 into trunk/.
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@49 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples')
-rw-r--r--examples/reassign_addr.txt11
-rw-r--r--examples/transport_ids.txt2
2 files changed, 12 insertions, 1 deletions
diff --git a/examples/reassign_addr.txt b/examples/reassign_addr.txt
new file mode 100644
index 00000000..9daf91a7
--- /dev/null
+++ b/examples/reassign_addr.txt
@@ -0,0 +1,11 @@
+# This file is an example for the sg_reassign utility.
+# That utility can take one or more logical block addresses from stdin when
+# either the '--address=-" or "-a -" option is given on the command line.
+
+# To see logical block addresses placed in the command parameter block
+# without executing the command try something like:
+# 'sg_reassign --address=- -d -vv /dev/sda < reassign_addr.txt
+
+1,34,0x33,0X444 0x89abcde 0xdeadbeef # 6 lba's
+
+# dpg 20050109
diff --git a/examples/transport_ids.txt b/examples/transport_ids.txt
index a8a0c1c3..8982afdc 100644
--- a/examples/transport_ids.txt
+++ b/examples/transport_ids.txt
@@ -6,7 +6,7 @@
# they are well formed) use the verbose flag 3 times (i.e. "... -vvv ...").
# Here is a simple example (for SPI) of a comma separted hex list:
-1,0,0,7,0,0,0,1
+1,0,0,7,0,0,0,1 # SPI, initiator address=0x7, relative_port_num=1
# Leading spaces and tabs before a '#' or ok