aboutsummaryrefslogtreecommitdiff
path: root/src/sg_dd.c
AgeCommit message (Collapse)Author
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-22block limits and block limit extension VPD pages: add extra info about ↵Douglas Gilbert
corner cases; add SG_LIB_UNBOUNDED_32BIT (_16BIT and _64BIT) defines to help with decoding corner cases git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@716 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-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-01-27sg_logs: LPS misalignment lpage; sg_format: add ffmt option; sg_lib: big ↵Douglas Gilbert
sense reporting rework git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@657 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-02fix some unaligned gremlinsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@652 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-02-16examples/sg_tst_async: cleanup; sg_write_same: cleanup, mainly man pageDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@634 6180dd3e-e324-4e3e-922d-17de1ae2f315
2015-01-29allow CR is hex ASCII input files; repeat IO after EAGAIN in sg*_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@632 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-12-30introduce uintptr_t in place of unsigned long, w7 64 bit requirementDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@625 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-12-26sg_lib_data: sync asc/ascq codes with T10 20141224; sg_inq: update version ↵Douglas Gilbert
descriptor list to 20141221; scanf(%s) git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@624 6180dd3e-e324-4e3e-922d-17de1ae2f315
2014-09-18sg_vpd: more TPC VPD page decoding; sg_ses: handle element descriptor names ↵Douglas Gilbert
that count a trailing NULL git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@607 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-10-14avoid getpagesize() with sysconf() and use posix_memalign()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@521 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-08-17clang cleanup; sg_xcopy seek not bumped fixDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@507 6180dd3e-e324-4e3e-922d-17de1ae2f315
2013-06-04sg_compare_and_write: fix wrprotect bugDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@498 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
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
2012-12-11run cleanfile over C source and headersDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@470 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-09-08manpages for sg_xcopy and sg_copy_results; sg_dd cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@452 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-06-12sg_ses: allow ident,locate on enclosure controllerDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@450 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-07-26sg_dd: default to sg_io for Linux bsg devicesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@347 6180dd3e-e324-4e3e-922d-17de1ae2f315
2010-06-26sync with spc4r25, small sg_dd+sg_ses cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@345 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-02-05accept 'count=-1' and '-V' in sg_dd, sgm_dd and sgp_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@212 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-11-16tweak posix_fadvise() againDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@199 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-11-16tweak posix_fadvise(), add associated 'nocache' flagDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@198 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-10-24sg_dd: first cut using posix_fadvise()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@194 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-09-10sg_dd: add of2=OFILE2 and conv=sparseDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@192 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-07-24sg_dd: switch order of open sg device nodes on input, first try RW then RDONLYDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@189 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-07-15sg_dd: flock(LOCK_EX|LOCK_NB) optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@186 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-06-02widen coe processing to medium and hard errors that don't report bad lbaDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@175 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-01-30sg_dd: improve MMC processingDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@145 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-01-15tweak a few utilitiesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@140 6180dd3e-e324-4e3e-922d-17de1ae2f315
2007-12-27replace %lld and friends with PRI macros, remove archive/pre_configureDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@134 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