The init process is the parent process of all processes in the system. The init process is breedrupt to complete the child's processes required to operate. These operations include: setting machine names, check, and install disk and file systems, start the system log, configure the network interface and start the network And mail service, start printing services, etc. The main task of the init process in Solaris is to create a process according to the information provided by the inittab file. Since the process of system initialization is created by init, the init process is also called the system initialization process. The init process is the parent process of all processes in the system. The init process is breedrupt to complete the child's processes required to operate. These operations include: setting machine names, check, and install disk and file systems, start the system log, configure the network interface and start the network And mail service, start printing services, etc. The main task of the init process in Solaris is to create a process according to the information provided by the inittab file. Since the process of system initialization is created by init, the init process is also called the system initialization process. The format of the inittab file is specifically described below. Each record in the inittab file begins with a new line, each record item can have 512 characters, each of which is usually as follows: ID: RSTATE: ACTION: Process, the following explanation. 1. The ID field is a string of up to 4 characters, used to unique logo entries. 2. The RSTATE (RUN State) field defines the run level when the record item is called, and the RSTATE can be constructed by one or more runs, or it can be empty, the air is representative of the run level 0 ~ 6. When requesting init changes the run level, those who do not include the new run level in those RSTATE fields will receive the Sigterm warning signal, and finally killed; only A, B, C started with the command (A, B, C is not true Running level) 3. The Action field tells the action execution, that is, how to handle the process specified by the Process field, the value allowed by the action field and the corresponding action are: 1) Respawn: If the process specified by the Process field does not exist, start the process, INIT is not waiting Processing ends, but continues to scan subsequent processes in the initTab file, when this process is terminated, init will restart it. If such a process already exists, it will not do anything. 2) Wait: Start the process specified by the Process field, and wait until the end of the process is dealt with the next record item in the initTab. 3) Once: Start the process specified by the Process field, and remove the next record item until you want to end. When such a process is terminated, it is no longer restarted. When entering a new run level, if such a process is still running, INIT does not restart it. 4) BOOT: Only when the system is started, INIT handles such a record item, start the corresponding process, and does not wait for the end to process the next record. When such a process is terminated, the system does not restart it. 5) BootWait: After the system is started, when the first time from the single user mode enters the multi-user mode, INIT launches such a process, and waits for the end of its processing, then the next record item is processed, When such a process is terminated, the system does not restart it. 6) PowerFail: When INIT receives a power-down signal (SIGPWR), the specified process is processed.