PREV UP NEXT The Ftape Installation and Usage Guide


8.8.1.2: MTFSF

C code
struct mtop op = { MTFSF, COUNT };
result = ioctl(tapefd, MTIOCTOP, &op);

Description

Forward space over COUNT file marks. The tape is positioned at the EOT (End Of Tape) side of the file mark.


Notes

You need to use the non-rewinding devices when using this with the mt program, see Rewinding devices and tape motion commands.


Example

Skip over COUNT file marks

mt -f /dev/nqft0 fsf COUNT

COUNT set to `5':

mt -f /dev/nqft0 fsf 5

References
File marks.
MTBSF.
Rewinding devices and tape motion commands.
MTFSFM.
MTBSFM.
MTWEOF.

ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)