aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-26sg_vpd: zoned block dev char vpd: add zone alignment mode and zone starting ↵Douglas Gilbert
LBA granularity; gcc -fanalyzer fixes: in sg_pt_linux.c + sg_write_x.c git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@914 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-09-12sg_dd: srand48_r() and mrand48_r() are GNU libc specific, put conditional in ↵Douglas Gilbert
so non-reentrant version used otherwise git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@913 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-09-04sg_xcopy: tweak CSCD identification descriptorDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@912 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-08-31sg_get_elem_status: fix issue with '--maxlen=' option, add 2 depopulation ↵Douglas Gilbert
revocation health attributes [sbc5r01] git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@911 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-08-16sg_dd: don't use srand48_r() and mrand48_r() as they are GNU extensions. Use ↵Douglas Gilbert
the non-reentrant versions instead git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@909 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-08-04sg_ses: guard against small '--maxlen=' valuesDouglas Gilbert
In several utilities guard against '--maxlen=' < 4 or < 16 as they seem to serve no useful purpose other than finding awkward corner cases that may trip up these utilities. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@908 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-08-01sg_ses: fix crash when 'm LEN' < 252Douglas Gilbert
Cleanups suggested cppcheck git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@907 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-07-29sg_zones: finish initial support for REPORT ZONE DOMAINS and REPORT REALMSDouglas Gilbert
Lots of clean-up based on Coverity and other code checkers. Add some new inhex folder entries to testing those new ZBC-2 commands. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@906 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-06-23Haiku OS support, add pt function list in sg_pt_dummy.c; add slices to sg_mrq_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@905 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-06-11sg_read_buffer: fix --length= problem; pt: new configure option ↵Douglas Gilbert
--enable-pt_dummy builds the library with sg_pt_dummy.c instead of OS specific code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@904 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-06-07sg_vpd: fix do_hex type on some recent pages; sg_dd: don't close negative ↵Douglas Gilbert
file descriptors; pt_linux_nvme: fix fua setting git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@903 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-28sg_lib: add sg_get_zone_type_str()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@902 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-15sg_lib: add sg_scsi_status_is_bad(); testing/ workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@901 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-04sg_logs: additions to Volume statistics lpage [ssc5r05c]; fixes for FreeBSD 10.3Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@900 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-03bump sg_pt library version number; doco tweaksDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@899 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-03sg_ses: On Windows fix 'No command (cdb) given'Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@898 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-03more lib/sg_pt_freebsd.c tweaksDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@897 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-05-02major rework of lib/sg_pt_freebsd.c; sg_raw: fix prints of NVMe NVM command ↵Douglas Gilbert
names git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@896 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-15change links to http://sg.danny/cz/sg/* to httpsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@895 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-08tweaking utilities in testing directoryDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@894 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-01move some hex file from examples to inhex directory; add ↵Douglas Gilbert
testing/sg_take_snap; remove no_waitq from testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@893 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-29sg_requests: fix mingw breakage; 4th attempt to release 1.46Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@891 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-29align svn revision number with ChengeLogDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@887 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-29sg_vpd: fix vendor struct opts_t alignment; 3rd attempt to release 1.46Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@886 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-28ChangeLog: synchronize svn revision numberDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@884 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-28sg_dd: setup conditional auto rule for getrandom()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@883 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-22sg_dd: add cdl= operand for command duration limit indexesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@880 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-20sg_opcodes: improve handling of RWCDLP field; sg_lib: add ZBC (2020) feature ↵Douglas Gilbert
set entries git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@879 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-03-03sg_ses: add --all (-a) option, same action as --join; another freebsd fixDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@878 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-02-22sg_pt_freebsd: allow device names without leading /dev/ , fix for regression ↵Douglas Gilbert
introduced in rev 731 (ver: 1.43) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@877 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-02-20testing updates, mainly sgs_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@876 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-02-09sg_dd: add command timeout after comma in time= operand; ↵Douglas Gilbert
testing/sg_mrq_dd+sgh_dd work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@875 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-01-31sg_zone: add Remove element and modify zones command; testing/sg_mrq_dd workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@874 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-01-13testing update for hipri; testing/uapi_sg.h updateDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@873 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-12-24sg_sanitize + sg_format: when --verbose given once report probable success; ↵Douglas Gilbert
without --verbose 'no news is good news' git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@871 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-12-16autoconf: upgrade version 2.69 to 2.70Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@870 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-12-08sg_pt_win32: rid code of another stupid gcc 10 warningDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@869 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-12-07gcc-10: suppress warningsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@868 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-11-17sg_vpd: add Format presets and Concurrent positioning ranges pages; ↵Douglas Gilbert
sg_inq+sg_vpd: add hot-pluggable field in standard Inquiry git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@867 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-11-10tweak transport error handling in Linux; sg_compare_and_write: add examples ↵Douglas Gilbert
section to its manpage; testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@866 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-10-13sg_dd: add oflag=nocreat and conv=nocreat : OFILE must exist; similar in ↵Douglas Gilbert
testing sgh_dd+sg_mrq_dd git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@865 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-10-09sg_dd: add 00,ff,random flags; sg_modes: document '-s' optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@864 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-09-28sg_dd: tweak unrecovered error reporting; testing sg*_dd work, new uapi_sg.hDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@863 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-09-03C++ fix in library, testing cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@862 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-08-22partial_clear_scsi_pt_obj() declared in sg_pt.h; testing directory workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@861 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-08-03sg_raw: fix --cmdfile= handling; add --nvm option; sg_pt: add do_nvm_pt(); ↵Douglas Gilbert
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
2020-07-31sg_raw: increase maximum data-in/out size from 64 KB to 1 MB; testing sgh_dd ↵Douglas Gilbert
and sg_mrq_dd work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@859 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-07-24compile fix for sg_pt_win32.cDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@858 6180dd3e-e324-4e3e-922d-17de1ae2f315