
Commands: Mode Sense (1Ah) Page 91
MODE SENSE Parameters
The parameter list for the MODE SENSE command contains
• A four-byte header, followed by
• Zero or one eight-byte Block Descriptor, followed by
• Zero or more variable-length pages.
The following table illustrates the structure of the Mode Sense command.
Byte
Bits
7 6 5 4 3 2 1 0
0
.
.
3
Parameter List Header
4
.
.
11
Block Descriptor
12
.
.
.
n
Mode Pages
The MODE SENSE response data consists of a four-byte header followed by an
eight-byte block descriptor. The following table shows the header format.
Byte
Bits
7 6 5 4 3 2 1 0
0
Mode Sense Data Length
1
Medium Type Field
2
WP BUF BUF BUF 0 0 0 0
3
Block Descriptor Length
Parameter List Header Field Descriptions
The following table defines the fields in the MODE SENSE Header.
Field
Name
Bytes
Bits
Description
Mode
Sense
Data
Length
0 This field specifies the number of bytes in the following Mode Sense
data that is available to be transferred If the Transfer Length is smaller
than the MODE SENSE Data Length, only Transfer Length bytes of the
MODE SENSE data are transferred. The Sense Data Length does not
include itself.
BUF 2 6-4 When this field is 1 the drive operates in buffered mode. In buffered
mode, a WRITE command is terminated when the data is transferred
to the internal buffer of the drive. When this field is 0 the drive is in
unbuffered mode and all data is written to tape before command
completion is returned. In non-buffered mode, a WRITE command is
not terminated until all data has been transferred to tape.
WP 2 7 If this bit is 1, the tape is write-protected. If this bit is 0, the tape is write-
enabled.
Comentários a estes Manuais