Also
1)once init process is created, every other call to init only writes 
named pipe
2) In case you have appropriate patches, the process ID's would be 
randomly generated and hence init might not be 1 process at all

regards

Supreet



Sandip Bhattacharya wrote:

>On Thu, 2005-03-31 at 23:24 -0800, santosh dubey wrote:
>  
>
>>i have a basic questions related with 'init'. it is
>>parent of all process. with pid 1. 
>>when we reboot machine with 'init 6' , it will launch 
>>a new process called 'init'. since it is 'init'
>>process so it should have pid 1 which is not possible.
>>
>>so my question is whether init 6 passes message to
>>init or initiates a new init process?if it creates a
>>new process then how two processes lives in memory
>>with same name.
>>    
>>
>
>1. init normally has a pid 1 only because by default it is the first
>process executed by the kernel. At boot time, the kernel can be asked to
>run any program instead of the init program, and in that case this
>program will have the process id 1. As an exercise, you can try using
>init=/bin/bash parameter at the boot prompt.
>
>2. So whenever you run init manually at the shell prompt, a new process
>of init is executed. This process sends an appropriate signal to the
>parent process(PID 1)  based on the parameter you give to the program.
>Read init(8) ('man init') for the details.
>
>3. No two processes in memory can have the same process id. There is
>nothing however which restricts different processes having the same
>process name.
>
>- Sandip
>
>--
>Sandip Bhattacharya    *    Puroga Technologies   *     [EMAIL PROTECTED]
>Work: http://www.puroga.com   *    Home/Blog: http://www.sandipb.net/blog
>
>PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3
>
>
>
>_______________________________________________
>ilugd mailinglist -- ilugd@lists.linux-delhi.org
>http://frodo.hserus.net/mailman/listinfo/ilugd
>Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
>http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
>
>
>  
>

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to