Skip to contentSkip to conversation

sg3_utils-1.11 released

DISCUSSION Douglas Gilbert 1 participant 1 message Nov 29, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Tarball, rpm and deb can be found on http://www.torque.net/sg . Overview of sg3_utils, sg_utils and other packages are on this page: http://www.torque.net/sg/u_index.html
A release announcement has been sent to freshmeat.net .

Changelog for sg3_utils-1.11 [20041126]
- sg_sync: new utility: invokes the synchronize cache command
- sg_prevent: new utility: invokes the prevent allow medium removal command
- sg_get_config: new utility: get configuration command for dvds and cds
- sg_request: fix, allocation length wasn't set
- sg_start: remove '-s', as start_stop_unit implicitly syncs caches
- sg_ses: add SAS expander element type
- sg_inq: add sanity check to unit serial number (VPD page 0x80)
- output ANSI version string (e.g. "SPC-2", previously was a number)
- add '-s' option to decode SCSI Ports VPD page
- sg_logs: decoding of format status and non-volatile cache log

        pages (0x8 and 0x17 in sbc-2)

- sg_dd: handle compile error when O_DIRECT not defined
- sginfo: tighten sanity checks around Unit serial number VPD page

Here is the contents of the COVERAGE file found in the tarball:

                        Command coverage
                        ================

The following table lists SCSI commands in alphabetical order on the left and the sg3_utils utilities that implement invocations of them on the right. The second table lists supported ATA commands.

SCSI command        sg3_utils utilities that use this SCSI command
------------        ----------------------------------------------
GET CONFIGURATION   sg_get_config
INQUIRY             sg_inq, sginfo, sg_logs, sg_map('-i'), sg_modes,
                    sg_opcodes, sg_persist, sg_scan, sg_ses
LOG SELECT          sg_logs
LOG SENSE           sg_logs
MODE SELECT(6)      sginfo, sg_emc_trespass
MODE SELECT(10)     sginfo, sg_emc_trespass
MODE SENSE(6)       sginfo, sg_modes, sg_senddiag('-e')
MODE SENSE(10)      sginfo, sg_modes, sg_senddiag('-e')
PERSISTENT IN       sg_persist
PERSISTENT OUT      sg_persist
PREVENT ALLOW MEDIUM REMOVAL            sg_prevent
READ(6)             sg_dd, sgm_dd, sgp_dd, sg_read
READ(10)            sg_dd, sgm_dd, sgp_dd, sg_read
READ(12)            sg_dd, sgm_dd, sgp_dd, sg_read
READ(16)            sg_dd, sgm_dd, sgp_dd, sg_read
READ BUFFER         sg_rbuf, sg_test_rwbuf
READ CAPACITY(10)   sg_readcap, sg_dd, sgm_dd, sgp_dd
READ CAPACITY(16)   sg_readcap, sg_dd, sgm_dd, sgp_dd
READ DEFECT(10)     sginfo
READ DEFECT(12)     sginfo
READ LONG           sg_read_long
RECEIVE DIAGNOSTIC  sg_senddiag, sg_ses
REPORT LUNS         sg_luns
REPORT SUPPORTED OPERATION CODES              sg_opcodes
REPORT SUPPORTED TASK MANAGEMENT FUNCTIONS    sg_opcodes
REQUEST SENSE       sg_requests
SEND DIAGNOSTIC     sg_senddiag, sg_ses
START STOP          sg_start
SYNCHRONIZE CACHE   sg_sync, sg_dd, sgm_dd, sgp_dd
TEST UNIT READY     sg_turs
VERIFY(10)          sg_verify
WRITE(6)            sg_dd, sgm_dd, sgp_dd
WRITE(10)           sg_dd, sgm_dd, sgp_dd
WRITE(12)           sg_dd, sgm_dd, sgp_dd
WRITE(16)           sg_dd, sgm_dd, sgp_dd
WRITE BUFFER        sg_test_rwbuf
WRITE LONG          sg_write_long
ATA command         sg3_utils utilities that use this SCSI command
-----------         ----------------------------------------------
IDENTITY            sg_inq, sg_scan

Doug Gilbert