aboutsummaryrefslogtreecommitdiff
path: root/utils/README
blob: 34bb2603ce63b2d1495d8ef7c421549a0ccc1a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This directory contains these utilities:
  - hxascdmp: takes a binary stream and converts it to hexadecimal ASCII
    which is sent to stdout. The incoming binary stream can either be
    from a file or, in the absence of a file name, from stdin. Similar to
    the Unix "od" command. By default, it decodes 16 bytes per line with
    an ASCII interpretation to the right of each line.
  - sg_chk_asc: utility decodes the SCSI additional sense code table
    found at http://www.t10.org/lists/asc-num.txt and checks it
    against the table found in sg_lib.c in the main directory.
    It is designed to keep the table in sg_lib.c in "sync" with the
    table at the t10.org web site.


These utilities can be built for Linux or FreeBSD. To build sg_chk_asc
in FreeBSD the sg_lib.o file must be present (i.e. compiled) in the
main directory. The hxascdmp utility can be built in a Windows
MinGW/MSYS environment.

Doug Gilbert
21st January 2007