Date: Mon, 21 Aug 2006 13:24:50 +0000 (UTC) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/camcontrol camcontrol.8 camcontrol.c src/sys/cam/scsi scsi_all.c scsi_all.h Message-ID: <200608211324.k7LDOoDh093212@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608211324.k7LDOoDh093212>
