4.6 Packet Commands

4.6.8 PREVENT/ALLOW MEDIUM REMOVAL command

Table 4.79 PREVENT/ALLOW MEDIUM REMOVAL command

Bit

7

6

5

 

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation Code (1Eh)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2-3

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

Reserved

 

 

 

 

Prevent

 

 

 

 

 

 

 

 

 

 

 

5-11

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The PREVENT/ALLOW MEDIUM REMOVAL command allows or inhibits media ejection on the device.

A value of 0 in the Prevent bit allows ejection and a value of 1 disables ejection.

The power-on default value is Enabled.

If there is any data not written yet in the write cache, the ODD completes writing on media, then allows ejection.

Hard reset resets the prevent state to allow ejection.

Table 4.80 Response to Prevent/Allow/Eject

Operation

Status at

When no media is

When media is loaded

 

operation

loaded

 

 

 

 

 

Prevent = 0

Enabled

No error

No error

 

 

 

 

 

Inhibited

No error

No error

 

 

 

 

Prevent = 1

Enabled

No error

No error. Media ejection is inhibited.

 

 

 

 

 

Inhibited

No error

No error

 

 

 

 

Eject

Enabled

No error

No error: Eject the cartridge

 

 

 

 

(Ejection with

Inhibited

Error:

Error:

START/STOP UNIT

 

SENSE KEY 5

SENSE KEY 5

command)

 

ASC/ASCQ 5302

ASC/ASCQ 5302

 

 

 

 

Eject

Enabled

The state remains

Eject the cartridge

 

 

unchanged.

 

 

 

 

 

(Ejection with the Eject

Inhibited

The state remains

The state remains unchanged. Media

switch)

 

unchanged.

ejection is still inhibited.

 

 

 

 

C156-E205-01EN

4-59

Page 131
Image 131
Fujitsu MCJ3230AP manual PREVENT/ALLOW Medium Removal command, Response to Prevent/Allow/Eject, START/STOP Unit Sense KEY