摘要:
init文件是一个二进制文件,其源码在system/core/init/目录下,文件的函数入口在init.c文件。首先看看其主函数: 1 int main(int argc, char **argv) 2 { 3 //... 4 umask(0); 5 6 /* Get the basic filesystem setup we need put 7 * together in the initramdisk on / and then we'll 8 * let the rc file figure out the rest. 9 *... 阅读全文