sg3_utils
sg3_utils copied to clipboard
Deprecated git-svn mirror for sg3_utils
Hi I need to build sg utility from source code for my Windows Server. I downloaded [sg3_utils-1.46.tar.xz](https://sg.danny.cz/sg/p/sg3_utils-1.46.tar.xz) I also installed mingw-w64 in my Ubuntu 20.04. Then, I use the following...
- `-I` was using `$opt` instead of `$1` after a shift. - `--issue-lip-wait` was missing `=*` from case statement.
before: # rescan-scsi-bus.sh Scanning SCSI subsystem for new devices Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs sg0 changed: LU not...
If the response length of an RTPG request exceeds the allocated buffer, the response is truncated to the size of the buffer. This results in ugly output. Everything past f7...
Without this: ``` Usage: sg_reset [--bus] [--device] [--help] [--host] [--no-esc] [--no-escalate] [--target] [--verbose] [--version] DEVICE where: --bus|-b SCSI bus reset (SPI concept), might be all targets --device|-d device (logical unit)...
Build fails on alpine linux with the following error: ``` gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -Wall -W -Os -fomit-frame-pointer -MT sg_dd.o -MD -MP -MF .deps/sg_dd.Tpo...
System was crashing when 'rescan-scsi-bus.sh -r' was run. This is because of the changes in the output of sg_inq. In it, "Device_type" has been replaced with "PDT". So when Device_type...
Builds fails on musl since version 1.46 and https://github.com/hreinecke/sg3_utils/commit/d05a8bde428bfbfe74b0f19be27fe1b76dc3c401 because musl doesn't define `srand48_r` and `mrand48_r`: ``` sg_dd.c: In function 'main': sg_dd.c:2127:9: warning: implicit declaration of function 'srand48_r'; did you...
trying to use sg_read for more than 64 blocks to read but ioctl failed example: sg_read if=/dev/sg5 count=65 bs=4096 cdbsz=10 but is succeeds for less than 65 example: sg_read if=/dev/sg5...
I found that sg_ses crash when the value of -m parameter is less than 252. eg: `sg_ses -p 0x97 -m 0x24 /dev/sg1 --verbose` the messages and stack are: ``` [root@localhost...