LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-12-2013, 12:36 PM   #1
austinramsay
Member
 
Registered: Jul 2007
Distribution: Solaris 10/09
Posts: 260

Rep: Reputation: 31
Why are there so many rc.X directories?


I'm running slackware and was curious why there are so many rc.X directories. Theres rc.0-6 in /etc, then another set of rc.0-6 in /etc/rc.d? What's the point of this? I know what the directories are for but I don't see why there's 2 sets of them.
 
Old 10-12-2013, 01:14 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by austinramsay View Post
I'm running slackware and was curious why there are so many rc.X directories. Theres rc.0-6 in /etc, then another set of rc.0-6 in /etc/rc.d? What's the point of this? I know what the directories are for but I don't see why there's 2 sets of them.
Too my knowledge this is done for compatibility reasons.

From a historical point of view there are 2 ways the rc.* structure can be implemented. One is a /etc/rc.d directory holding all the rc related files/dirs, the other places all the rc related files/dirs in /etc (often soft links exist from one to the other).

Last edited by druuna; 10-12-2013 at 01:16 PM.
 
  


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
Find the directories which is older than x days delete and zip those directories ramesh pagadala Linux - Newbie 2 08-29-2013 09:17 AM
[SOLVED] Mount directories to multiple /home directories? the ber Linux - Newbie 5 08-15-2013 07:14 AM
How to store files/directories in different different directories!! anishkumarv Linux - Newbie 7 03-23-2011 06:26 PM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 04:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM


All times are GMT -5. The time now is 11:02 AM.

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