[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: src for init() process?



Parav Pandit wrote:
Hi,
Hallo

Can someone tell me where can I find the source code for the init() process?

google, or your GNU+Linux distribution, debian's example:
+--
|olecom@deen:/tmp$ grep -e /sbin/init /var/lib/dpkg/info/*list
|/var/lib/dpkg/info/sysvinit.list:/sbin/init
|olecom@deen:/tmp$ LANG=C apt-get source sysvinit
|Reading package lists... Done
|Building dependency tree... Done
|Need to get 222kB of source archives.
|Get:1 http://ftp.cz.debian.org etch/main sysvinit 2.86.ds1-15 (dsc) [894B]
|Get:2 http://ftp.cz.debian.org etch/main sysvinit 2.86.ds1-15 (tar) [98.6kB]
|Get:3 http://ftp.cz.debian.org etch/main sysvinit 2.86.ds1-15 (diff) [123kB]
|Fetched 222kB in 0s (3132kB/s)
|dpkg-source: extracting sysvinit in sysvinit-2.86.ds1
|dpkg-source: unpacking sysvinit_2.86.ds1.orig.tar.gz
|dpkg-source: applying ./sysvinit_2.86.ds1-15.diff.gz
|olecom@deen:/tmp$
+--
Instead of starting init process, I am starting my own shell and reducing the overhead of reading lot of rc files, initab, mtab, fstab.

Don't repeat postings and try to invent a wheel, OK ?
<http://freshmeat.net/projects/nextgenerationinit/>

--
-o--=O`C
 #oo'L O $ dd </all:xml>/dev/null
<___=E M


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/