![HP Q153090901 Technical Reference Manual Download Page 105](http://html.mh-extra.com/html/hp/q153090901/q153090901_technical-reference-manual_165572105.webp)
PREVENT/ALLOW MEDIUM REMOVAL 1Eh
C
omm
an
ds
105
PREVENT/ALLOW MEDIUM REMOVAL
1Eh
PREVENT
/
ALLOW
MEDIUM REMOVAL
tells the drive to enable or disable the removal of the
cartridge.
When cartridge removal is prevented, the front panel eject button is completely disabled (though a
‘forced eject’ will still work). An Unload command issued by a host will result in
CHECK
CONDITION
. The sense key will be
ILLEGAL REQUEST
or
MEDIUM REMOVAL PREVENTED
.
When cartridge removal is enabled, pressing the front panel eject button or sending an Unload
command from a host will cause the media to be unloaded and ejected.
Removal prevention is on a per-host basis. All the hosts have to allow media removal for any of
them to do so.
NOTE:
If a firmware upgrade is initiated over any interface, the cartridge will be ejected from
the drive regardless of the state of this command.
Pre-execution checks:
Command descriptor block:
CDB fields:
Illegal Field
Reservation
Deferred Error
Unit Attention
7
6
5
4
3
2
1
0
0
Operation Code (1Eh)
1–3
Reserved (0)
4
Reserved (0)
Prevent
5
Control
Prevent
00b
Medium removal is allowed for the drive
01b
Media removal is prohibited for the drive
10b, 11b Invalid