mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[AaruFormat] Add BlockType.
This commit is contained in:
@@ -2,6 +2,49 @@ namespace Aaru.Images;
|
||||
|
||||
public sealed partial class AaruFormat
|
||||
{
|
||||
#region Nested type: BlockType
|
||||
|
||||
/// <summary>List of known blocks types (libaaruformat is the reference, not this)</summary>
|
||||
enum BlockType : uint
|
||||
{
|
||||
/// <summary>Block containing data</summary>
|
||||
DataBlock = 0x4B4C4244,
|
||||
/// <summary>Block containing a deduplication table</summary>
|
||||
DeDuplicationTable = 0x2A544444,
|
||||
/// <summary>Block containing the index</summary>
|
||||
Index = 0x58444E49,
|
||||
/// <summary>Block containing the index</summary>
|
||||
Index2 = 0x32584449,
|
||||
/// <summary>Block containing logical geometry</summary>
|
||||
GeometryBlock = 0x4D4F4547,
|
||||
/// <summary>Block containing metadata</summary>
|
||||
MetadataBlock = 0x4154454D,
|
||||
/// <summary>Block containing optical disc tracks</summary>
|
||||
TracksBlock = 0x534B5254,
|
||||
/// <summary>Block containing CICM XML metadata</summary>
|
||||
CicmBlock = 0x4D434943,
|
||||
/// <summary>Block containing contents checksums</summary>
|
||||
ChecksumBlock = 0x4D534B43,
|
||||
/// <summary>Block containing data position measurements</summary>
|
||||
DataPositionMeasurementBlock = 0x2A4D5044,
|
||||
/// <summary>Block containing a snapshot index</summary>
|
||||
SnapshotBlock = 0x50414E53,
|
||||
/// <summary>Block containing how to locate the parent image</summary>
|
||||
ParentBlock = 0x544E5250,
|
||||
/// <summary>Block containing an array of hardware used to create the image</summary>
|
||||
DumpHardwareBlock = 0x2A504D44,
|
||||
/// <summary>Block containing list of files for a tape image</summary>
|
||||
TapeFileBlock = 0x454C4654,
|
||||
/// <summary>Block containing list of partitions for a tape image</summary>
|
||||
TapePartitionBlock = 0x54425054,
|
||||
/// <summary>Block containing list of indexes for Compact Disc tracks</summary>
|
||||
CompactDiscIndexesBlock = 0x58494443,
|
||||
/// <summary>Block containing JSON version of Aaru Metadata</summary>
|
||||
AaruMetadataJsonBlock = 0x444D534A
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Nested type: SectorStatus
|
||||
|
||||
enum SectorStatus : byte
|
||||
|
||||
Reference in New Issue
Block a user