On Wed, 31 Jan 2001, Paul Powell wrote:
> 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 kill
Followup to: <[EMAIL PROTECTED]>
By author:Igmar Palsenberg <[EMAIL PROTECTED]>
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
--
<[EMAIL PRO
Yes, in this situation "sash" is the process with pid '1', you should run this script
through init and not viceversa, the first process launched takes pid 1.
P.
On Wed, 31 Jan 2001, Paul Powell wrote:
> Hello,
>
> I have a bootable linux CD that runs a custom init.
> Under most versions of l
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 dr
4 matches
Mail list logo