diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2007-06-27 03:20:52 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2007-06-27 03:20:52 +0000 |
commit | 68f4f8dd3682a586c2b082b115c1e4166a3146dd (patch) | |
tree | ce060fd9dfffd4d9ef72db58c73632a6ed659fcf /README.tru64 | |
parent | 3e7335214bdf0173b615311b1f0c5f8297ff2f46 (diff) | |
download | sg3_utils-68f4f8dd3682a586c2b082b115c1e4166a3146dd.tar.gz |
Load sg3_utils-1.19 into trunk/.
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@65 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'README.tru64')
-rw-r--r-- | README.tru64 | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/README.tru64 b/README.tru64 new file mode 100644 index 00000000..a8ad32e3 --- /dev/null +++ b/README.tru64 @@ -0,0 +1,74 @@ +Introduction +============ +The Tru64 port of sg3_utils contains those utilities that are _not_ +specific to Linux. In some cases a utility could be ported but +requires more work. An example is sg_dd which needs more work +beyond the SCSI command pass through mechanism. + +Supported Utilities +=================== +Here is a list of utilities that have been ported: + sg_format + sg_get_config + sg_ident + sg_inq [dropped ATA IDENTIFY DEVICE capability] + sg_logs + sg_luns + sg_modes + sg_persist + sg_prevent + sg_read_long + sg_readcap + sg_reassign + sg_requests + sg_rmsn + sg_rtpg + sg_senddiag + sg_ses + sg_start + sg_sync + sg_turs + sg_verify + sg_wr_mode + sg_write_long + +Most utility names are indicative of the main SCSI command +that they execute. Some utilities are slightly higher level, for +example sg_ses fetches SCSI Enclosure Services (SES) status pages and +can send control pages. Each utility has a man page (placed in +section 8). An overview of sg3_utils can be found at: +http://www.torque.net/sg/u_index.html . +A copy of the "u_index.html" file is in the "doc" subdirectory. + + +See the INSTALL file (at the end) for instructions on how to build +sg3_utils on Tru64. Files that are Tru64 specific use the "osf1" +suffix (apart from this one). Some man pages have examples which +use linux device names which hopefully will not confuse the Tru64 users. + + +Details +======= +The ported utilities listed above, all use SCSI command functions +declared in sg_cmds.h and implemented in sg_cmds.c . The sg_cmds.c +file passes SCSI commands to the host operating system via +an interface declared in sg_pt.h . There are currently three +implementations of that interface depending on the host operating +system: + - sg_pt_linux.c + - sg_pt_osf1.c [Tru64] + - sg_pt_freebsd.c + +The sg_pt_osf1.c file uses the Tru64 CAM SCSI pass through +mechanism. + +Tru64 does not have general library support for "long" options +(e.g. "--verbose") which are used extensively by most of the +utilities in this package. Rather than change all the utilities +and their man/web pages a local implementation of the missing +function "getopt_long()" has been placed in the "getopt_long" +subdirectory. Currently only the Tru64 port uses it. + + +Doug Gilbert +24th January 2006 |