PREV UP NEXT The Ftape Installation Guide - Ioctls


8.5.6: MTIOCGETSIZE

This should be self-explanatory:

/* get tape capacity (ftape/zftape). This is measured in KB */ struct mttapesize { unsigned int mt_capacity; /* entire, uncompressed capacity */ unsigned int mt_used; /* what has been used so far, raw * uncompressed amount */ }; #define MTIOCGETSIZE _IOR('m', 9, struct mttapesize) /* get cartridge size */

mt_capacity
entire, uncompressed capacity of the tape cartridge, measured in kilobytes.
mt_used
what has been used so far, raw amount, without taking compression into account. Measured in kilobytes.


Use these buttons to jump to the top menu

TOP (parent node)

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