1SG_REP_PIP(8)                      SG3_UTILS                     SG_REP_PIP(8)
2
3
4

NAME

6       sg_rep_pip  - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN com‐
7       mand
8

SYNOPSIS

10       sg_rep_pip [--help] [--hex] [--maxlen=LEN] [--raw] [--readonly] [--ver‐
11       bose] [--version] DEVICE
12

DESCRIPTION

14       Sends  a SCSI REPORT PROVISIONING INITIALIZATION PATTERN command to DE‐
15       VICE and outputs the data returned. This command is found in the  SBC-4
16       draft standard, revision 21 (sbc4r21.pdf).
17

OPTIONS

19       Arguments to long options are mandatory for short options as well.
20
21       -h, --help
22              output the usage message then exit.
23
24       -H, --hex
25              output the response in hexadecimal to stdout. When used once the
26              whole response is output in ASCII hexadecimal,  prefixed  by  an
27              address  (starting at 0) on each line. When used twice the whole
28              response is output in hexadecimal with no  leading  address  (on
29              each  line).  The default action is the same as giving the --hex
30              option once.
31
32       -m, --maxlen=LEN
33              where LEN is the (maximum)  response  length  in  bytes.  It  is
34              placed  in the cdb's "allocation length" field. If not given (or
35              LEN is zero) then 8192 is used. The maximum allowed value of LEN
36              is 1048576.
37
38       -r, --raw
39              output  the  SCSI  response (i.e. the data-out buffer) in binary
40              (to stdout).
41
42       -R, --readonly
43              open the DEVICE read-only (e.g. in Unix with the O_RDONLY flag).
44              The default is to open it read-write.
45
46       -v, --verbose
47              increase the level of verbosity, (i.e. debug output).
48
49       -V, --version
50              print the version string and then exit.
51

EXIT STATUS

53       The exit status of sg_rep_pip is 0 when it is successful. Otherwise see
54       the sg3_utils(8) man page.
55

AUTHORS

57       Written by Douglas Gilbert.
58

REPORTING BUGS

60       Report bugs to <dgilbert at interlog dot com>.
61
63       Copyright © 2020 Douglas Gilbert
64       This software is distributed under a FreeBSD license. There is NO  war‐
65       ranty;  not  even  for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
66       POSE.
67

SEE ALSO

69       sg3_utils(sg3_utils)
70
71
72
73sg3_utils-1.46                     July 2020                     SG_REP_PIP(8)
Impressum