depmod

Bernhard Fischer rep.dot.nop at gmail.com
Wed May 28 15:19:25 UTC 2008


On Wed, May 28, 2008 at 07:02:50PM +0400, Vladimir Dronnikov wrote:
>Hello, Bernhard!
>
>
>> [Vladimir, please do not break the threading in the ML archives, TIA]
>
>
>Sorry for some inconvenience -- I'll try my best.
>
>
>> Why is strstr evil again?
>> And why is it a good idea to increase the size needlessly?
>
>
>I marked the spot as "suggested". Personally I think this check against file
>name redundant. Module might have not been on system yet (It may be a part
>of a package, e.g.)
>
>The basedir is documented as...
>
>
>Would you mind make it FEATURE'd?

This can certainly be done.

>I keep all my modules under /usr/lib/modules, no further hierarchy. No
>kernel version matters. What parameters should I pass to depmod?

For the currently loaded kernel:
$ depmod
for a different kernel (e.g. 1.2.3-myfoo)
$ depmod 1.2.3-myfoo

I assume you already set the default-dir and modules.dep names via
menuconfig to suit your setup.



More information about the busybox mailing list