标签: linux service filesystems kernel systemd
我知道systemd是从“/ etc / systemd / system”中的default.service文件启动的。从那里开始所有服务。但实际上我想知道在加载内核时如何引发defalt.target。哪个文件执行default.target。内核如何知道我使用sys V init或systemd的天气?
提前致谢
答案 0 :(得分:0)
内核根本没有参与。它只执行/ sbin / init,在这种情况下决定执行什么目标。
内核不知道或不关心你正在使用的init系统。