aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-20rescan-scsi-bus.sh: fix for github issue 46upstream-mainDouglas Gilbert
rescan-scsi-bus.sh: fix for github.com/doug-gilbert/sg3_utils/issues/46 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1076 6180dd3e-e324-4e3e-922d-17de1ae2f315 cppcheck cleanups git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1075 6180dd3e-e324-4e3e-922d-17de1ae2f315 Merge branch 'svn_sync'
2023-12-21rescan-scsi-bus.sh: fix for github.com/doug-gilbert/sg3_utils/issues/46Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1076 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-21cppcheck cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1075 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-13sg_vpd: add --descriptors optionDouglas Gilbert
sg_vpd: add --descriptors option, for version descriptors; Re-organiize library for SNT code. Merge branch 'svn_sync' git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1074 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-14sg_vpd: add --descriptors option, for version descriptors; re-organiize ↵Douglas Gilbert
library for SNT code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1074 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-06sg_dd: support fcntl(F_SET_FILE_RW_HINT)Douglas Gilbert
Two svn commits in this Merge branch 'svn_sync': sg_dd: fix bug that identified all block devices as NVME git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1073 6180dd3e-e324-4e3e-922d-17de1ae2f315 sg_dd: support fcntl(F_SET_FILE_RW_HINT) on non-passthrough IFILE and OFILE when grpnum=GN given git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1072 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-06sg_dd: fix bug that identified all block devices as NVMEDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1073 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-06sg_dd: support fcntl(F_SET_FILE_RW_HINT) on non-passthrough IFILE and OFILE ↵Douglas Gilbert
when grpnum=GN given git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1072 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-03sg_dd: add grpnum=GN operand and --nocopy optionDouglas Gilbert
Merge branch 'svn_sync': git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1071 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-04sg_dd: add grpnum=GN operand and --nocopy optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1071 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-03sg_stream_ctl: fix handling of GET STREAM STATUSDouglas Gilbert
Full message: sg_stream_ctl: fix handling of GET STREAM STATUS descriptor fields (sbc5r06.pdf). Merge branch 'svn_sync': git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1070 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-03sg_stream_ctl: fix handling of GET STREAM STATUS descriptor fields (sbc5r06.pdf)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1070 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-02more internal SNT work, other cleanupsDouglas Gilbert
Merge branch 'svn_sync' git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1069 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-12-02more internal SNT work, other cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1069 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-25Merge svn revision 1068Douglas Gilbert
From branch 'svn_sync'
2023-11-25improve SNT error translation for sdparmDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1068 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-25fine tune some nvme->scsi error messages for sdparmDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1067 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-25Merge branch 'svn_sync'Douglas Gilbert
merged from: git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1066 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-24rework CI file starting from svn end, madnessDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1066 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-24fix sg_pt_freebsd.c compilation errorDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1065 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-24fix sg_pt_freebsd.c compilation errorDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1065 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
6th cut
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
5th cut
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
4th cut
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
third cut
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
second cut
2023-11-24test CI using FreeBSD VM on githubDouglas Gilbert
first cut, not hopeful
2023-11-24fix CI warning for Win32; other cleanupsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1064 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-23rearrange SNT and NVMe headers and associated sourceDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1063 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-20remove debug output left in sg_inqDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1062 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-11-19sg_wr_mode: add --mfile=MF option for decoding mask in the MF file; sg_lib: ↵Douglas Gilbert
add sg_last_n_non_blank() for SNT FR field git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1061 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-28tweak on previous commitDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1060 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-28lib/sgj_haj_*() functions: tweak hex_haj argument meaning; escape hyphen in ↵Douglas Gilbert
manpages git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1059 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-26g_logs: correct tape Device statisitics lpage [0x14] serial number ↵Douglas Gilbert
parameters [0x40 and 0x41] per https://github.com/doug-gilbert/sg3_utils/issues/45 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1058 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-21sg_stream_ctl: add --hex, --inhex=, --json= and --raw options; JSON: make ↵Douglas Gilbert
output more consistent so most command responses have a *_paramter_data git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1057 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-17rescan-scsi-bus.sh: remove /tmp/rescan-scsi-mpath-info.txt; ↵Douglas Gilbert
https://github.com/doug-gilbert/sg3_utils/pull/44.diff git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1056 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-16rescan-scsi-bus.sh: fix multipath resize without update, ↵Douglas Gilbert
https://github.com/doug-gilbert/sg3_utils/pull/43.diff git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1055 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-16new error code: SG_LIB_PROGRESS_NOT_READY for long duration 'in progress' ↵Douglas Gilbert
additional sense codes; sg_inq+sg_vpd: add RSCS field to Block limits ext. vpage [sbc5r5] git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1054 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-10-15sg_turs: fix missing CDB on several codepaths; sg_inq+sg_vpd: show ↵Douglas Gilbert
depopulation time in hours and minutes; sg_get_elem_status: various improvements; sg_requests: improve buffer truncation git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1053 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-09-28scripts/00-scsi-sg3_config.rules : apply ↵Douglas Gilbert
https://github.com/doug-gilbert/sg3_utils/pull/42 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1052 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-09-28improve detection of SPC-6; add version descriptor for SNTDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1051 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-09-15 lib/sg_pt_solaris.c : fix compilation issue per ↵Douglas Gilbert
https://github.com/doug-gilbert/sg3_utils/pull/41 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1050 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-09-05sg_wr_mode: add --mfile=MF option for decoding mask in the MF file; add ↵Douglas Gilbert
inhex support for sg_wr_mode git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1049 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-31sg_wr_mode: fix --contents and --cfile= handling; ↵Douglas Gilbert
https://github.com/doug-gilbert/sg3_utils/issues/40 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1048 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-22sg_inq: update version descriptors to T10 table 20230814Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1047 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-08configure.ac: Fix the getrandom() testDouglas Gilbert
Some systems (older versions of Android) have <sys/random.h> but not getrandom(). Make sure that presence of getrandom() is detected correctly on these systems. Fixes: 9ccb556a21f1 ("sg_dd: setup conditional auto rule for getrandom()") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Part 2 of this patch: ci: Build against two versions of the Android NDK Build against a version of the NDK that does not support getrandom() and against a version that supports getrandom(). Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1046 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-03[PATCH 2/2] ci: Use the latest version of the Android NDKDouglas Gilbert
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1045 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-03[PATCH 1/2] Unbreak the Android buildDouglas Gilbert
The header file include/sg_pt_linux.h defines the __u64 type and is included even if the <linux/types.h> header is present and defines the __u64 type. Fix this by only defining the __u64 type if it is not defined in <linux/types.h> header. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1044 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-08-01release of version 1.48Douglas Gilbert
Or the first attempt. Small change to configure.ac so MinGW that reports its host_os as '*_msys' will build. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1042 6180dd3e-e324-4e3e-922d-17de1ae2f315
2023-07-18linux musl libc: changes so musl libc will buildDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@1041 6180dd3e-e324-4e3e-922d-17de1ae2f315