beautypg.com

Prevent/allow medium removal 1eh, Prevent/allow medium removal 1eh 94 – HP C737990900 User Manual

Page 94

background image

94

Commands

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