博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

kode4u!?

  kode4u.cublog.cn

关于作者
姓名:李航
职业:公务员
年龄:28
位置:天津
个性介绍:莫名地执着!?
|| << >> ||
我的分类


ubuntu 没了 /etc/inittab
前两天在学习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的详细内容,有待深入学习,在此先暂记日志一篇。

 原文地址 http://blog.sina.com.cn/u/408e7a7e01000a6p
发表于: 2007-05-26,修改于: 2007-07-26 13:21,已浏览675次,有评论0条 推荐 投诉


网友评论
 发表评论