LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2002, 07:26 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
rc.d - faster boot time


In order to increase booting speed i've disabled many unwanted services at start up while in a Desktop Enviorment (KDE) on my RH7.3 system.

I looked into the rc5.d (which is my default run level) and I can't figure out HOW the files in the directory are marked bootable or not.

For example, I disabled ipchains at bootup and looked at the file after modiftying my bootup list and nothing was changed.

My question is, where and what file determines whats bootable or not. Would like to be able to do this all in console mode for runlevel 3 machines I will be working with.

TY
Ben.
 
Old 07-01-2002, 03:07 AM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
Hmm... this not the easiest thing. First, try to use config-tools, if available. This should succeed. If not try the following:
For each directory, there is a folder called rcX.d, where x is the runlevel. I think this is the same for all distros. In there should be symbolic links with numbers before them and each one starts a service. So if you have in rc5.d S800<something>, this means that this service 'something' gets started when switched to Runlevel X. So, if you remove this symbolic link, the service shouldn't start.
This is the way, LFS is handling bootup. However, I don't know whether distros work different - i'm sure you'll find out.
Good luck
 
Old 07-01-2002, 04:11 AM   #3
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Original Poster
Rep: Reputation: 38
Yea, Got that part down, just confused cause when i use a GUI config app to edit what services i want at boot up and ones I don't, the symbolic links still remain in the rcX.d directory.

So im not sure what exactly is modified, the files themself are not touched. Perhaps theirs an index file for rcX.d files?

B.
 
Old 07-01-2002, 06:02 AM   #4
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
You can figure using the timestamp which file got modified...just to figure. May be, the name of the symbolic link changes in a way, the bootup process doesn't call it anymore. For example, S800 gets changed to something else...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Faster boot time on core 3 eonicrush Fedora 11 08-14-2005 03:16 AM
faster boot? oldforce SUSE / openSUSE 2 05-23-2005 05:36 PM
Some advice on how to boot faster ? snop Slackware 7 01-23-2004 12:47 PM
how to boot faster? chandan Linux - General 6 07-03-2003 06:36 PM
How to boot Mandrake Linux faster (skip boot option) lava Linux - General 7 02-28-2003 02:39 PM


All times are GMT -5. The time now is 03:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration