Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

libc and init system selection

Selection

Selection of the libc and init system can be done by selecting a Yoe Profile.

Comparison of disk space used

  • Musl + Busybox init/dev/login
    • space used in ext4 filesystem on running system using df: 1.9MB
    • adding sizes of files in image from buildhistory: 1.5MB
    • number of files in image: 595
  • Busybox init/dev/login
    • space used in ext4 filesystem on running system using df: 3.5MB
    • adding sizes of files in image from buildhistory: 3.1MB
    • number of files in image: 621
  • SysVinit
    • space used in ext4 filesystem on running system using df: 4.7MB
    • adding sizes of files in image from buildhistory: 4.3MB
    • number of files in image: 696
  • Systemd
    • space used in ext4 filesystem on running system using df: 33.2MB
    • adding sizes of files in image from buildhistory: 22MB
    • number of files in image: 1,806

The space on disk used by a systemd image is much larger than adding the size of the files in the image. We’re not sure why this is – perhaps there is filesystem overhead for small files.