{
    "mode": "man",
    "parameter": "sg_rep_pip",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/sg_rep_pip/8/json",
    "generated": "2026-05-30T07:10:23Z",
    "synopsis": "sgreppip  [--help]  [--hex] [--maxlen=LEN] [--raw] [--readonly] [--verbose] [--version] DE‐\nVICE",
    "sections": {
        "NAME": {
            "content": "sgreppip - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN command\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "sgreppip  [--help]  [--hex] [--maxlen=LEN] [--raw] [--readonly] [--verbose] [--version] DE‐\nVICE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Sends a SCSI REPORT PROVISIONING INITIALIZATION PATTERN command to  DEVICE  and  outputs  the\ndata returned. This command is found in the SBC-4 draft standard, revision 21 (sbc4r21.pdf).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Arguments to long options are mandatory for short options as well.\n",
            "subsections": [
                {
                    "name": "-h --help",
                    "content": "output the usage message then exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-H --hex",
                    "content": "output  the  response  in  hexadecimal to stdout. When used once the whole response is\noutput in ASCII hexadecimal, prefixed by an address (starting at 0) on each line. When\nused  twice  the  whole  response is output in hexadecimal with no leading address (on\neach line). The default action is the same as giving the --hex option once.\n",
                    "flag": "-H",
                    "long": "--hex"
                },
                {
                    "name": "-m --maxlen",
                    "content": "where LEN is the (maximum) response length in bytes. It is placed in the cdb's  \"allo‐\ncation length\" field. If not given (or LEN is zero) then 8192 is used. The maximum al‐\nlowed value of LEN is 1048576.\n",
                    "flag": "-m",
                    "long": "--maxlen"
                },
                {
                    "name": "-r --raw",
                    "content": "output the SCSI response (i.e. the data-out buffer) in binary (to stdout).\n",
                    "flag": "-r",
                    "long": "--raw"
                },
                {
                    "name": "-R --readonly",
                    "content": "open the DEVICE read-only (e.g. in Unix with the ORDONLY flag).  The  default  is  to\nopen it read-write.\n",
                    "flag": "-R",
                    "long": "--readonly"
                },
                {
                    "name": "-v --verbose",
                    "content": "increase the level of verbosity, (i.e. debug output).\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-V --version",
                    "content": "print the version string and then exit.\n",
                    "flag": "-V",
                    "long": "--version"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "The  exit status of sgreppip is 0 when it is successful. Otherwise see the sg3utils(8) man\npage.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Written by Douglas Gilbert.\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report bugs to <dgilbert at interlog dot com>.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright © 2020 Douglas Gilbert\nThis software is distributed under a FreeBSD license. There is NO warranty; not even for MER‐\nCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "sg3utils(sg3utils)\n\n\n\nsg3utils-1.46                                July 2020                                SGREPPIP(8)",
            "subsections": []
        }
    },
    "summary": "sgreppip - send SCSI REPORT PROVISIONING INITIALIZATION PATTERN command",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "output the usage message then exit."
        },
        {
            "flag": "-H",
            "long": "--hex",
            "arg": null,
            "description": "output the response in hexadecimal to stdout. When used once the whole response is output in ASCII hexadecimal, prefixed by an address (starting at 0) on each line. When used twice the whole response is output in hexadecimal with no leading address (on each line). The default action is the same as giving the --hex option once."
        },
        {
            "flag": "-m",
            "long": "--maxlen",
            "arg": null,
            "description": "where LEN is the (maximum) response length in bytes. It is placed in the cdb's \"allo‐ cation length\" field. If not given (or LEN is zero) then 8192 is used. The maximum al‐ lowed value of LEN is 1048576."
        },
        {
            "flag": "-r",
            "long": "--raw",
            "arg": null,
            "description": "output the SCSI response (i.e. the data-out buffer) in binary (to stdout)."
        },
        {
            "flag": "-R",
            "long": "--readonly",
            "arg": null,
            "description": "open the DEVICE read-only (e.g. in Unix with the ORDONLY flag). The default is to open it read-write."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "increase the level of verbosity, (i.e. debug output)."
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print the version string and then exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "sg3utils",
            "section": "sg3utils",
            "url": "https://www.chedong.com/phpMan.php/man/sg3utils/sg3utils/json"
        }
    ]
}