![background image](http://html2.mh-extra.com/html/quantum/dlt-s4/dlt-s4_reference-manual_3531879238.webp)
Chapter 4 SCSI Commands
MODE SENSE (6) / (10) Command (1Ah / 5Ah)
DLT-S4 Interface Reference Guide
204
00h
No Action
01h
Set Drive Password. This action can be done with or without a tape in the
drive. If a tape is mounted and password protected, the value in the
password field must match the password on the tape. The corresponding
DPS bit is set and the APB, APD, PAX, PCP, and PWF bits are cleared.
02h
Set the Drive Password and write it to tape. Tape must be mounted and
either have no password or the value in the password field must match the
password on the tape. The PCP bit is set until the password has been
successfully written to tape. Upon successful completion of the
MODE
SELECT
command, the PCP bit is set if the tape does not have a password.
The APB, APD, PAX, and PWF bits are cleared.
03h
Set Drive Password in drive memory and write it to all
blank
tapes. This
action sets the APB bit. This action code can be sent with or without a tape
in the drive. The currently loaded tape, if it is blank, and subsequent blank
tapes that are loaded into the drive will become password protected. If a
tape is mounted and password protected, the value in the password field
must match the password on the tape. The password will be written to the
tape in conjunction with a
WRITE
,
WRITE FM
, or
ERASE
command. If none
of these commands are received prior to an
UNLOAD
command, the tape
will not become formatted or Password Protected. Formatted and
password protected tapes will not alter the APB state and will not be
modified by this action code.
04h
Set Drive Password in drive memory and write it to all
unprotected/
formatted
tapes. This action sets the APD bit. The currently loaded tape, if
it is unprotected/formatted, and subsequent unprotected/formatted tapes
loaded into the drive will become password protected. If a tape is mounted
and password protected, the value in the password field must match the
password on the tape. The password will be written to the tape in
conjunction with a
WRITE
,
WRITE FM
,
ERASE
, or
UNLOAD
command. Blank
tapes and password protected tapes will not alter the APD state and will
not be modified by this action code.
05h
Set Drive Password and write it to all
unprotected
tapes. All unprotected
tapes will then automatically become password protected. This action sets
the APB and APD bits. The currently loaded tape, if it is unprotected, and
subsequent unprotected tapes loaded into the drive will become password
protected. If a tape is mounted and password protected, the value in the
password field must match the password on the tape. The password will
be written to the tape in conjunction with a
WRITE
,
WRITE FM
,
ERASE
, or
UNLOAD
command. Password protected tapes will not be modified by this
action code.
Field
Description