aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
AgeCommit message (Collapse)Author
2022-10-21build cleanups for 'make distcheck'Douglas Gilbert
See https://github.com/doug-gilbert/sg3_utils/pull/26, 27 and 28; still need svn:ignore property or maybe global-ignores. More testing/*_dd.c* cleanups for retiring HIPRI and relacing with POLLED (for calling bio_poll() in kernel). git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@975 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-09-18sg_inq+sg_vpd: ongoing JSON updatesDouglas Gilbert
Probably at the end of the JSON work for sg_inq since it only has four vendor specific VPD pages. sg_vpd has a lot more vendor specific VPD pages which are yet to be 'jsonified'. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@971 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-18sg_inq+sg_vpd: more updates but not finishedDouglas Gilbert
The sg_inq+sg_inq work is mainly JSON additions. sg_vpd has a new --sinq_inraw=RFN option. Update and place names for the 64 TapeAlert flags in the library. This improves TapeAlert reporting for sg_inq, sg_vpd and sg_logs. Refine the description of the VPD page merge of processing for sg_inq and sg_vpd to only include _T10_ defined pages, so the vendor specific VPD page processings of those utilities are still separate. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@969 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-07-11sg_inq+sg_vpd: merge VPD page processingDouglas Gilbert
This is being done so that ongoing JSON work is not duplicated for both sg_vpd and sg_inq. This might lead to small changes in formatting of VPD (and standard INQUIRY) output. That in turn might break parsing code expecting the former output. Hopefully this will push folks who are parsing to try out JSON output. However JSON output format may not be that stable, hoping for feedback on that front. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@959 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-06-25sg_rem_rest_elem: new utility for removing or restoring elements; bug fixesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@955 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-01-21sg_rep_density: new utility for decoding the response of Report density ↵Douglas Gilbert
support command [ssc (tape)] git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@932 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-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-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-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-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-06-05sg_rep_pip: new utility; testing/sg_tst_ioctl.c workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@852 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-08-29add sg_get_elem_status utility; inhex folder; some NVMe 1.4; some zbc realmsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@830 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-15automake: upgrade to version 1.16.1; autoconf: upgrade to version 2.69 [Fed30]Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@823 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-02-11sg_pt: add sg_get_opcode_translation() to replace global pointer to array; ↵Douglas Gilbert
utils/hxascdmp: add -o=<offset> option; testing/sgh_dd fixes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@811 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-09-11sg_vpd: decode some WDC/Hitachi vendor VPD pages; sg_modes: accept acronym ↵Douglas Gilbert
for page/subpage codes; attempted 1.43 release git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@789 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-02sg_lib: add sg_ll_inquiry_pt(), sg_ll_test_unit_ready_progress_pt(), ↵Douglas Gilbert
sg_ll_request_sense_pt(), sg_ll_send_diag_pt(), sg_ll_receive_diag_pt(); sg_timestamp: add --elapsed, --hex and --no-timestamp options; sg_ses: check for NVMe enclosure bits git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@769 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-16Add little/big endian specializations to sg_unaligned.hDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@762 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-24sg_lib: add sg_exit2str; consolidate exit status stringsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@756 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-22turn off -Werror=misleading-indentation in src/Makefile.amDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@755 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-08struggling with Windows NVMe pass-throughDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@751 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-05Info section added to end of ./configure; sg_persist: add --maxlen=LEN ↵Douglas Gilbert
option; sg_opcodes: report when --no-inquiry ignored git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@750 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
2018-01-03sg_inq: add --only option, further sanity checks on --inhex so CDROM std inq ↵Douglas Gilbert
not confused with VPD page 0x80; sgp_dd: use pthread_kill(); various configure.ac and Makefile.am cleanups git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@742 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-11-15rename sg_write_atomic to sg_write_x; sg_inq: decode NVMe identify for ↵Douglas Gilbert
Linux+FreeBSD git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@731 6180dd3e-e324-4e3e-922d-17de1ae2f315
2017-10-10switch Makefile.am from clang++ but to normal C (gcc)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@720 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
2016-05-20add sg_bg_ctl; small cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@706 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-04-05more clang clean ups; allow clang to check printf() style argumentsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@690 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-04-05clang --analyze static checker clean upsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@689 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-02-08sg_read_attr: new, supported by tape drivesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@660 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-12-01sg_timestamp: new, to report or set timestampDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@650 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-02-16Makefile cleanup, from Jan EngelhardtDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@635 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-12-16sg_zone: new utility for open, close and finish zone commands; sg_ses: fix ↵Douglas Gilbert
warning indication output git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@622 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-11-11sg_sat_read_gplog: new utility; sync asc/ascq codes with T10 20140924Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@620 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-10-19sg_raw: do not output/print data-in if error; sg_inq: fix --cmddt output if ↵Douglas Gilbert
not supported by device git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@616 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-09-29sg_ses_microcode: new utilityDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@610 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-09-13Use '-iquote ../include' in Makefiles to prefer local headersDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@606 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-09-02win32,cygwin: try to clean up warningsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@604 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-08-12sg_vpd: add --all optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@598 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-07-22sg_write_verify: new utility for WRITE AND VERIFYDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@594 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-06-08sg_luns: add --lu_cong option to simulate the LU_CONG bitDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@587 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-05-27new utils: sg_rep_zones+sg_reset_wp; new Linux udev scripts; sg_inq --export ↵Douglas Gilbert
work; sg_logs lto5+6 work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@584 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-12-20sg_vpd: decode Third Party Copy (tpc) page; sg_ses: add --maxlen= optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@540 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-11-28sg_inq: sync version descriptors dated 20131126; fix overflow in ↵Douglas Gilbert
encode_whitespaces git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@535 6180dd3e-e324-4e3e-922d-17de1ae2f315