rc.init文件启动过程

  1. sources the /etc/rc.conf script.
  2. sources the /etc/rc.d/functions script.
  3. displays a welcome message.
  4. mounts various virtual file systems.
  5. creates dummy device files.
  6. starts minilogd.
  7. outputs messages from dmesg.
  8. configures the hardware clock.
  9. empties the /proc/sys/kernel/hotplug file.
  10. starts udev and checks for udev events .
  11. starts the loopback interface.
  12. loads modules from the MODULES array defined in rc.conf.
  13. configures RAID and encrypted filesystem mappings.
  14. runs a forced check of partitions (fsck) if the /etc/fstab file contains instructions to do so.
  15. mounts local partitions and swap (networked drives are not mounted before a network profile is up).
  16. activates swap areas.
  17. sets the hostname, locale and system clock as defined in rc.conf.
  18. removes various leftover/temporary files, such as /tmp/*.
  19. configures the locale, console, and keyboard mappings.
  20. sets the console font.
  21. writes output from dmesg to /var/log/dmesg.log.

References

https://wiki.archlinux.org/index.php/Arch_Boot_Process

posted on 2011-12-15 11:51  sunt615  阅读(975)  评论(0编辑  收藏  举报