s2pproto(1) General Commands Manual s2pproto(1)

s2pproto - SCSI2Pi custom SCSI command executor

s2pproto [--binary-input] [--binary-output] [--board-id/-B BOARD_ID] [--help/-H] [--input-file/-f FILE] [--log-level/-L LOG_LEVEL] [--output-file/-F FILE] [--scsi-target/-i ID[:LUN]] [--text-input] [--text-output] [--version/-v]

s2pproto wraps protobuf input data into a custom SCSI2Pi SCSI command. The input data must be a legal command defined in the SCSI2Pi protobuf interface. See the file s2p_interface.proto for details.

Signals that the input file is in protobuf binary format instead of JSON.
Generate a protobuf binary format output file instead of JSON for the results.
SCSI ID used by s2pproto. If not specified, s2pproto will use the board (initiator) ID 7.
Display this help.
The protobuf data input file, by default in JSON format.
Set the log level (trace, debug, info, warning, error, critical, off). The default log level is 'info'.
The protobuf data output file, by default in JSON format. If not specified, JSON data will be displayed on stdout.
SCSI ID and optional LUN (0-31) of the target device.
Signals that the input file is in protobuf text format instead of JSON.
Generate a protobuf text format file instead of JSON for the results.
Display the s2pproto version.

s2p(1), s2pctl(1), s2pdump(1), s2pexec(1), s2pformat(1), s2psimh(1), s2ptool(1)

Also see <https://www.scsi2pi.net> and <https://github.com/uweseimet/scsi2pi>.