Linux kernel boot process

来源:互联网 发布:国家健康医疗大数据 编辑:程序博客网 时间:2024/04/28 07:07
Linux kernel boot process

    Linux kernel mounts the root filesystem.
    The kernel starts the first user process /sbin/init provided by Busybox.
    /sbin/init reads /etc/inittab (From the SDK: linux/embedded_rootfs/etc-files/inittab).
    /etc/inittab starts the shell script /sbin/rc (From the SDK: linux/embedded_rootfs/etc-files/rc).
    /sbin/rc mounts the kernel pseudo filesystems /proc, /dev/shm, and /dev/pts.
    /sbin/rc brings up the loopback network device with the IP address 127.0.0.1.
    /sbin/rc starts syslogd provided by Busybox.
    /sbin/rc starts telnetd provided by Busybox.
    /sbin/rc exits returning control in /sbin/init.
    /etc/inittab tells /sbin/init to spawn an interactive shell.
    The user interactive shell prompt appears.
0 0
原创粉丝点击