User: Password:
|
|
Subscribe / Log in / New account

Changes coming for systemd and control groups

Changes coming for systemd and control groups

Posted Jul 3, 2013 17:18 UTC (Wed) by zblaxell (subscriber, #26385)
In reply to: Changes coming for systemd and control groups by epa
Parent article: Changes coming for systemd and control groups

if you insist on not writing your own /sbin/init
Only on LWN...
What? Don't knock it until you've tried it. ;)

I sometimes get projects with single-second boot time requirements. I could waste a lot of time reading config files, forking processes, or resolving symbols from shared libraries...or I can write my own monolithic /sbin/init, and use the time saved to load a larger and more functional application from boot media, or to avoid having to resort to kernel XIP and other more painful hacks just to boot in time.

With a translator from shell-like syntax to C code it's not even particularly difficult to convert from legacy rc scripts (or, in theory, systemd configuration files). The diminishing returns kick in pretty quickly as you pile on more software, though, so it only tends to be useful in very simple cases.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds