LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rc.modules points to the wrong file. Is this a buG? (https://www.linuxquestions.org/questions/slackware-14/rc-modules-points-to-the-wrong-file-is-this-a-bug-496015/)

arubin 10-27-2006 05:34 AM

rc.modules points to the wrong file. Is this a buG?
 
I set up slackware 11.0 by first installing it with the 2.4 kernel then I installed the 2.6-smp packages.

I have just noticed:

lrwxrwxrwx 1 root root 19 2006-10-09 20:00 rc.modules -> rc.modules-2.4.33.3*
-rwxr-xr-x 1 root root 25553 2006-09-01 09:31 rc.modules-2.4.33.3*
-rwxr-xr-x 1 root root 28472 2006-09-30 23:38 rc.modules-2.6.17.13-smp*

rc.modules is pointing to the wrong file.

Does this matter? Is this a bug in the installation?

Alien Bob 10-27-2006 06:08 AM

No, it is not a bug, although you can fix the link to point to the rc.modules-2.6.17.13-smp file if you like.

Slackware will look for a suitable "rc.modules" file it can use, and there is a certain order in the way it looks for a good one: first it will look for a "rc.modules-<kernelversion>", then for a symlink called "rc.modules" and ultimately it will look for a real actual file called rc.modules.
The first file that isfound will be used.

In your case, the rc.modules-2.6.17.13-smp file is found first and used if you run the 2.6.17.13-smp kernel. If you should reboot into 2.4.33.3, then the rc.modules-2.4.33.3 file would be used instead.

Eric

arubin 10-27-2006 08:33 AM

Thanks very much


All times are GMT -5. The time now is 10:35 AM.