aboutsummaryrefslogtreecommitdiff
path: root/doc/sg3_utils.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-11-04 15:43:37 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-11-04 15:43:37 +0000
commit20f3fcb175b72c06464965a4bce7d0a5eaef47b9 (patch)
tree8c41fd7b2b61e624620c3eb377c54c073a02cc99 /doc/sg3_utils.8
parent44e90986b1aea4296ba69198130fd37a9ffca082 (diff)
downloadsg3_utils-20f3fcb175b72c06464965a4bce7d0a5eaef47b9.tar.gz
add two new exit status values: SG_LIB_CAT_STANDBY and SG_LIB_CAT_UNAVAILABLE which refine the 'not ready' exit status
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@980 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg3_utils.8')
-rw-r--r--doc/sg3_utils.89
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/sg3_utils.8 b/doc/sg3_utils.8
index c65af9aa..d038cb51 100644
--- a/doc/sg3_utils.8
+++ b/doc/sg3_utils.8
@@ -318,6 +318,7 @@ the \fIDEVICE\fR reports that it is not ready for the operation requested.
The \fIDEVICE\fR may be in the process of becoming ready (e.g. spinning up
but not at speed) so the utility may work after a wait. In Linux the
\fIDEVICE\fR may be temporarily blocked while error recovery is taking place.
+See exit status values 12 and 13 below which refine this exit value.
.TP
.B 3
the \fIDEVICE\fR reports a medium or hardware error (or a blank check). For
@@ -356,6 +357,14 @@ the \fIDEVICE\fR reports an aborted command. In some cases aborted
commands can be retried immediately (e.g. if the transport aborted
the command due to congestion).
.TP
+.B 12
+the \fIDEVICE\fR reports a sense key of not ready together with an
+additional sense code of "target port in standby state".
+.TP
+.B 13
+the \fIDEVICE\fR reports a sense key of not ready together with an
+additional sense code of "target port in unavailable state".
+.TP
.B 14
the \fIDEVICE\fR reports a miscompare sense key. VERIFY and COMPARE AND
WRITE commands may report this.