encyclopegia.org

Apple Disk Image

Apple Disk Image is a disk image format commonly used by the macOS operating system.[src] When opened, an Apple Disk Image is mounted as a volume within the Finder.[src] An Apple Disk Image can be structured according to one of several proprietary disk image formats, including the Universal Disk Image Format (UDIF) from Mac OS X and the New Disk Image Format (NDIF) from Mac OS 9.[src] An Apple disk image file's name usually has ".dmg" as its extension.[src] A disk image is a compressed copy of the contents of a disk or folder.[src] To see the contents of a disk image, one must first open the disk image so it appears on the desktop or in a Finder window.[src]

Apple Disk Image is a disk image format commonly used by the macOS operating system.[src] When opened, an Apple Disk Image is mounted as a volume within the Finder.[src] An Apple Disk Image can be structured according to one of several proprietary disk image formats, including the Universal Disk Image Format (UDIF) from Mac OS X and the New Disk Image Format (NDIF) from Mac OS 9.[src] An Apple disk image file's name usually has ".dmg" as its extension.[src] A disk image is a compressed copy of the contents of a disk or folder.[src] To see the contents of a disk image, one must first open the disk image so it appears on the desktop or in a Finder window.[src] typedef struct { uint8_t Signature[4]; // magic 'koly' uint32_t Version; // 4 (as of 2013) uint32_t HeaderSize; // sizeof(this) = 512 (as of 2013) uint32_t Flags; uint64_t RunningDataForkOffset; uint64_t DataForkOffset; // usually 0, beginning of file uint64_t DataForkLength; uint64_t RsrcForkOffset; // resource fork offset and length uint64_t RsrcForkLength; uint32_t SegmentNumber; // Usually 1, can be 0 uint32_t SegmentCount; // Usually 1, can be 0 uuid_t SegmentID; uint32_t DataChecksumType; // Data fork checksum uint32_t DataChecksumSize; uint32_t DataChecksum[32]; uint64_t XMLOffset; // Position of XML property list in file uint64_t XMLLength; uint8_t Reserved1[120]; uint32_t ChecksumType; // Master checksum uint32_t ChecksumSize; uint32_t Checksum[32]; uint32_t ImageVariant; // Unknown, commonly 1 uint64_t SectorCount; uint32_t reserved2; uint32_t reserved3; uint32_t reserved4; } __attribute__((packed, scalar_storage_order("big-endian"))) UDIFResourceFile; The XML plist contains a (blocks) key, with information about how the preceding data fork is allocated.[src] The main data is stored in a base64 block, using tables identified by the magic .[src] This structure contains a table about blocks of data and the position and lengths of each "chunk" (usually only one chunk, but compression will create more).[src] The data and resource fork information is probably inherited from NDIF.[src] O'Reilly Mac DevCenter Tip 16-5.[src] Create a Disk Image from a Directory in the Terminal[src]

18 sentences · 18 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Apple Disk Image." encyclopegia.org, 2026, https://encyclopegia.org/wiki/apple-disk-image. Accessed 30 November 2026.

Chicago

"Apple Disk Image." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/apple-disk-image.

APA

encyclopegia.org. (2026). Apple Disk Image. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/apple-disk-image

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

apple peeler

stub · references available

Apple

stub · references available

apple butter

stub · references available

apple horseradish

stub · references available

Apple TV

stub · references available

LaVal's disk-winged bat

stub · references available

image compression

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1377312907 · 0.5 · snapshot enwiki-001377312907

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.