Gentoo init scripts
Posted Mar 20, 2003 10:28 UTC (Thu) by
shane (subscriber, #3335)
Parent article:
A quick look at Gentoo Linux
though things like the init script system take a little getting used to
I love the Gentoo init script system. It's the first real improvement in startup scripts in Unix-land since System V!
The idea is that each script in /etc/init.d/ documents the dependencies at the beginning, and the startup script figures out the proper order to run each script. Even better, if a dependency fails (e.g. DNS), then scripts that require that service won't run - no more cascading failures! Nice.
I don't know if it does it yet, but boot time could be improved by running a certain number of scripts in parallel, since dependencies are known.
This is the kind of innovation that is possible with a large number of distributions revisiting "solved" issues.
(
Log in to post comments)