{
    "mode": "man",
    "parameter": "sg_read_block_limits",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/sg_read_block_limits/8/json",
    "generated": "2026-10-04T16:15:57Z",
    "synopsis": "sgreadblocklimits [--help] [--hex] [--raw]  [--readonly] [--verbose] [--version] DEVICE",
    "sections": {
        "NAME": {
            "content": "sgreadblocklimits - send SCSI READ BLOCK LIMITS command\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "sgreadblocklimits [--help] [--hex] [--raw]  [--readonly] [--verbose] [--version] DEVICE\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Send a SCSI READ BLOCK LIMITS command to DEVICE and outputs the response. This command is de‐\nfined   for   tape   (drives)   and  its  description  is  found  in  the  SSC  documents  at\nhttp://www.t10.org .\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 response in hex (rather than decode it).\n",
                    "flag": "-H",
                    "long": "--hex"
                },
                {
                    "name": "-r --raw",
                    "content": "output response in binary to stdout.\n",
                    "flag": "-r",
                    "long": "--raw"
                },
                {
                    "name": "-R --readonly",
                    "content": "open DEVICE in read-only mode. The default is to open it in read-write mode.\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 sgreadblocklimits is  0  when  it  is  successful.  Otherwise  see  the\nsg3utils(8) man page.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "It  is usually okay to use no options. Here is an invocation (on the first line following the\n\"#\" command prompt) followed by some typical output:\n\n# sgreadblocklimits /dev/st0\nRead Block Limits results:\nMinimum block size: 1 byte(s)\nMaximum block size: 16777215 byte(s), 16383 KB, 15 MB\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 © 2009-2017 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": "",
            "subsections": [
                {
                    "name": "sg3_utils(sg3_utils)",
                    "content": "sg3utils-1.43                              October 2017                     SGREADBLOCKLIMITS(8)"
                }
            ]
        }
    },
    "summary": "sgreadblocklimits - send SCSI READ BLOCK LIMITS command",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "output the usage message then exit."
        },
        {
            "flag": "-H",
            "long": "--hex",
            "arg": null,
            "description": "output response in hex (rather than decode it)."
        },
        {
            "flag": "-r",
            "long": "--raw",
            "arg": null,
            "description": "output response in binary to stdout."
        },
        {
            "flag": "-R",
            "long": "--readonly",
            "arg": null,
            "description": "open DEVICE in read-only mode. The default is to open it in read-write mode."
        },
        {
            "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": [
        "It  is usually okay to use no options. Here is an invocation (on the first line following the",
        "\"#\" command prompt) followed by some typical output:",
        "# sgreadblocklimits /dev/st0",
        "Read Block Limits results:",
        "Minimum block size: 1 byte(s)",
        "Maximum block size: 16777215 byte(s), 16383 KB, 15 MB"
    ],
    "see_also": []
}