aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_dd.8
AgeCommit message (Collapse)Author
2022-08-12Prepare for removing /proc/scsi from the Linux kernelDouglas Gilbert
From: Bart Van Assche <bvanassche@acm.org> The sg3_utils package is the only /proc/scsi user I know of. Although support for systems without /proc/scsi was added to rescan_scsi_bus.sh more than ten years ago, a few references to /proc/scsi remain. Convert these references into the recommended interfaces. Posted to linux-scsi@vger.kernel.org on 20220810 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@968 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-05-12sg_lib: document internal json interface in include/sg_pr2serr.h; codespell ↵Douglas Gilbert
fixes git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@952 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-10-28sg_dd: 'iflag=00,ff' places the 32 bit block address (big endian) into each ↵Douglas Gilbert
block; sgp_dd: major rework, new: --chkaddr which checks for block address in each block git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@916 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-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-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-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-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
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-04-24sg_get_elem_status: add ralwd bit sbc4r20a, sg_rep_zones: print invalid ↵Douglas Gilbert
write pointer LBA as -1 rather than 16 'f's git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@849 6180dd3e-e324-4e3e-922d-17de1ae2f315
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
2019-12-27sg_lib: add sg_get_command_str() and sg_print_command_len(); ↵Douglas Gilbert
sg_verify+sg_write_same: fix and --ff option; sg_dd+sgh_dd: add --verify support git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@837 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-03-02sg_lib: extend small SNTL to support read capacityDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@812 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-08-13apply most patches from sg3_utils-1.42-6.fc29.src*; sg_get_lba_status fixes; ↵Douglas Gilbert
doco git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@786 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
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
2013-06-28sg_persist+sg_unmap: fix crash on option decode; sg_logs: expand for tape; ↵Douglas Gilbert
sg_xcopy+: clean git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@500 6180dd3e-e324-4e3e-922d-17de1ae2f315
2012-12-22another rescan-scsi-bus.sh patch; man page hyphensDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@472 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-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-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-06-02sg_vpd: rdac vendor page [0xc8] parse corrections; add nocache flag to sg_dd ↵Douglas Gilbert
manpage git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@344 6180dd3e-e324-4e3e-922d-17de1ae2f315
2009-04-01sg_write_same tweaks and man page cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@240 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
2009-01-05spring (New Year) cleaningDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@205 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-12-27sg_logs: sync protocol specific lpage to sas2r15Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@204 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-11-12tweakDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@197 6180dd3e-e324-4e3e-922d-17de1ae2f315
2008-10-26switch www.torque.net/sg to sg.danny.cz/sgDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@195 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-19sg_map26: fixes for lk 2.6.26 without CONFIG_SYSFS_DEPRECATED_V2Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@187 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-04-05maxlen option additionsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@167 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