On 15/09/04 09:40 -0400, Binand Sethumadhavan wrote:
> Chandrashekar Babu posted in linux-india-help:
> > disregard this as the "bloat" factor. A quick reading on the Redhat's
> > rc.sysinit script reveals that it takes a couple of 'cat /etc/issue',
> > grep, sed and cut commands to simply display a "Welcome to Redhat 9.0"

<snip>
> Further, I didn't see any cat /etc/issue anywhere in /etc/rc.d.
Wrong file.

>From /etc/rc.sysinit:
# Print a banner. ;)
echo -en $"\t\tWelcome to "
if grep -q "Red Hat" /etc/redhat-release ; then
 [ "$BOOTUP" = "color" ] && echo -en $"\\033[1;31m"
 echo -en "Red Hat"
 [ "$BOOTUP" = "color" ] && echo -en $"\\033[0;39m"
 PRODUCT=`sed "s/Red Hat \(.*\) release.*/\1/" /etc/redhat-release`
 echo " $PRODUCT"
else
 PRODUCT=`sed "s/ release.*//g" /etc/redhat-release`
 echo "$PRODUCT"
fi

There are three sleep calls (total 7 seconds) in /etc/rc.sysinit

There are a bunch of initlog calls in /etc/init.d/functions

Also, redhat starts a pretty large number of processes by default, which
increases the bootup time (a default of kudzu at startup is /bad/). 

If the administrator bothers to set boot time sequences and programs 
correctly, then the boot time is reduced considerably.

FWIW, the bulk of my boot time is taken by PostgreSQL and Postfix
amongst individual processes with a total time of about 40 seconds from
the boot prompt.

Devdas Bhagat


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to