LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to find the priority of an inserted module in the kernel (https://www.linuxquestions.org/questions/linux-software-2/how-to-find-the-priority-of-an-inserted-module-in-the-kernel-460764/)

sharad 07-03-2006 11:37 PM

how to find the priority of an inserted module in the kernel
 
I wish to know how to get the priority of a loadable kernel module.

Also I want to know whether ipchains runs first or a module inserted in the kernel runs first.

Also how can I change the priority of a loadable kernel module,is it possible?


Please help me to solve this problem.

JZL240I-U 07-06-2006 06:40 AM

Okay, I thought sombody else knows better than me. So here goes:

Somewhere below /etc(/init.d) you'll find directories like rc.d1 rc.d3 etc. The number means the runlevel. In these directories there are links to the actual modules which are in some manner numbered (somthing like module17) the number determines the sequence the modules are loaded. So you can rename ipchains99 to ipchains00 at your own risk to get it loaded first in the runlevel you use.

HTH :)


All times are GMT -5. The time now is 05:53 PM.