At 03:08 PM 18/07/99 +0530, Satya wrote:
>if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
> # Get ready for kerneld if module support in the kernel
> echo -n "Finding module dependencies... "
> if [ -e /lib/modules/preferred ]; then
> depmod -a preferred
> else
> depmod -a
> fi
> echo "done"
>fi
I am not much knowledgeable about system internals, but the above file
seems to have some interesting entries. Heres what I thought up, along with
some doubts:
1. Isnt kerneld the process that is responsible for loading all the
modules? Maybe you should try a 'man kerneld' ...
2. The above script seems to look for the "/lib/modules/preferred" files
first. So there must be a way to customise the whole process using that file.
3. Theres a system variable $USEMODULES being accessed. Does it indicate
that the kernel supports modules?
Anyway, what happens when the system is "looking for modules"? Doesnt it
already know where they are? Why do you want to disable this particular
function, Satya?
Sameer.
----------------------------------------------------------------------------
---
The important thing is not to stop questioning. Curiosity has its own
reason for existing."
-- Albert Einstein