s2pproto

Section: User Commands (1)
Index  

NAME

s2pproto - SCSI2Pi custom SCSI command executor  

SYNOPSIS

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

DESCRIPTION

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.

 

OPTIONS

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

 

SEE ALSO

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>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

This document was created by man2html, using the manual pages.