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
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.
Illegal Field | Reservation | Deferred Error | Unit Attention |
Command descriptor block:
|
| 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
| |
| 0 |
|
|
| Operation | Code (1Eh) |
|
|
| |
|
|
|
|
|
|
|
|
|
| |
|
|
|
| Reserved (0) |
|
|
|
| ||
|
|
|
|
|
|
|
|
| ||
| 4 |
|
| Reserved (0) |
|
|
| Prevent | ||
|
|
|
|
|
|
|
|
|
| |
| 5 |
|
|
| Control |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
CDB fields:
Prevent | 00b | Medium removal is allowed for the drive |
| 01b | Media removal is prohibited for the drive |
| 10b, 11b | Invalid |
|
|
|
Commands
PREVENT/ALLOW MEDIUM REMOVAL 1Eh 105