sg_read_block_limits (8) - Linux Manuals
sg_read_block_limits: send SCSI READ BLOCK LIMITS command
NAMEsg_read_block_limits - send SCSI READ BLOCK LIMITS command
SYNOPSISsg_read_block_limits [--help] [--hex] [--raw] [--verbose] [--version] DEVICE
Send a SCSI READ BLOCK LIMITS command to DEVICE and outputs the response. This command is defined for tape (drives) and its description is found in the SSC documents at http://www.t10.org .
OPTIONSArguments to long options are mandatory for short options as well.
- -h, --help
- output the usage message then exit.
- -H, --hex
- output response in hex (rather than decode it).
- -r, --raw
- output response in binary to stdout.
- -v, --verbose
- increase the level of verbosity, (i.e. debug output).
- -V, --version
- print the version string and then exit.
EXIT STATUSThe exit status of sg_read_block_limits is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
EXAMPLESIt is usually okay to use no options. Here is an invocation (on the first line following the "#" command prompt) followed by some typical output:
Read Block Limits results:
AUTHORSWritten by Douglas Gilbert.
REPORTING BUGSReport bugs to <dgilbert at interlog dot com>.
COPYRIGHTCopyright © 2009-2012 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.