Mac OS X Primer (Part 2): Migrating from GNU/Linux to Mac for software engineers

Booting process

  1. Bootloader loads the kernel stored in /mach_kernel (Tip: Use rEFIt as boot loader for dual booting into GNU/Linux).
  2. Kernel launched the launchd process (equivalent of init in GNU/Linux).
  3. launchd loads startup processes from several directories (/System/Library/LaunchAgents, /System/Library/LaunchDeamons, /Library/LaunchAgents, /Library/LaunchAgents and corresponding files in ~/Library directory) [source]

Continue reading