4-7: 几个重要的初始化阶段(详细)
2016-04-28 09:26:35 0 举报
几个重要的初始化阶段(概要)
作者其他创作
大纲/内容
Allow writing to the kernel trace log.
为cpu accounting创建cgroup挂载点
Define default initial receive window size in segments.
chown:修改系统目录的Owner
chmod: 修改系统目录访问权限
Allow only the shell group to read and truncate the kernel trace.
create basic filesystem structure
export 各种环境变量
on post-fs-data
Allow the shell group to enable (some) kernel tracing.
改变/data目录以及它的子目录的访问权限
on early boot
设置Log level
on fs
...
芯片厂家提供很多追加的启动项目
设置系统时钟
创建mount points
给init进程设置安全上下文
Permissions for System Server and daemons.
为memory创建cgroup挂载点
设置selinux
mount
on early-init
google提供的基本启动项目
start ueventd
on boot
on init
开始启动service了
mount_all
Memory management. (adj/minfree)
on post-fs
class_start core
basic network init (网络初始化)
0 条评论
下一页