- 论坛徽章:
- 7
|
对于linux来说,他不知道你哪个是桌面程序,所以一视同仁,用户层的都是应用程序, 一般就是run_init_process函数调用的这几个进程负责拉起,具体看看你的配置了,不同型号的桌面系统可能不同。
- /*
- * We try each of these until one succeeds.
- *
- * The Bourne shell can be used instead of init if we are
- * trying to recover a really broken machine.
- */
- if (execute_command) {
- run_init_process(execute_command);
- printk(KERN_WARNING "Failed to execute %s. Attempting "
- "defaults...\n", execute_command);
- }
- run_init_process("/sbin/init");
- run_init_process("/etc/init");
- run_init_process("/bin/init");
- run_init_process("/bin/sh");
- panic("No init found. Try passing init= option to kernel. "
- "See Linux Documentation/init.txt for guidance.");
复制代码
|
|