Categories
Linux Mastering Development

How are the kernel daemons running automatically?

I have written my custom init (PID 1) script. In that script I have just mounted the necessary filesystems, but if I run ps aux the list is similar to below: / # ps aux PID USER TIME COMMAND 1 root 0:00 /custom/init 2 root 0:00 [kthreadd] 3 root 0:00 [rcu_gp] 4 root 0:00 [rcu_par_gp] […]