SCSI Mode Sense Command
The
SCSI Mode Sense command is used to obtain current device information from
mode pages in a
SCSI target device. There are two different versions of the command, a 6 byte version and a 10 byte version.
The
CDB structure for the
Mode Sense(6) command is:
The CDB structure for the
Mode Sense(10) command is:
The special control fields in the CDB have the following meaning:
*
DBD - Disable Block Descriptors - if "1" then the target must not return any block descriptors
*
PC - Page control -
**00 - return current values
**01 - return changeable values
**10 - return default values
**11 - return saved values
*
Page Code - see the separate Wikipedia page for a list of
mode pages