You move backward to access a particular tape file positioned towards the beginning of tape from the current position.
Steps
- Enter the following command: mt -f device bsf n
device is the name of a tape device used on the tape.
n is the number of tape file marks you want to skip over going backward.
The tape moves backward to the end of the nth file from its current file location.
- Enter the following command: mt -f device fsf
1
The tape moves forward one file mark to the beginning of the desired file.
Example
If you enter the following commands in the middle of file 5 on the tape, the tape moves to the beginning of file 2 on the tape:
mt -f nrst0a bsf 4
mt -f nrst0a fsf 1