|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
Data structures for tape media support in Aaru disk images. More...
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | TapeFileEntry |
| Describes a single logical file on a tape medium. More... | |
| struct | TapeFileHeader |
| Header for a tape file metadata block containing file layout information. More... | |
| struct | TapePartitionEntry |
| Describes a single physical partition on a tape medium. More... | |
| struct | TapePartitionHeader |
| Header for a tape partition metadata block containing partition layout information. More... | |
Typedefs | |
| typedef struct TapeFileEntry | TapeFileEntry |
| typedef struct TapeFileHeader | TapeFileHeader |
| typedef struct TapePartitionEntry | TapePartitionEntry |
| typedef struct TapePartitionHeader | TapePartitionHeader |
Data structures for tape media support in Aaru disk images.
This header defines structures used to represent tape-specific metadata in the Aaru image format. Tape media differs from disk media in several key ways:
Tape Organization:
File Structure: Tape files are logical groupings of blocks that represent discrete data units. Each file has:
Partition Structure: Tape partitions are physical divisions of the tape medium. Each partition:
Block Addressing: Block numbers are sequential within a partition, starting from 0. The FirstBlock and LastBlock values are inclusive, meaning both boundary blocks are part of the file or partition. For example, a file with FirstBlock=100 and LastBlock=199 contains 100 blocks (blocks 100 through 199 inclusive).
Use Cases:
Storage in Aaru Images: The tape metadata blocks (TapeFileHeader and TapePartitionHeader) are optional structural blocks written during image finalization. They allow readers to understand the logical organization of the tape without parsing the entire data stream.
Definition in file tape.h.
| typedef struct TapeFileEntry TapeFileEntry |
| typedef struct TapeFileHeader TapeFileHeader |
| typedef struct TapePartitionEntry TapePartitionEntry |
| typedef struct TapePartitionHeader TapePartitionHeader |