GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SG_READ_BLOCK_LIMITS(8) SG3_UTILS SG_READ_BLOCK_LIMITS(8)

sg_read_block_limits - send SCSI READ BLOCK LIMITS command

sg_read_block_limits [--help] [--hex] [--raw] [--readonly] [--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 .

Arguments 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.
-R, --readonly
open DEVICE in read-only mode. The default is to open it in read-write mode.
-v, --verbose
increase the level of verbosity, (i.e. debug output).
-V, --version
print the version string and then exit.

The exit status of sg_read_block_limits is 0 when it is successful. Otherwise see the sg3_utils(8) man page.

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:

# sg_read_block_limits /dev/st0
Read Block Limits results: Minimum block size: 1 byte(s) Maximum block size: 16777215 byte(s), 16383 KB, 15 MB

Written by Douglas Gilbert.

Report bugs to <dgilbert at interlog dot com>.

Copyright © 2009-2017 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sg3_utils(sg3_utils)
October 2017 sg3_utils-1.43

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.