From: Paul Powell <moloch16@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Why isn't init PID 1?
Date: Wed, 31 Jan 2001 06:40:38 -0800 (PST) [thread overview]
Message-ID: <20010131144038.26689.qmail@web118.yahoomail.com> (raw)
Hello,
I have a bootable linux CD that runs a custom init.
Under most versions of linux init runs as process ID
one. Under my bootable CD, it runs as process ID 15.
I need it to run as PID 1 so that I can execute a
kill(-1,15) without killing init.
The boot CD uses and initrd image to load drivers.
The linuxrc file looks like:
#!/bin/sash
aliasall
echo "Loading aic7xxx module"
insmod /lib/aic7xxx.o
echo "Loading ips module"
insmod /lib/ips.o ips=ioctlsize:512000
echo "Loading sg module"
insmod /lib/sg.o
echo "Loading FAT modules"
insmod /lib/fat.o
insmod /lib/vfat.o
echo "Mounting /proc"
mount -t proc /proc /proc
init
umount /proc
Does it run as PID 15 because I execute insmod and
mount before running init?
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 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-31 14:40 Paul Powell [this message]
2001-01-31 14:48 ` Why isn't init PID 1? Patrizio Bruno
2001-01-31 23:58 ` Igmar Palsenberg
2001-01-31 23:33 ` H. Peter Anvin
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=20010131144038.26689.qmail@web118.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