aboutsummaryrefslogtreecommitdiff
path: root/doc/sg3_utils.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2020-08-03 04:16:31 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2020-08-03 04:16:31 +0000
commit936a3271c9f9d86c9592e1406bdd254341ff2849 (patch)
tree9670d1c5e49bf15e036c7f43830fad570571176f /doc/sg3_utils.8
parent33f7b2296c779583acd5475484f57552ba437c41 (diff)
downloadsg3_utils-936a3271c9f9d86c9592e1406bdd254341ff2849.tar.gz
sg_raw: fix --cmdfile= handling; add --nvm option; sg_pt: add do_nvm_pt(); sg_lib: fix crash in sg_f2hex_arr() when fname not found
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@860 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg3_utils.8')
-rw-r--r--doc/sg3_utils.813
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/sg3_utils.8 b/doc/sg3_utils.8
index 2dafa936..89839b4e 100644
--- a/doc/sg3_utils.8
+++ b/doc/sg3_utils.8
@@ -1,4 +1,4 @@
-.TH SG3_UTILS "8" "July 2020" "sg3_utils\-1.46" SG3_UTILS
+.TH SG3_UTILS "8" "August 2020" "sg3_utils\-1.46" SG3_UTILS
.SH NAME
sg3_utils \- a package of utilities for sending SCSI commands
.SH SYNOPSIS
@@ -91,9 +91,14 @@ The SG3_UTILS_OLD_OPTS environment variable is explained in the previous
section. It is only for backward compatibility of the command line options
for older utilities.
.PP
-The SG3_UTILS_DSENSE environment variable may be set to a number. If that
-number is non\-zero then descriptor sense is set in the SNTL (the small
-SCSI to NVMe Translation Layer within the underlying library).
+The SG3_UTILS_DSENSE environment variable may be set to a number. It is
+only used by the embedded SNTL within the library used by the utilities in
+this library. SNTL is a SCSI to NVMe Translation Layer. This environment
+variable defaults to 0 which will lead to any utility that issues a SCSI
+command that is translated to a NVMe command (by the embedded SNTL) that
+fails at the NVMe dvice, to return SCSI sense in 'fixed' format. If this
+variable is non\-zero then then the returned SCSI sense will be in 'descriptor'
+format.
.PP
Several utilities have their own environment variable setting (e.g.
sg_persist has SG_PERSIST_IN_RDONLY). See individual utility man pages