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 {
  kSectorTagAppleSony = 0 , kSectorTagCdSync = 1 , kSectorTagCdHeader = 2 , kSectorTagCdSubHeader = 3 ,
  kSectorTagCdEdc = 4 , kSectorTagCdEccP = 5 , kSectorTagCdEccQ = 6 , kSectorTagCdEcc = 7 ,
  kSectorTagCdSubchannel = 8 , kSectorTagCdTrackIsrc = 9 , kSectorTagCdTrackText = 10 , kSectorTagCdTrackFlags = 11 ,
  kSectorTagDvdCmi = 12 , kSectorTagFloppyAddressMark = 13 , kSectorTagDvdTitleKey = 14 , kSectorTagDvdTitleKeyDecrypted = 15 ,
  kSectorTagDvdSectorInformation = 16 , kSectorTagDvdSectorNumber = 17 , kSectorTagDvdSectorIed = 18 , kSectorTagDvdSectorEdc = 19 ,
  kSectorTagAppleProfile = 20 , kSectorTagPriamDataTower = 21 , kSectorTagBdSectorEdc = 22 , MaxSectorTag = kSectorTagBdSectorEdc
}

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

Enumerator
kSectorTagAppleSony 

Apple's Sony sector tags, 12 bytes (address prolog + checksum).

kSectorTagCdSync 

12-byte CD sync pattern (00 FF*10 00)

kSectorTagCdHeader 

4-byte CD header (minute, second, frame, mode)

kSectorTagCdSubHeader 

Mode 2 Form subheader (8 bytes: copy, submode, channel).

kSectorTagCdEdc 

32-bit CRC (EDC)

kSectorTagCdEccP 

172 bytes Reed-Solomon ECC (P)

kSectorTagCdEccQ 

104 bytes Reed-Solomon ECC (Q)

kSectorTagCdEcc 

Combined P+Q ECC (276 bytes).

kSectorTagCdSubchannel 

96 raw subchannel bytes (P-W)

kSectorTagCdTrackIsrc 

Track ISRC (12 ASCII chars, no terminator).

kSectorTagCdTrackText 

Track text (CD-Text fragment, 13 bytes).

kSectorTagCdTrackFlags 

Track flags (audio/data, copy permitted, pre-emphasis).

kSectorTagDvdCmi 

DVD Copyright Management Information (CSS).

kSectorTagFloppyAddressMark 

Raw address mark & sync preamble (format dependent).

kSectorTagDvdTitleKey 

DVD sector title key, 5 bytes.

kSectorTagDvdTitleKeyDecrypted 

Decrypted DVD sector title key, 5 bytes.

kSectorTagDvdSectorInformation 

DVD sector information, 1 bytes.

kSectorTagDvdSectorNumber 

DVD sector number, 3 bytes.

kSectorTagDvdSectorIed 

DVD sector ID error detection, 2 bytes.

kSectorTagDvdSectorEdc 

DVD sector EDC, 4 bytes.

kSectorTagAppleProfile 

Apple's Profile sector tags, 20 bytes.

kSectorTagPriamDataTower 

Priam DataTower sector tags, 24 bytes.

kSectorTagBdSectorEdc 

Blu-ray sector EDC, 4 bytes.

MaxSectorTag 

Definition at line 958 of file aaru.h.