[BusyBox] how to get "reboot" to work when using "minit"??
gyepi at praxis-sw.com
Tue May 4 14:40:48 UTC 2004
On Tue, May 04, 2004 at 05:52:54AM -0400, Robert P. J. Day wrote:
> > It appears to me that the code is not optimal: CONFIG_FEATURE_INITRD
> > should be disregarded and when a process named 'init' or 'linuxrc'
> > cannot be found, it should be safe to assume that whatever process has
> > pid == 1 *is* init and should be killed.
> is there any reason that you shouldn't just go after the process with
> PID 1 in the first place, regardless of its name? wouldn't that always
> be the init-like process no matter what?
Because init does not always have PID == 1!
Quoting Erik Andersen from 2001 :
When the kernel runs an initrd, the init process is still sleeping in kernel space, and the process
executing user space stuff is just another kernel thread, and <em>will not be
More information about the busybox