aboutsummaryrefslogtreecommitdiff
path: root/src/sg_sync.c
AgeCommit message (Collapse)Author
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-01-28cleanup masks for PDT [0x1f] and group_number [0x3f]Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@934 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-11-20sg_z_act_query: new utility for sending either a Zone activate or Zone query ↵Douglas Gilbert
command; sg_rep_zones: add Report zone starting LBA granularity field in REPORT ZONES response [zbc2r12]; sg_decode_sense: add --nodecode option; initialize all sense buffers to 0; rework main README file git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@923 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
2019-12-27sg_lib: add sg_get_command_str() and sg_print_command_len(); ↵Douglas Gilbert
sg_verify+sg_write_same: fix and --ff option; sg_dd+sgh_dd: add --verify support git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@837 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-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-20sg_sanitize: add --dry-run option; sg_format: extend --wait timeout to 40 ↵Douglas Gilbert
hours for disk sizes > 4 TB and 80 hours if > 8 TB git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@773 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-05-15cleanup of error messages around sg_cmds_open_device(); add flock error msg ↵Douglas Gilbert
for ddpt git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@772 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-22sg_lib: add sg_if_can2stdout(); use uint8_t instead of unsigned char; ↵Douglas Gilbert
Windows pass-through work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@754 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-11fix compile error in sg_pt_win32.c when NVME_IGNORE; sg_raw: add ↵Douglas Gilbert
--cmdfile=CF option git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@752 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-11-03sg_opcode: check resid and trim response if necessary; sg_rep_zones: expand ↵Douglas Gilbert
--help option information git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@728 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-25sg_write_atomic: new utility; sg_opcode: support CDLP (command duration ↵Douglas Gilbert
limit page) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@717 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
2015-12-10unaligned cleanups for C++; misc workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@653 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-05-12sg_lib: Linux: ENXIO errno --> SG_LIB_CAT_NOT_READY; asc/ascq codes --> T10 ↵Douglas Gilbert
20150423 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@644 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-05-16other half of the sg_get_category_sense_str() changesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@578 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-05-18sg_write_same: add --ndob; sg_sync: add --16; sg_vpd: add FUAB bitDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@496 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
2012-02-18sg_verify, 16 byte cdb, bytchk and group number supportDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@439 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-03-12follow google's RE2 lead and add BSD_LICENSE files and refer to them from sourceDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@329 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
2007-12-19change 'long long' to int64_t to stress only need 64 bit integers (similar ↵Douglas Gilbert
change to uint64_t) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@128 6180dd3e-e324-4e3e-922d-17de1ae2f315
2007-09-19sg_stpg work, device_name simplification, restore sg_read_buffer to buildDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@103 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