utilities for devices using the SCSI command set
Most OSes have SCSI pass-through interfaces that enable user space programs
to send SCSI commands to a device and fetch the response. With SCSI to ATA
Translation (SAT) many ATA disks now can process SCSI commands. Typically
each utility in this package implements one SCSI command. See the draft
standards at www.t10.org for SCSI command definitions plus SAT. ATA
commands are defined in the draft standards at www.t13.org . For a mapping
between supported SCSI and ATA commands and utility names in this package
see the COVERAGE file.
README for sg3_utils
This package contains low level utilities for devices that use a SCSI
command set. Apart from SCSI parallel interface (SPI) devices, the SCSI
command set is used by ATAPI devices (CD/DVDs and tapes), USB mass storage
devices, Fibre Channel disks, IEEE 1394 storage devices (that use the
you can use sg_start to start (spin-up, 1) and stop (spin-down, 0) devices.
I also offers a parameter (-s) to send a synchronize cache command to a
device, so it should write back its internal buffers to the medium.
Be aware that the Linux SCSI subsystem at this time does not autmatically
starts stopped devices, so stopping a device which is in use may have fatal
results for you.
So, you sh
Building files in this directory depends on several files being already
built in the ../lib directory. So to build files here, the ./configure
needs to be executed in the parent directory followed by changing
directory to the lib directory and calling 'make' there.
Another way is to do a top level 'make' after the ./configure which
will make the libraries followed by all the utilities in the src/
In order to save source code space, the files is this directory have
been removed (apart from the re
SCSI_READCAP(8) SG3_UTILS SCSI_READCAP(8)
scsi_readcap - d
SCSI_READY(8) SG3_UTILS SCSI_READY(8)
scsi_ready - do
SCSI_START(8) SG3_UTILS SCSI_START(8)
scsi_start - sta
SCSI_STOP(8) SG3_UTILS SCSI_STOP(8)
scsi_stop - stop
Browse inside sg3-utils_1.29-1_kfreebsd-i386.deb