From: Udo Christ (uchrist@winx06.informatik.uni-wuerzburg.de)
Date: 12/10/92


From: uchrist@winx06.informatik.uni-wuerzburg.de (Udo Christ)
Subject: Re: ps shows /bin/init: why?
Date: Thu, 10 Dec 1992 11:48:13 GMT

The Wyvern (wyvern@gnu.ai.mit.edu) wrote:
: This is something that's been bothering my for a long time:
:
: Why is it that 'ps -ax' gives
: PID TT STAT TIME COMMAND
: 1 ? S 0:00 /bin/init
:
: when init is clearly not in /bin?
:
:

This entry is done by the kernel at steup time. This means that the kernel
attempts to start /bin/init, and makes as entry according to that file.
If /bin/init isn't found, it tries to start /etc/init but that entry isn't
corrected. And if all that previous Stuff fails, the system is coming up
in single user mode.

        The Code for that should be in main.c under /usr/src/linux/...

                                udo
                uchrist@winx06.informatik.uni-wuerzburg.de