Closed uweseimet closed 9 months ago
>s2pexec -i 0 -b 512 -c 12:00:00:00:30:00
00000000 03:00:05:02:1f:00:00:00:53:43:53:49:32:50:69:20 '........SCSI2Pi '
00000010 48:6f:73:74:20:53:65:72:76:69:63:65:73:20:20:20 'Host Services '
00000020 30:31:30:32
s2pexec shall be extended to send any SCSI/SASI command to any device. If there is a DATA IN phase the data to transfer shall be read from a file with the binary data. If there is a DATA OUT phase the device output shall be stored in a file. The hexadecimal CDB shall be passed to s2pexec as a parameter to the new "--command/-c" option. When no output file is specified the result shall be printed on the console in a human readable hexadecimal format in a similar format as the one used by 'od -x'.