The Ftape Installation Guide - MTIOCFTFORMAT
FTFMT_STATUS
-- monitor formatting a tape track
This operation is needed to synchronize the user level formatting
program with the kernel level device driver while formatting a tape
track. It simply returns the number of the segment that just has been
formatted. This ioctl is provided such that the user level program knows
which parts of the DMA buffers should be touched when the memory mapped
DMA buffer region is too small to hold all sector coordinates for an
entire tape track. In this case the user level program should simply
continue with filling the DMA buffers at the base address of the memory
mapped region if the end of that region is hit; but it should take care
not to cross the location in the buffer that corresponds to the segment
that is returned by FTFMT_STATUS
as this (or the following
segment) is the segment that is currently being worked
on. See FTFMT_FORMAT_TRACK.
Use these buttons to jump to the top menu