发博文
个人资料
  • 博客访问:34396
  • 博文数量:32
  • 博客积分:1400
  • 博客等级:上尉
  • 注册时间:2007-07-26 13:15:50
订阅我的博客
  • 订阅
  • 订阅到鲜果
  • 订阅到抓虾
  • 订阅到Google
字体大小: 博文
ubuntu 没了 /etc/inittab (2007-07-26 13:21)
分类: GNU/Linux

前两天在学习linux基础时用自己的ubuntu feisty fawn来试验,发现根本找不到/etc/inittab这个文件,到网上搜了一下,发现ubuntu已经放弃System-V系统,改用自己的upstart,下面是对这个事情的描述,源自一个英文blog

I’m sure many of you might stumbled upon this problem when you discovered first hand that there is no /etc/inittab file on Ubuntu Edgy Eft or Feisty Fawn.

This is deliberate because Ubuntu do not use init anymore to manage its services during startup or shutdown of the system. Instead it uses ‘upstart‘ as replacement for the traditional sysvinit utility that is common to Linux-based operating system.

All the things that you used to have in the /etc/inittab is ported to upstart’s /etc/event.d/.

It might take some of time to get used to the way upstart manage things in your computer, For example, the settings for ‘tty3′ is located in ‘/etc/event.d/tty3′ if you need to change it’s parameter, and rc scripts on rc*.

Additionally You can use ‘runlevel’ command to determine which runlevel your computer is in.

Please refer to Upstart Project page if you’re interested to know more about the project

 
有关upstart的详细内容,有待深入学习,在此先暂记日志一篇。

我的更多文章
前一篇:视裸者
亲,您还没有登录,请[登录][注册]后再进行评论