PREV UP NEXT The Ftape Installation and Usage Guide


8.8.1.13: MTEOM

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

Description

Positions at the end of the portion of the tape already used for recording data. MTEOM positions after the last file mark, ready for appending another file.


Limitations

ftape-3.04d (and later versions) cannot append volumes to a cartridge that has been created with ftape-2.x as the file mark emulation code of the two versions is just too different. See ftape-2x file marks, See ftape-3x file marks.


Example

skip to the end of the recorded media

mt -f /dev/nqft0 eom

or equivalently

mt -f /dev/nqft0 seod

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

ftape logo Use these buttons to jump to the top menu

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