aboutsummaryrefslogtreecommitdiff
path: root/src/sg_get_lba_status.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-08-13 05:24:09 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-08-13 05:24:09 +0000
commita059c857494382bb900dc23474b31c654017e461 (patch)
treec8738fed0dc06aa9a0e0f1c6cf472166ff7255b9 /src/sg_get_lba_status.c
parent9236f11e7389ec4658b06b3835ad4a6cceca9d50 (diff)
downloadsg3_utils-a059c857494382bb900dc23474b31c654017e461.tar.gz
apply most patches from sg3_utils-1.42-6.fc29.src*; sg_get_lba_status fixes; doco
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@786 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_get_lba_status.c')
-rw-r--r--src/sg_get_lba_status.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sg_get_lba_status.c b/src/sg_get_lba_status.c
index 6791164c..91c7a96d 100644
--- a/src/sg_get_lba_status.c
+++ b/src/sg_get_lba_status.c
@@ -33,7 +33,7 @@
* device.
*/
-static const char * version_str = "1.17 20180626";
+static const char * version_str = "1.18 20180812"; /* sbc4r15 */
#ifndef UINT32_MAX
#define UINT32_MAX ((uint32_t)-1)
@@ -85,7 +85,8 @@ usage()
"add_status>\n"
" use twice ('-bb') for given LBA "
"provisioning status\n"
- " --element-id=EI|-e EI EI is the element identifier\n"
+ " --element-id=EI|-e EI EI is the element identifier "
+ "(def: 0)\n"
" --help|-h print out usage message\n"
" --hex|-H output in hexadecimal\n"
" --lba=LBA|-l LBA starting LBA (logical block address) "
@@ -102,10 +103,11 @@ usage()
" 2-> LBAs that are mapped\n"
" 3-> LBAs that are deallocated\n"
" 4-> LBAs that are anchored\n"
- " 5-> LBAs that may return "
+ " 16-> LBAs that may return "
"unrecovered error\n"
- " --scan-len=SL|-s SL SL in maximum scan length "
- "(unit: logical blocks)\n"
+ " --scan-len=SL|-s SL SL in maximum scan length (unit: "
+ "logical blocks)\n"
+ " (def: 0 which implies no limit)\n"
" --verbose|-v increase verbosity\n"
" --version|-V print version string and exit\n\n"
"Performs a SCSI GET LBA STATUS(16) or GET LBA STATUS(32) "