Re: Why isn't init PID 1?

H. Peter Anvin (hpa@zytor.com)
31 Jan 2001 15:33:09 -0800


Followup to: <Pine.LNX.4.21.0102010057470.11152-100000@server.serve.me.nl>
By author: Igmar Palsenberg <maillist@chello.nl>
In newsgroup: linux.dev.kernel
>
> Yes. First program to run get PID 1.
>
> Solution : fork() in init and load the modules in the child.
>

Or finish your script with "exec init".

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/