Linux-kernel mailing list archive 2000-23,: Re: "/sbin/init" source code

# Re: "/sbin/init" source code

Andries Brouwer (aeb@veritas.com)
Tue, 6 Jun 2000 22:44:40 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jeff Noxon: "Re: "/sbin/init" source code"
- Previous message: Manfred Spraul: "sg updates break fasync changes"

On Tue, Jun 06, 2000 at 01:13:57PM +0200, Amelia De Vivo wrote:

> 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/

- Next message: Jeff Noxon: "Re: "/sbin/init" source code"
- Previous message: Manfred Spraul: "sg updates break fasync changes"