public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linuxrc runs with PID 7
@ 2001-01-31 19:23 Paul Powell
  2001-01-31 19:29 ` bert hubert
  2001-02-01  9:01 ` Rogier Wolff
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Powell @ 2001-01-31 19:23 UTC (permalink / raw)
  To: linux-kernel

This is a followup question to my previous question
"Why isn't init at PID 1."

Previoulsy I was calling init from within linuxrc. 
Linuxrc was a sash script, so the sash script
supposedly had PID 1.  Now I've removed the script and
have a C program for linuxrc.

I'm still not running at PID 1 but at 7.  The linuxrc
program looks like:

int main(int argc, char* argv[])
{
   printf("PID = %i\n", getpid());
}

When I boot and linuxrc is executed, PID equals 7.

Any ideas as to why this is and how I can run at PID
1?

Thanks,
Paul

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/
-
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-02-01 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-31 19:23 Linuxrc runs with PID 7 Paul Powell
2001-01-31 19:29 ` bert hubert
2001-02-01  9:01 ` Rogier Wolff
2001-02-01 10:24   ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox