Software >> OS >> Unix >> Linux >>  How to control magnetic tape drives from command line (using mt)

1. Use mt command as follows - to check status # mt -f /dev/st0 status - to eject # mt -f /dev/st0 offline - to rewind # mt -f /dev/st0 rewind - to erase # mt -f /dev/st0 erase - to retension # mt -f /dev/st0 retenstion