cvs commit: src/sbin/camcontrol camcontrol.8 camcontrol.c src/sys/cam/scsi scsi_all.c scsi_all.h

Kenneth D. Merry ken at FreeBSD.org
Mon Aug 21 13:24:51 UTC 2006


ken         2006-08-21 13:24:50 UTC

  FreeBSD src repository

  Modified files:
    sbin/camcontrol      camcontrol.8 camcontrol.c 
    sys/cam/scsi         scsi_all.c scsi_all.h 
  Log:
  Implement 'camcontrol reportluns'.  This allows users to send the SCSI
  REPORT LUNS command to a device.
  
  camcontrol.[c8]:        Implement reportluns.  This tries to print the LUNs
                          out in a reasonable format.  Only the periph
                          addressing method has been tested, since very little
                          hardware that I know of supports the other methods.
  
  scsi_all.[ch]:          Revamp the report luns CDB structure and helper
                          functions.  This constitutes a little bit of an API
                          change, but since the old CDB length was 10 bytes,
                          and the REPORT LUNS CDB length is actually 12 bytes,
                          it's clear that no one was using this API in the
                          first place.
  
  MFC After:      1 week
  
  Revision  Changes    Path
  1.42      +39 -1     src/sbin/camcontrol/camcontrol.8
  1.54      +261 -1    src/sbin/camcontrol/camcontrol.c
  1.49      +5 -3      src/sys/cam/scsi/scsi_all.c
  1.26      +30 -12    src/sys/cam/scsi/scsi_all.h


More information about the cvs-src mailing list