OS Manuals

/usr/bin/sg_read_block_limits

SCSI utilities for Linux, Unix and Windows

From sg3-utils 1.49-r3 (enterprise-packages), captured 2026-11-08 by running sg_read_block_limits --help (exit 0). permalink

Usage: sg_read_block_limits  [--help] [--hex] [--mloi] [--raw]
                             [--readonly] [--verbose] [--version]
                             DEVICE
  where:
    --help|-h          print out usage message
    --hex|-H           output response in hexadecimal
    --mloi|-m          output maximum logical object identifier
    --raw|-r           output response in binary to stdout
    --readonly|-R      open DEVICE in read-only mode
    --verbose|-v       increase verbosity
    --version|-V       print version string and exit

Performs a SCSI READ BLOCK LIMITS command and decode the response
Options (7)
OptionDescriptionSource
-h, --helpoutput the usage message then exit.man
-H, --hexoutput response in hex (rather than decode it).man
-m, --mloisets the MLOI bit in the READ BLOCK LIMITS command and if that succeeds, prints out the Maximum Logical Object Identifier (MLOI) value.man
-r, --rawoutput response in binary to stdout.man
-R, --readonlyopen DEVICE in read-only mode.man
-v, --verboseincrease the level of verbosity, (i.e. debug output).man
-V, --versionprint the version string and then exit.man
Exit status (1) from the manual page
0it is successful

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.