Reference Guide

Chapter 4 SCSI Commands
MODE SELECT (6) / (10) Command (15h / 55h)
DLT-S4 Interface Reference Guide 147
Action Value Description
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.
Field Description