From 41be07b3e8ed62fad883268049f77fad5e73f5cf Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Mon, 7 Nov 2022 20:41:28 +0000 Subject: more sg_logs json work; fix debian package build breakage due to last commit git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@981 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- doc/sg_turs.8 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/sg_turs.8 b/doc/sg_turs.8 index bc6b4fde..bec99f59 100644 --- a/doc/sg_turs.8 +++ b/doc/sg_turs.8 @@ -1,4 +1,4 @@ -.TH SG_TURS "8" "July 2020" "sg3_utils\-1.46" SG3_UTILS +.TH SG_TURS "8" "November 2022" "sg3_utils\-1.48" SG3_UTILS .SH NAME sg_turs \- send one or more SCSI TEST UNIT READY commands .SH SYNOPSIS @@ -96,10 +96,14 @@ polling the progress indication. More recent standards seem to suggest the SCSI REQUEST SENSE command should be used instead. .SH EXIT STATUS The exit status of sg_turs is 0 when it is successful (e.g. in the case of -a mechanical disk, it is spun up and ready to accept commands). For this -utility the other exit status of interest is 2 corresponding to -the "not ready" sense key. For other exit status values see the sg3_utils(8) -man page. +a mechanical disk, it is spun up and ready to accept IO commands). For this +utility the other exit status values of interest are 2, 12 and 13. 12 is for +the case when the sense key is "not ready" [0x2] and the additional sense +code ends with "Target port in standby state" [0x4, 0xb]. 13 is for the +case when the sense key is "not ready" [0x2] and the additional sense code +is "Target port in unavailable state" [0x4, 0xc]. All other cases when +the sense key is "not ready" [0x2] will set the exit status to 2. +For other exit status values see the sg3_utils(8) man page. .SH OLDER COMMAND LINE OPTIONS The options in this section were the only ones available prior to sg3_utils version 1.23 . Since then this utility defaults to the newer command line @@ -140,7 +144,7 @@ using \fI\-\-old\fR (or \fI\-O\fR) as the first command line option. .SH AUTHORS Written by D. Gilbert .SH COPYRIGHT -Copyright \(co 2000\-2020 Douglas Gilbert +Copyright \(co 2000\-2022 Douglas Gilbert .br This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- cgit v1.2.3