view · edit · print · history

mt-st

Note: The following documentation is known to work with mt-st version 0.8.'

Command quick guide

  • mt -f /dev/st0 erase - erase the tape inside /dev/st0.
  • mt -f /dev/st0 retension - rewinds to the beginning, winds to the end, and rewinds to the beginning again in order to retension the tape inside /dev/st0.
  • mt -f /dev/st0 rewind - rewinds the tape inside /dev/st0.
  • mt -f /dev/st0 status - displays tape unit status.
  • mt -f /dev/st0 tell - prints the current block location of the tape inside the /dev/st0 device.

Exit status

These exit status codes are useful when tracking operations in scripts using mt-st.

  • 0 - operation succeeded.
  • 1 - operation or device is invalid.
  • 2 - operation failed.
Nixes changes · ALL changes
Page last modified on March 08, 2005, at 03:26 PM