Image © Stack Overflow |
Init is a process in Unix-based operating system. It start at booting of the system. Kernel begin this process with proper requirements . It is considered as daemon process and it continues running until the system is closed. Init play important part in system. If the kernel fail to start init in proper way, the kernel panic will occur. Init is configured in /etc/inittab file where the runlevels are defined. Depending on the services in /etc/inittab, several scripts are run by init. The entire process of start and shut down the system is based on init. Init is parent of all Linux processes with PID or process ID of 1. It is the first process to start when a computer boots up and runs until the system shuts down. In simple words the role of init is to create processes from script stored in the file /etc/inittab which is a configuration file which is to be used by initialization system. It is the last step of the kernel boot sequence.
Comments
Post a Comment