> I'm working with a 2.2.14 kernel code. In the "init" function in
> "linux/init/main.c" file there is a call to execve("/sbin/init".......).
> Could someone tell me where the source code for this executable file is?
You write init.c, compile it, and put it in /sbin/init.
It has no relation to the kernel. There are various more or less
standard choices. For example,
% rpm -qf /sbin/init
sysvinit-2.78-14
There is also a simple init in the util-linux distribution.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/