init 0,1,2,3,4,5,6 knowledge introduced under linux

init 0,1,2,3,4,5,6 knowledge introduced under linux

A. Init is one of the Linux operating system is an indispensable program.  

The so-called init process, which is initiated by a user-level kernel process.  

After the kernel itself started (that has been loaded into memory, start running and initializes all the device drivers and data structures, etc.), it starts by a user-level program init manner, to complete the boot process.

So, init is always the first process (its process number is always 1).
The kernel has been used in the past to find a few places init of it, it's correct position (for Linux systems) is / sbin / init. If the kernel can not find init, it will try to run / bin / sh, if fails, the system will fail to start.

Two. Init total is divided into seven levels, seven levels of meaning represented as follows

0: Stop or off (do not be initdefault is set to 0)

1: single-user mode, only the root user maintenance

2: multi-user mode, you can not use NFS (Net File System)

3: Full multi-user mode (standard operating level)

4: Safe Mode

5: Graphical (i.e. GUI)

6: Restart (Do not put initdefault is set to 6)

 

A. Init is one of the Linux operating system is an indispensable program.  

The so-called init process, which is initiated by a user-level kernel process.  

After the kernel itself started (that has been loaded into memory, start running and initializes all the device drivers and data structures, etc.), it starts by a user-level program init manner, to complete the boot process.

So, init is always the first process (its process number is always 1).
The kernel has been used in the past to find a few places init of it, it's correct position (for Linux systems) is / sbin / init. If the kernel can not find init, it will try to run / bin / sh, if fails, the system will fail to start.

Two. Init total is divided into seven levels, seven levels of meaning represented as follows

0: Stop or off (do not be initdefault is set to 0)

1: single-user mode, only the root user maintenance

2: multi-user mode, you can not use NFS (Net File System)

3: Full multi-user mode (standard operating level)

4: Safe Mode

5: Graphical (i.e. GUI)

6: Restart (Do not put initdefault is set to 6)

Guess you like

Origin www.cnblogs.com/xyongsec/p/11125567.html