init is the first (daemon) process spawned during the boot sequence of a UNIX system. It is initiated by the kernel, which will panic if the
init executable cannot be found.
This process has some particular characteristics:
- While there is no design rule behind this, the
initprocess has PID 1, since it is the first child of process 0 (swapper or sched).
initadopts all orphan processes in the system.
inithandles all operations related to programs starting at boot time. This behaviour can be configured through the
/etc/rc*files and directories.