libaaruformat 1.0 Aaru Data Preservation Suite - Format Library

Loading...
Searching...
No Matches
Per-sector metadata tag types

Optional auxiliary fragments accompanying a raw sector dump. More...

## Enumerations
enum | SectorTagType { AppleSonyTagAaru = 0 , CdSectorSync = 1 , CdSectorHeader = 2 , CdSectorSubHeader = 3 , CdSectorEdc = 4 , CdSectorEccP = 5 , CdSectorEccQ = 6 , CdSectorEcc = 7 , CdSectorSubchannelAaru = 8 , CdTrackIsrc = 9 , CdTrackText = 10 , CdTrackFlags = 11 , DvdCmi = 12 , FloppyAddressMark = 13 , DvdSectorTitleKey = 14 , DvdTitleKeyDecrypted = 15 , DvdSectorInformation = 16 , DvdSectorNumber = 17 , DvdSectorIedAaru = 18 , DvdSectorEdcAaru = 19 , AppleProfileTagAaru = 20 , PriamDataTowerTagAaru = 21 , MaxSectorTag = PriamDataTowerTagAaru }

## Detailed Description

Optional auxiliary fragments accompanying a raw sector dump.

Sector tags preserve on-disk / on-media structures that are not part of the main user data (sync/header/ECC, etc.). They enable exact reconstruction, verification or advanced analysis (error injection, subchannel decoding, etc.). Retrieval APIs generally expose presence queries and raw byte buffers of fixed size (unless documented as string).

## Enumeration Type Documentation

## ◆ SectorTagType

enum SectorTagType

Enumerator
AppleSonyTagAaru | Apple's Sony sector tags, 12 bytes (address prolog + checksum)
CdSectorSync | 12-byte CD sync pattern (00 FF*10 00)
CdSectorHeader | 4-byte CD header (minute, second, frame, mode)
CdSectorSubHeader | Mode 2 Form subheader (8 bytes: copy, submode, channel)
CdSectorEdc | 32-bit CRC (EDC)
CdSectorEccP | 172 bytes Reed-Solomon ECC (P)
CdSectorEccQ | 104 bytes Reed-Solomon ECC (Q)
CdSectorEcc | Combined P+Q ECC (276 bytes)
CdSectorSubchannelAaru | 96 raw subchannel bytes (P-W)
CdTrackIsrc | Track ISRC (12 ASCII chars, no terminator)
CdTrackText | Track text (CD-Text fragment, 13 bytes)
CdTrackFlags | Track flags (audio/data, copy permitted, pre-emphasis)
DvdCmi | DVD Copyright Management Information (CSS)
FloppyAddressMark | Raw address mark & sync preamble (format dependent)
DvdSectorTitleKey | DVD sector title key, 5 bytes.
DvdTitleKeyDecrypted | Decrypted DVD sector title key, 5 bytes.
DvdSectorInformation | DVD sector information, 1 bytes.
DvdSectorNumber | DVD sector number, 3 bytes.
DvdSectorIedAaru | DVD sector ID error detection, 2 bytes.
DvdSectorEdcAaru | DVD sector EDC, 4 bytes.
AppleProfileTagAaru | Apple's Profile sector tags, 20 bytes.
PriamDataTowerTagAaru | Priam DataTower sector tags, 24 bytes.
MaxSectorTag |

Definition at line 894 of file aaru.h.