3
The Tru64 port of sg3_utils contains those utilities that are _not_
4
specific to Linux. In some cases a utility could be ported but
5
requires more work. An example is sg_dd which needs more work
6
beyond the SCSI command pass through mechanism.
10
Here is a list of utilities that have been ported:
14
sg_inq [dropped ATA IDENTIFY DEVICE capability]
37
Most utility names are indicative of the main SCSI command
38
that they execute. Some utilities are slightly higher level, for
39
example sg_ses fetches SCSI Enclosure Services (SES) status pages and
40
can send control pages. Each utility has a man page (placed in
41
section 8). An overview of sg3_utils can be found at:
42
http://www.torque.net/sg/sg3_utils.html .
43
A copy of the "sg3_utils.html" file is in the "doc" subdirectory.
46
See the INSTALL file (at the end) for instructions on how to build
47
sg3_utils on Tru64. Files that are Tru64 specific use the "osf1"
48
suffix (apart from this one). Some man pages have examples which
49
use linux device names which hopefully will not confuse the Tru64 users.
54
The ported utilities listed above, all use SCSI command functions
55
declared in sg_cmds.h and implemented in sg_cmds.c . The sg_cmds.c
56
file passes SCSI commands to the host operating system via
57
an interface declared in sg_pt.h . There are currently three
58
implementations of that interface depending on the host operating
61
- sg_pt_osf1.c [Tru64]
64
The sg_pt_osf1.c file uses the Tru64 CAM SCSI pass through
67
Tru64 does not have general library support for "long" options
68
(e.g. "--verbose") which are used extensively by most of the
69
utilities in this package. Rather than change all the utilities
70
and their man/web pages a local implementation of the missing
71
function "getopt_long()" has been placed in the "getopt_long"
72
subdirectory. Currently only the Tru64 port uses it.