sg-utils | utilities for working with generic SCSI devices | Mehr ... |
This package includes a number of utilities to manipulate the linux "sg" (version 2) device driver, and to a lesser extent, the version 1 driver found in the 2.0.x kernels. . The version 2 driver is only found in 2.2.x linux kernels; if you are using 2.4, please install the sg3-utils package instead. . The package includes: * scsi_inquiry - same as sg_inq, only uses SCSI_IOCTL_SEND_COMMAND * sg_dd - a variant of 'dd' that works with the sg interface * sg_debug - prints debug info for all open sg file descriptors * sg_inq - a utility for poking around with the SCSI INQUIRY command * sg_map - shows the mapping between SCSI devices and sg devices * sg_rbuf - tests SCSI bus speed * sg_readcap - prints the output of a READ CAPACITY command * sg_runt_ex - an example program to test the sg driver version * sg_scan - displays the SCSI bus on stdout * sg_start - spins up (or down) disks * sg_test_rwbuf - tests the SCSI host adapter * sg_turs - execute a TEST UNIT READY command on the given device * sg_whoami - displays information about the given sg device * sginfo - a re-porting of the 'scsiinfo' program to use sg devices * sgp_dd - like sg_dd, only multithreaded . It also includes sg_simple1 and sg_simple2, which demonstrate calls to the SCSI INQUIRY and TEST UNIT READY commands. They only differ in their error processing: sg_simple1 uses sg_err.[hc] for error processing while sg_simple2 does its own more primitive checks. |