|
发表于 2006-4-10 21:27:45
|
显示全部楼层
老大,看看这里
http://www.linuxsir.cn/bbs/showthread.php?t=251928
- ...
- INITTAB(5) Linux System Administrator's Manual INITTAB(5)
- NAME
- inittab - format of the inittab file used by the sysv-compatible
- init process
- DESCRIPTION
- The inittab file describes which processes are started at bootup
- and during normal operation (e.g. /etc/init.d/boot,
- /etc/init.d/rc, gettys...). Init(8) distinguishes multiple run-
- levels, each of which can have its own set of processes that are
- started. Valid runlevels are 0-6 plus A, B, and C for ondemand
- entries. An entry in the inittab file has the following format:
- id:runlevels:action:process
- 不会吧?![color="Red"]它说“使用的是 sysv 风格”[/color],这个是 Slackware 吗?
- 是的,这是 Slackware, Slackware 使用的是 Sys V 的 init。不要怀疑,让我们看
- 一下 Slackware 包的详细信息:
- bilbo@bilbo:~$ head -n 14 /var/log/packages/sysvinit-2.84-i386-18
- PACKAGE NAME: sysvinit-2.84-i386-18
- COMPRESSED PACKAGE SIZE: 232 K
- UNCOMPRESSED PACKAGE SIZE: 560 K
- PACKAGE LOCATION: /var/log/mount/slackware/a/sysvinit-2.84-i386-18.tgz
- PACKAGE DESCRIPTION:
- sysvinit: sysvinit (init, the parent of all processes)
- sysvinit:
- sysvinit: System V style init programs by Miquel van Smoorenburg that control
- sysvinit: the booting and shutdown of your system. These support a number of
- sysvinit: system runlevels, each with a specific set of utilities spawned.
- sysvinit: For example, the normal system runlevel is 3, which starts agetty
- sysvinit: on virtual consoles tty1 - tty6. Runlevel 4 starts xdm.
- sysvinit: Runlevel 0 shuts the system down.
- sysvinit:
- bilbo@bilbo:~$
- 所以,[color="Red"]没有人告诉你 Slackware 不是使用的是 Sys V 的 init[/color],仅仅是称作“使用
- BSD 风格”。
- 呵呵,仅仅是趣话而已,让我们看一下 /etc/inittabs 的格式:
- ...
复制代码 明显 Slackware 是 SysV 一派的呀! |
|