Implement 'camcontrol reportluns'. This allows users to send the SCSI
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 2 Dec 2007 04:44:03 +0000 (04:44 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 2 Dec 2007 04:44:03 +0000 (04:44 +0000)
commitd4226324ca6b1e8a525543543470e23a54a298a3
tree6efa2f1a45058d753f43cb2f9b44f5398e82a44c
parentf98dbbc6dfcc3a98efded5faafc267a6d7ebdbba
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.
scsi_all.[ch]: Revamp the report luns CDB structure and helper
functions.

Obtained-from: FreeBSD
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c
sys/bus/cam/scsi/scsi_all.c
sys/bus/cam/scsi/scsi_all.h