aboutsummaryrefslogtreecommitdiff
path: root/sg_senddiag.8
diff options
context:
space:
mode:
Diffstat (limited to 'sg_senddiag.8')
-rw-r--r--sg_senddiag.89
1 files changed, 6 insertions, 3 deletions
diff --git a/sg_senddiag.8 b/sg_senddiag.8
index 23ec8a30..009dad66 100644
--- a/sg_senddiag.8
+++ b/sg_senddiag.8
@@ -1,4 +1,4 @@
-.TH SG_SENDDIAG "8" "April 2006" "sg3_utils-1.20" SG3_UTILS
+.TH SG_SENDDIAG "8" "June 2006" "sg3_utils-1.21" SG3_UTILS
.SH NAME
sg_senddiag \- performs a SCSI SEND DIAGNOSTIC command
.SH SYNOPSIS
@@ -26,7 +26,7 @@ utility, are listed.
set the Device Offline (DevOffL) bit (default is clear). Only significant
when '-t' option is set for the default self test. When set other operations
on any logical units controlled by the this device server (target) may be
-effected (delayed) while a default self test is underway.
+affected (delayed) while a default self test is underway.
.TP
-e
outputs the expected extended self test duration. The duration
@@ -82,7 +82,7 @@ Both the '-doff' and/or '-uoff' options can be used with this option.
-uoff
set the Unit Offline (UnitOffL) bit (default is clear). Only significant
when '-t' option is set for the default self test. When set other operations
-on this logical unit may be effected (delayed) while a default self test
+on this logical unit may be affected (delayed) while a default self test
is underway. Some devices (e.g. Fujitsu disks) do more tests when this
bit is set.
.TP
@@ -140,6 +140,9 @@ will work in the 2.6 series kernels.
To access SCSI enclosures see the sg_ses utility. sg_ses uses the
SEND DIAGNOSTIC and RECEIVE DIAGNOSTIC RESULTS SCSI commands as outlined
in the SES-2 (draft) standard.
+.SH EXIT STATUS
+The exit status of sg_senddiag is 0 when it is successful. Otherwise see
+the sg3_utils(8) man page.
.SH AUTHOR
Written by Doug Gilbert
.SH "REPORTING BUGS"