Skip to content

Instantly share code, notes, and snippets.

@elliotberry
Forked from hakanai/apfs_allocation.txt
Created August 28, 2025 07:23
Show Gist options
  • Select an option

  • Save elliotberry/1ba3adc5fb4f0650b91c0e68ab7ab79d to your computer and use it in GitHub Desktop.

Select an option

Save elliotberry/1ba3adc5fb4f0650b91c0e68ab7ab79d to your computer and use it in GitHub Desktop.
APFS allocation examples
For a 256-block image: (I see the same for 246-block images)
1 block for main (current checkpoint's) container superblock
8 blocks for previous checkpoints and container superblocks
52 blocks for space manager and related objects
16 blocks for future expansion?
6 blocks for allocation info file blocks
------
83
For a 261,226-block image:
1 block for main (current checkpoint's) container superblock
12 blocks for previous checkpoints and container superblocks
760 blocks for space manager and related objects
16 blocks for future expansion?
27 blocks for allocation info file blocks?
------
816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment