I want to find out exactly what happens in the init (/ sbin / init) process of Linux, but it's pretty hard to find. Could you tell me who supports the source code of the init process?
It depends on the version of Linux. Traditionally used sysvinit .
sysvinit
These days, many Linux distributions use upstart .
upstart
Some others, such as Fedora, use systemd .
systemd
You can download the sysvinit package source code here .
Please note that some Linux distributions no longer use the System V Init. For example, Debian, Fedora, and Ubuntu use upstart .
There are several options for init. Many Linux distributions use systemd, while Ubuntu, for example, uses an upstart. Source code can be downloaded from the project website or using the system package manager.