hachi (hachi) wrote,
hachi
hachi

Linux init

A long time ago I started writing a new /etc/init.d/rc for my linux boxes. The implementation I have gone for is a monolithic perl/POE process which forks children to exec a single initscript from /etc/rc*.d/ and monitor their returns to see when to start the next batch. The theory works, and I do use it to start linux on my laptop. It reduces boot time by about 50% or so.


The problem though is that some processes expect to have control of the console, like checkroot which happens to fall back to a root-only login if it has problems. If anyone in the world happens to stumble on this and care I'd love to hear some ideas on solving these problems.


The current code is available at http://svn.kuiki.net/rc/trunk/rc. I'm going to go play with mDNS and assembly programming now.

Subscribe

  • On Vox: Online financial software

    Has anyone found an online financial software package that allows you to add your own accounts and transactions? I've tried three of them; mint,…

  • Mmmmmmmmotorcycle

    BMW F800S

  • The test results are in!

    There's nothing physically wrong with me. Hurray *waves tiny flag* There are chances it will occur again but hopefully not for a long time, and the…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments