Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5613689
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-06-09 11:44:57

 

The inittab file is composed of entries that are position-dependent and have the following format:
id:rstate:action:process
The entry fields are:
id:a one to four character value used to uniquely identify an entry.
rstate:defines the run level in which this entry is to be processed. a process can be assigned to one or more run levels. No entry in this fields means all run level
action:a keywork in this field tells boot init how to treat the process specified in the process field. here are some of the actions that can be specified:
        boot:process the entry only at boot init's boot time read of the inittab  file. boot init starts the process, does not wait for its termination, and when it dies, does not restart the process
        bootwait:process the entry only at boot init's boot-time read of the inittab file. boot init starts the process, waits for its termination,and, when it dies, does not restart the process
        initdefault:the default run level
        respawn:if the process does not exist, start the process; do not wait for its termination. when it dies, restart the process. if the process currently exists, do nothing and continue scanning the inittab file
process:this is the shell command to be executed
阅读(1821) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~