[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua-based OS (was: Safe Lua)
- From: Axel Kittenberger <axkibe@...>
- Date: Thu, 4 Aug 2011 12:30:30 +0200
> Even easier would be a Linux system with a custom init program (process
> 1) written in Lua.
This was IMHO the smartest message in this discussion.
FYI, after the linux kernel finished loading itself, it starts one and
only one process, and thats more or less hardcoded /sbin/init. On a
normal desktop this process starts all the other things during bootup
and then your desktop envirnoment etc.. It will also keep running as
"mother of all proccesses" with the PID 1. If you kill init, your
system will shutdown, if you send it a HUP signal it will reboot. If
on a custom machine you replace init simply with a LUA interpreter.
you got your LUA-OS. Assignment complete.