15.6. Switching tape head in tape devices
You can switch the tape head in the tape device by using the eod option.
Prerequisites
-
You have installed the
mt-stpackage. For more information, see Installing tape drive management tool. - Data is written to the tape device. Fore more information, see Writing to rewinding tape devices or Writing to non-rewinding tape devices.
Procedure
To view the current position of the tape pointer:
# mt -f /dev/nst0 tellTo switch the tape head, while appending the data to the tape devices:
# mt -f /dev/nst0 eodTo go to the previous record:
# mt -f /dev/nst0 bsfm 1To go to the forward record:
# mt -f /dev/nst0 fsf 1