LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why are there so many rc.X directories? (https://www.linuxquestions.org/questions/linux-newbie-8/why-are-there-so-many-rc-x-directories-4175480538/)

austinramsay 10-12-2013 11:36 AM

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.

druuna 10-12-2013 12:14 PM

Quote:

Originally Posted by austinramsay (Post 5044506)
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).


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