Designing a new init: low level communication

Erich Schubert erich.schubert at
Mon Aug 29 14:41:33 UTC 2005

> I think I read something like that:
> server: open a read pipe A
> client: create a bidirectional pipe B
> client: sent info of this pipe B to server (with the pipe A)
> server <-> client (via pipe B).
> I don't remember the details (on Stevens?) but IIRC there
> was a trick with unamed pipe, so it can be used concurrently
> on boot (pre write fs) time.

That is what I'd like for e.g. the monitoring, too.
But I'm not sure about what happens early during boot, lacking an rw filesystem.
I mean, for an unnamed pipe you'd need to pass a file descriptor over a FIFO!
Using (abstract) unix sockets that will work, of course - except it
might have portability issues (the abstract ones) or requires a
writeable filesystem (the regular uds).

best regards,
Erich Schubert
    erich@(|      --      GPG Key ID: 4B3A135C    (o_
  To understand recursion you first need to understand recursion.   //\
  Wo befreundete Wege zusammenlaufen, da sieht die ganze Welt für   V_/_
        eine Stunde wie eine Heimat aus. --- Herrmann Hesse

More information about the initscripts-ng-devel mailing list