[erlang-questions] crazy thoughts: inittab and erl node

Alex Arnon alex.arnon@REDACTED
Tue May 8 00:10:51 CEST 2007


On 5/7/07, jm <jeffm@REDACTED> wrote:
>
> Has anyone attempted to start an erlang node from inittab? For example,
> something like
>
> n0:2345:/usr/sbin/erl -noshell
>
> or for the more crazy out there doing embedded systems: Replacing
> /sbin/init with an erlang node? Now I've have no idea what the advantage
> or disadvantages of such a set up would be. It's just a random thought
> that occured to me and I was interested to know if anyone had tried it.
>
>
> Jeff.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>

The simplest would be to run it as an S script at the appropriate runlevel.
Why bother with inittab, even?

Unix's init cannot be trivially replaced, as it spawns several critical
kernel threads, and manages runlevels as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070508/dd1f6f74/attachment.htm>


More information about the erlang-questions mailing list