www.nico.schottelius.org/software/cinit/browse_source/cinit-0.0.5/doc/porting.to.other.os
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

22 lines
848 B
Text

--------------------------------------------------------------------------------
Porting cinit to other operating systems,
Nico Schottelius 2005-06-02
--------------------------------------------------------------------------------
cinit is currently Linux-specific.
It currently does not compile / work on other Unices, because
we use O_ASYNC flag of open(2) which is _not_ a standard.
This way we can act very elegant on incoming connections by our
forks. If somebody finds a at least as elegant solution
to act on incoming data which is more portable, I would
be happy to recieve a diff -u.
Additionally we currently do mount a temporary filesystem
on /etc/cinit/tmp, which allows us to create a socket, where
nothing is mounted r/w yet.
If a Unix has some kind of tmpfs, this can easily be changed
to the appropriate value in conf/*tmp*.