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

相关文章:

  • 2021-06-11
  • 2021-06-14
  • 2021-11-26
  • 2021-12-06
  • 2021-03-31
  • 2022-01-09
猜你喜欢
  • 2021-11-19
  • 2021-11-28
  • 2021-12-22
  • 2021-06-10
  • 2021-08-16
  • 2021-08-22
  • 2021-04-19
相关资源
相似解决方案