PREV UP NEXT The Ftape Installation and Usage Guide


8.8.1.21: MTUNLOCK

C code
struct mtop op = { MTUNLOCK, 0 };
result = ioctl(tapefd, MTIOCTOP, &op);

Description

Unlocks the tape drive door.


Limitations

Only supported by Iomega Ditto Max tape drive. It will be treated as a no-op with other tape drives.


Notes

ft locks the tape drive door automatically when you open the device, and unlocks it when the device is closed. If you call this command, then ftape will unlock the door instantly. You may also need the MTUNLOCK command to clear the door lock previously set by a MTLOCK (see MTLOCK) command.


Example

Clear the door lock

mt -f /dev/nqft0 unlock

References
MTLOCK
MTRESET
MTSETPART

ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)