wuzhipeng2014 / freenos

Automatically exported from code.google.com/p/freenos
GNU General Public License v3.0
0 stars 0 forks source link

System initialization using /sbin/init and /etc/rc #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The init process should use for example an /etc/rc file, which is
interpreted by /bin/sh, to start the system servers, drivers and finally
the login program on bootup. For each program started with /etc/rc, the shell
then does a waitpid() until the program has fork()'ed into the background.

Original issue reported on code.google.com by coenbijlsma on 7 Aug 2009 at 11:38

GoogleCodeExporter commented 9 years ago
ORIGINAL COMMENT FROM nieklinnenbank
The Shell is now able to execute /etc/rc. However, to use it for init, we first
need a working fork() that we can use in each of the servers to fork it off 
into the
background.

Original comment by coenbijlsma on 7 Aug 2009 at 11:38