aboutsummaryrefslogtreecommitdiff
path: root/src/sg_readcap.c
AgeCommit message (Collapse)Author
2020-01-25sbc4r18+spc6r01 partial catch-up; sg_format: add FORMAT WITH PRESET supportDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@839 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-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-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-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-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-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-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-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
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-11-26sg_ses->ses3r11, sg_rep_zones->zbc-r04, sg_logs+sg_vpd+sg_sanitize->sbc4r07Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@648 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-12-21sg_inq: improve NAA handling in VPD 0x83, sg_senddiag: fix bug with --raw, ↵Douglas Gilbert
sg_ses: aes dpage add PCIe/NVMe, rescan-scsi-bus.sh: add --issue-lip-wait, sg_readcap: add ZBC's rc_basis git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@623 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
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-05-09sg_ses, sg_persist, sg_logs, sg_readcap, sg_read_buffer, sg_luns: add ↵Douglas Gilbert
--readonly option; SG_PERSIST_O_RDONLY ev git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@573 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-01-15sg_readcap: for --16 show physical block size if differentDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@544 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
2011-10-25sg_vpd: add 'sinq' pseudo page for standard inquiry response; enhance --long ↵Douglas Gilbert
for ei git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@421 6180dd3e-e324-4e3e-922d-17de1ae2f315
2011-01-22sync with sbc3r26: block limits+logical block provisioning VPD pagesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@374 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-10-31sbc3r25 renames 'thin' provisioning' to 'logical block provisioning': ↵Douglas Gilbert
multiple changes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@361 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
2009-04-11add '--16' option (same as '--long') to sg_readcap, docoDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@249 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-02-28more spc4r18 sync, start sbc3r18 sync (sg_format and sg_readcap); change ↵Douglas Gilbert
interface of sg_ll_format_unit() removing rto_req argument git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@221 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-06-04remove trailing spaces from various source filesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@178 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-05-14sg_set_binary_mode() added for MinGW to stop LF to CR-LF conversionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@170 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-02-23update asc/ascq table and version descriptorsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@159 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-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