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.
- --binary-input
- Signals that the input file is in protobuf binary format instead of
JSON.
- --binary-output
- Generate a protobuf binary format output file instead of JSON for the
results.
- --board-id/-B
BOARD_ID
- SCSI ID used by s2pproto. If not specified, s2pproto will use the board
(initiator) ID 7.
- --help/-H
- Display this help.
- --input-file/-f
FILE
- The protobuf data input file, by default in JSON format.
- --log-level/-L
LOG_LEVEL
- Set the log level (trace, debug, info, warning, error, critical, off). The
default log level is 'info'.
- --output-file/-F
FILE
- The protobuf data output file, by default in JSON format. If not
specified, JSON data will be displayed on stdout.
- --scsi-target/-i
ID[:LUN]
- SCSI ID and optional LUN (0-31) of the target device.
- --text-input
- Signals that the input file is in protobuf text format instead of
JSON.
- --text-output
- Generate a protobuf text format file instead of JSON for the results.
- --version/-v
- 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>.