C code
|
-
struct mtop op = { MTBSFM, COUNT };
result = ioctl(tapefd, MTIOCTOP, &op);
|
Description
|
Backward space over COUNT file marks. The tape is positioned at the
the BOT (Begin Of Tape) side of the last skipped file mark.
|
Notes
|
`mt -f /dev/qft0 bsfm ' (i.e. COUNT set to `1 ') positions
at the end of the previous volume which indeed is just was
`position at the BOT side of the last skipped file mark ' means if only
one file mark has been skipped.
|
Limitations
|
With ftape-3.04d (and later versions) it is nevertheless impossible to use MTBSFM to
append data to a tape volume. Since version 3.03 all write access to the
tape is illegal unless the tape is located at either
BOT (Begin Of Tape) or EOD (End Of Data, end of the area
that already is occupied by data). EOD is defined to be the
location after the last file mark.
|
Example
|
skip to end of the previous tape volume
-
mt -f /dev/nqft0 bsfm
|
References
|
|