aboutsummaryrefslogtreecommitdiff
path: root/src/sg_turs.c
AgeCommit message (Collapse)Author
2022-11-04add two new exit status values: SG_LIB_CAT_STANDBY and ↵Douglas Gilbert
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
2022-08-12sg_inq+sg_vpd: more JSON work (add SG_C_CPP_ZERO_INIT)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@966 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-02sg_rep_zones: add experimental --json[=JO] option and generationDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@950 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-04-21sg_opcodes: add --inhex=FN to process earlier -HHH, add experimental ↵Douglas Gilbert
--json[=JO] option; sg_turs: change nanosleep() to Sleep() in MinGW git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@945 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-08-30improve transport error handling. To fix report of a BAD_TARGET transport ↵Douglas Gilbert
error but the utility still continued. introduce SG_LIB_TRANSPORT_ERROR [35] exit status git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@910 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-01-04sg_raw: add --cmdset option to bypass cdb heuristic, add --scan= ↵Douglas Gilbert
first_opcode,last_opcode; bug fixes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@872 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-07-24sg_turs: estimated time-to-ready, add --delay=MS option; sg_requests: ↵Douglas Gilbert
cleanup; sg_pt: add partial_clear_scsi_pt_obj, get_scsi_pt_cdb_len and get_scsi_pt_cdb_buf git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@857 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-07-02sg_request: add --error option; pack_ids in sg*_dd; testingDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@827 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-01-14sg_lib: tweak sg_pt interface to better handle bidi; sg_cmds_process_resp(): ↵Douglas Gilbert
two arguments removed git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@805 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-07add: SPDX-License-Identifier: BSD-2-Clause (or gpl-2-or-later); ↵Douglas Gilbert
testing/sgs_dd.c work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@797 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-07-13sg_turs: fix exit status when not ready in single case; sg_lib: add ↵Douglas Gilbert
sg_ll_start_stop_unit_pt(); sg_tst_context: add --verbose optin, other tweaks git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@782 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-06-29sg_opcode: support MLU, Multiple Logical Units (18-045r1); sg_lib: ↵Douglas Gilbert
sg_simple_inquiry_pt(); ./configure: option --enable-debug added for testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@779 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-24add SG_LIB_LOGIC_ERROR and SG_LIB_CONTRADICT; implement across many ↵Douglas Gilbert
utilities and increase usage of sg_convert_errno() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@774 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-21sg_turs: add --low option; testing/sg_tst_async.cpp + tst_sg_lib.c additionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@763 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-05sg_ses: --data=@FN with --status now decodes dpage(s) in FN; add --quiet ↵Douglas Gilbert
option to suppress messages git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@758 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-28add sg_seek and sg_stream_ctl utilities; properly identify vendor-specific ↵Douglas Gilbert
sense; documentation cleanup git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@747 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-19add hex2stdout(), hex2stderr() and hex2str(); add testing/sg_tst_nvme; clean ↵Douglas Gilbert
Makefile.freebsd in examples/ and testing/; NVMe error processing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@745 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-10-22sg_lib: add sg_ll_log_sense_v2(), sg_ll_mode_sense10_v2() and ↵Douglas Gilbert
sg_ll_receive_diag_v2(); documentation cleanup; sg_ses: filter join output on dpage element presence (AES dpage) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@722 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-10-13further two valued ints converted to boolDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@721 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-10-09convert lots of two valued 'int's to bool; add sg_ll_inquiry_v2() ↵Douglas Gilbert
sg_ll_write_buffer_v2() sg_get_sfs_name() and sg_decode_transportid_str() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@719 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-09-18https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change ↵Douglas Gilbert
sg_ll_*() function's 'int noisy' to bool git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@715 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-05-28cdb naming clean upDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@709 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-02-28sg_sanitize+sg_format: add --timeout=SEC option; sg_reassign+sg_write_same: ↵Douglas Gilbert
fix ULONG_MAX problem git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@680 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-12-20rescan-scsi-bus.sh: updates from Suse; sg_lib: add 'sense' categories for ↵Douglas Gilbert
SCSI statuses; pr2serr() rework; drop SUGGEST_* git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@654 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-05-15add 'sense' categories for reservation conflict, data protect and protection ↵Douglas Gilbert
information violations; add sg_get_category_sense_str() to API git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@577 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-05-31sg_luns: increase max number of LUNs, use heap; general cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@497 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-05-08sg_xcopy: add --on_src and --on_dst options; C++ cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@494 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-02-28more UA exposure via noisy argument; docoDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@485 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-12-06add forwarded sense descriptor; new sg_decode_sense utilityDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@365 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-07-24reverse out printf(%#) change, broken for %#02x when value is 0Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@284 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-07-22change many printf(0x%x) format strings to %#xDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@281 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-04-22further SG_LIB_* workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@259 6180dd3e-e324-4e3e-922d-17de1ae2f315
2007-09-10rearrange files into include, src, lib and doc directoriesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@100 6180dd3e-e324-4e3e-922d-17de1ae2f315