mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Merge branch 'refactor-readme'
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
commit
67c0d43912
1 file changed
+13
-19
@@ -1,12 +1,9 @@
|
|||||||
Finit3-dev | Fast & Extensible init for Linux
|
Fast init for Linux
|
||||||
=============================================
|
===================
|
||||||
[![Travis Status]][Travis] [![Coverity Status]][Coverity Scan]
|
[![Travis Status]][Travis] [![Coverity Status]][Coverity Scan]
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Finit3 is currently in heavy development, please use stable releases if
|
|
||||||
you want a stable and fully functional system. YMMV!
|
|
||||||
|
|
||||||
Table of Contents
|
Table of Contents
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
@@ -30,29 +27,26 @@ Table of Contents
|
|||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Init is the first userland process started by the UNIX kernel, therefore
|
|
||||||
it always has PID 1 and is responsible for starting up the rest of the
|
|
||||||
system.
|
|
||||||
|
|
||||||
Finit is a plugin-based init with [process supervision][1] similar to
|
Finit is a plugin-based init with [process supervision][1] similar to
|
||||||
that of D.J. Bernstein's [daemontools][2] and Gerrit Pape's [runit][3].
|
that of D.J. Bernstein's [daemontools][2] and Gerrit Pape's [runit][3].
|
||||||
The main focus of Finit is on small and embedded GNU/Linux systems, yet
|
The main focus of Finit is on small and embedded GNU/Linux systems, yet
|
||||||
fully functional on standard server and desktop installations as well.
|
fully functional on standard server and desktop installations as well.
|
||||||
|
|
||||||
Traditional [SysV init][4] style systems are scripted. For low-resource
|
Traditional [SysV init][4] style systems are scripted. For low-resource
|
||||||
embedded systems this can be quite resource intensive and cause longer
|
embedded systems this is quite resource intensive and leads to long boot
|
||||||
boot times. Finit is optimized to reduce context switches and forking
|
times. Finit reduces context switches and forking of shell scripts to
|
||||||
of processes to provide a very basic bootstrap written entirely in C.
|
provide a system bootstrap written entirely in C.
|
||||||
|
|
||||||
> Finit basically does everything you need from its `main()` function!
|
There is no `/etc/init.d/rcS` script, or similar. Instead Finit reads
|
||||||
|
its configuration from [/etc/finit.conf](#etcfinitconf), which details
|
||||||
|
kernel modules to load, programs to run, daemons to supervise, and inetd
|
||||||
|
services to launch on demand.
|
||||||
|
|
||||||
Hence, there is no `/etc/init.d/rcS` script, or similar, instead Finit
|
```
|
||||||
reads its configuration from [/etc/finit.conf](#etcfinitconf). This
|
TBD: Add conf sample here, early!
|
||||||
file details what kernel modules to load, programs to run, daemons to
|
```
|
||||||
supervise, and inetd services to launch on demand.
|
|
||||||
|
|
||||||
See [TroglOS][9] for an example of how to boot a small embedded system
|
For an example of a full blown embedded Linux, see [TroglOS][9].
|
||||||
with Finit.
|
|
||||||
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|||||||
Reference in new issue
Block a user