linux下的/etc/inittab中的英文解释: This
file describes how the INIT process should set up the system in a certain run-level.The inittab file describes
which processes are started at bootup and during normal operation. 通俗的说就是控制linux启动时的一些程序及级别。
run-level的英文解释: # 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) 将上面翻译过来就是: # 0 - 停机(千万不能把initdefault 设置为0 )
# 1 - 单用户模式
# 2 - 多用户,没有 NFS (没有网络)
# 3 - 完全多用户模式(标准的运行级,实际上就是text模式)
# 4 - 没有用到
# 5 - X11 (xwindow)
# 6 - 重新启动
ctrlaltdel:允许init在用户于控制台键盘上按下C t r l + A l t + D e l组合键时,重新启动系统。注意,如果该系统放在一个公共场所,系统管理员可将C t r l + A l t + D e l组合键配置为别的行为,比如忽略等。我是设置成打印一句骂人的话了^o^. kbrequest:监视到特定的键盘组合键被按下时采取的动作,现在还不完善。
ondemand:A
process marked with an ondemand runlevel will be executed whenever the specified ondemand runlevel is called. However,
no runlevel change will occur (ondemand runlevels are ‘a’, ‘b’,and ‘c’)