Table of ContentsView in Frames

Moving forward to a file

You move forward to access a particular tape file further along the tape. You can skip over a specified number of file marks and stop at the end-of-tape side of a file mark. This puts the tape drive head at the beginning of a file.


  1. To move forward to the beginning of a tape file, enter the following command:
    mt -f device fsf 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 forward. The tape moves forward to the beginning of the nth file from its current file location.


If you enter the following command in the middle of the third file on the tape, it moves the tape to the beginning of the eighth file on the tape:

mt -f nrst0a fsf 5