Skip to content

Instantly share code, notes, and snippets.

@hakanai
Created June 15, 2018 00:26
Show Gist options
  • Save hakanai/e29b3652d817eb828ac246e299a1133e to your computer and use it in GitHub Desktop.
Save hakanai/e29b3652d817eb828ac246e299a1133e 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