aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_inq.8
AgeCommit message (Collapse)Author
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-07sg_inq+sg_vpd: more JSON work (tpc)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@964 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-29cleanup warning and C++20 building issuesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@963 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-19another round of sgj_* function renaming; sg_inq+sg_vpd: add new Block ↵Douglas Gilbert
Limits VPD page code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@961 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-15sg_inq+sg_vpd: JSON work continuesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@960 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-01-09Zoned block device characteristics VPD page, zbd extension field tweakDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@930 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-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-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
2018-08-15turn off format checking for MinGW; more manpage clean-upDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@787 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-06-03sg_decode sense: add --err=ES; sg_dd, sgp_dd, sgm_dd: add --dry-run and ↵Douglas Gilbert
--verbose options; introduce SG3_UTILS_DSENSE environment variable; sg_lib: add sg_nvme_desc2sense(), sg_build_sense_buffer(), and pr2ws() git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@777 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-03-22sg_inq+sg_vpd: return sg_convert_errno(EDOM) when VPD page noy in supported listDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@764 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-02-04add sg_convert_errno() and sg_if_can2stderr(); work on NVMe support for ↵Douglas Gilbert
Win32; add REPORT SUPPORTED OPCODES+TMFs to SNTL git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@749 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-01-09FreeBSD port now works with NVMe SNTL and sg3_ses pass-through (NVME-MI); ↵Douglas Gilbert
man page cleanups; improve SNTL translation to VPD page 0x83 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@743 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-12-29sg_ses: further NVMe support work; decode array status dpage (obsolete); ↵Douglas Gilbert
build: add SG_LIB_ANDROID git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@738 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-09-13sync up to spc5r16 and sbc4r14Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@714 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-04-28sg_inq+sg_vpd: add --force option to bypass checking supported vpd pages ↵Douglas Gilbert
page and fetch requested page directly; H. Reinecke git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@696 6180dd3e-e324-4e3e-922d-17de1ae2f315
2016-01-06sg_inq+sg_vpd+sg_xcopy: add support for locally assigned UUIDs in VPD page ↵Douglas Gilbert
0x83 (15-267r2) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@655 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-07-10sg_format: make '-FFF' bypass mode sense/select, add --mode=MP; trim ↵Douglas Gilbert
trailing spaces in dStrHex() and friends; add examples/sg_tst_async git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@591 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-05-19sg_lib_data: sync asc/ascq codes with T10 20140516, sync operation code with ↵Douglas Gilbert
T10 20140515; sg_inq: sync version descriptors dated 20105176; sg_vpd: add --vendor=VP option git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@579 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-05-12change SG_PERSIST_O_RDONLY to SG_PERSIST_IN_RDONLY; more --readonly options; ↵Douglas Gilbert
windows work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@574 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-03-11sg_inq+sg_vpd: --inhex=FN --raw reads response in binaryDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@559 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-02-18sg_inq: allow --page=-1 to force std INQUIRY decodingDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@555 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-02-17sg_vpd: add --inhex=FN to read response in from a file; other cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@554 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-02-16more --inhex work on sg_inq + cleanup; similar preparatory work for sg_vpdDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@552 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-02-14sg_inq: add --inhex=FN to fetch response from a file (rather than a device)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@551 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-02-04sg_persist: add --transport-id= for SOP; sg_lib.h: add PDT_ZBC define and ↵Douglas Gilbert
pdt string git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@549 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
2013-11-06sg_ses: add --dev-slot-num= and --sas-addr=Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@528 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-03-14sg_inq: fix comparison bug added in previous commitDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@489 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-03-12sg_inq: add --vendor option, take resid into account; more sg_lib.c sense ↵Douglas Gilbert
buffer cleanup git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@488 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-03-10sg_lib_data: sync asc/ascq codes with T10 20130117; update version descriptorsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@487 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-02-25sg_luns: add --test=LUNHEX for 64 bit lun supportDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@482 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-01-10move rescan-scsi-bus.sh to scripts folder; sg_inq --export correctionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@474 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-01-07sginfo, sg_inq + llseek.c: H. Reinecke small patchesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@473 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-11-21refer to C11, check compiles; cleanup manpage summariesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@466 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-09-25spc4r36e: sg_inq+sg_inq: software interface VPD page and new reserved fields ↵Douglas Gilbert
in standard INQUIRY response git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@458 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-02-24more sync with spc4r34 and sbc3r30Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@442 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-02-23sg_inq --export, sg_sanitize --ause --fail --test=, partial spc4r34+sbc3r30 syncDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@441 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-02-10doco: improve sg_format.8 examples; other cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@438 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-12-24minor man page cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@369 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-09-07sg3_utils man page: add sections on OS device namesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@350 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-05-17dStrHex() in sg_lib: trim trailing spacesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@343 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-03-01ssc4r01 and IBM LTO Ultium tape drive log pagesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@328 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-09-18start work on thin provisioning sbc3r20 additionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@300 6180dd3e-e324-4e3e-922d-17de1ae2f315