Gentoo rc scripts
Posted Dec 3, 2003 16:16 UTC (Wed) by stalione
Parent article: The Success of Gentoo
The article didn't mention that awesome job Gentoo developers did with the rc scripts. In Gentoo by default there are three run levels, boot, nonetwork and default and it also gives you the flexibility to create your own run levels (see Gentoo Linux 1.0 Init System). The other nice thing about their rc script system is the use of keywords like need, depend, use that lets you specify dependencies. No longer do you have to worry about assigning rc-scripts a particular number to make sure it starts after/before some other script. Simply specify something like "need net" to make sure the script only starts if network is present.
I have been using Linux for a very long time and I have never come across a more polite and helpful community than the Gentoo user community. What good is it to a newbie if you answer their questions with "RTFM"?
Also this article did not mention that there are binary packages available to use by specifying the -k when emerging (only valid if the binary package exists).
Tells emerge to use binary packages (from $PKGDIR) if they are available, thus possibly avoiding some time-consum-ing compiles. This option is useful for CD installs; you can export PKGDIR=/mnt/cdrom/packages and then use thisoption to have emerge "pull" binary packages from the CD in order to satisfy dependencies."
to post comments)