Slackware 10.0 Kernel ??後的流程(转)

Slackware 10.0 Kernel ??後的流程(转)[@more@]

  本文简要介绍了Slackware 10.0启动之后启动脚本的执行流程。

  root | 08 七月, 2004 09:30

  Kernel 蒌入完成後, Kernel ?把?行?交斤 init, 而 init ?去坐取 /etc/inittab

  中的以下呃列??定 runlevel.

  # Default runlevel. (Do not set to 0

  or 6)

  id:3:initdefault: style="font-weight: bold;">

  runlevel 的定柳如下

  0 = halt, 晷?

  1 = single user mode, ?人使用模式

  2 = unused (but configured the same as runlevel 3)

  3 = multiuser mode (default Slackware runlevel), 多人使用模式

  4 = X11 with KDM/GDM/XDM (session managers), x ?窗使用模式

  5 = unused (but configured the same as runlevel 3)

  6 = reboot, 重新檫?

  以下呃列?第一?被?行

  # System initialization (runs when

  system boots).

  si:S:sysinit:/etc/rc.d/rc.S style="font-style: italic;">

  然後再依 runlevel 去找要?行那? shell script

  # Script to run when going single

  user (runlevel 1).

  su:1S:wait:/etc/rc.d/rc.K style="font-style: italic;">

  # Script to run when going multi user. style="font-style: italic;">

  rc:2345:wait:/etc/rc.d/rc.M style="font-style: italic;">

  # What to do at the "Three Finger

  Salute".

  ca::ctrlaltdel:/sbin/shutdown -t5 -h

  now

  # Runlevel 0 halts the system. style="font-style: italic;">

  l0:0:wait:/etc/rc.d/rc.0 style="font-style: italic;">

  # Runlevel 6 reboots the system. style="font-style: italic;">

  l6:6:wait:/etc/rc.d/rc.6

  # Runlevel 4 used to be for an X window only system, until we discovered

  # that it throws init into a loop that keeps your load avg at least 1

  all

  # the time. Thus, there is now one getty opened on tty6. Hopefully no

  one

  # will notice. ;^)

  # It might not be bad to have one text console anyway, in case something

  # happens to X.

  x1:4:wait:/etc/rc.d/rc.4

  所以如以盍韵的 runlevel ?整?流程如下

  

  

rc.S

  

       rc.devfsd

  

     rc.udev

  

     rc.modules

  

       rc.netdevice

  

蒌入咀路卡??程式

  

  rc.sysvinit

  

     rc.serial

  

   rc.M

  

       rc.syslog

  

     rc.pcmcia

  

     rc.inet1

  

       rc.wireless

  

??咀卡

  

  rc.hotplug

  

     rc.inet2

  

       rc.portmap

  

     rc.syslog

  

     rc.firewall

  

     rc.ip_forward

  

     rc.inetd

  

?? /etc/inetd.conf 中?蒌的咀路 server

  

    rc.sshd

  

     rc.bind

  

     rc.yp

  

     rc.nfsd

  

   rc.cups 或 rc.lprng

  

     rc.atalk

  

     rc.sendmail

  

     rc.acpid

  

     rc.alsa

  

     rc.font

  

     rc.keymap

  

     rc.hpoj

  

     rc.mysqld

  

     rc.httpd

  

     rc.samba

  

     rc.gpm

  

     rc.sysvinit

  

     rc.local

  

   

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752019/viewspace-941373/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10752019/viewspace-941373/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值