Table of ContentsView in Frames

Moving backward to the beginning of a file

You move backward to access a particular tape file positioned towards the beginning of tape from the current position.


  1. 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.

  2. Enter the following command:
    mt -f device fsf 1

    The tape moves forward one file mark to the beginning of the desired file.


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