From: Paul Powell <moloch16@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Linuxrc runs with PID 7
Date: Wed, 31 Jan 2001 11:23:38 -0800 (PST) [thread overview]
Message-ID: <20010131192338.19211.qmail@web117.yahoomail.com> (raw)
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/
next reply other threads:[~2001-01-31 19:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 19:23 Paul Powell [this message]
2001-01-31 19:29 ` Linuxrc runs with PID 7 bert hubert
2001-02-01 9:01 ` Rogier Wolff
2001-02-01 10:24 ` Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010131192338.19211.qmail@web117.yahoomail.com \
--to=moloch16@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox