Linux系统配置INITTAB文件说明

Linux系统配置INITTAB文件说明

注意: 此文件语句以#开头全部为注释语句

# # inittab This file describes how the INIT process should set up

# the system in a certain run-level.

# # Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>

# Modified for RHS Linux by Marc Ewing and Donnie Barnes # # Default runlevel. The runlevels used by RHS are:

# 0 - halt (Do NOT set initdefault to this)

# 1 - Single user mode

# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)

# 3 - Full multiuser mode

# 4 - unused

# 5 - X11

# 6 - reboot (Do NOT set initdefault to this)

# id:3:initdefault: // init首先从这条语句得知,系统当前的运行级别,除非用户在启动时给了kernel参数

# System initialization. si::sysinit:/etc/rc.d/rc.sysinit //系统回去执行/etc/rc.d/rc.sysinit脚本,系统初始化开始。

l0:0:wait:/etc/rc.d/rc 0

l1:1:wait:/etc/rc.d/rc 1

Linux系统配置INITTAB文件说明相关文档

最新文档

返回顶部