Busybox modprobe has a couple of irritating quirks:
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 8 Sep 2003 00:32:49 +0000 (00:32 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 8 Sep 2003 00:32:49 +0000 (00:32 -0000)
commit350733abb8157cd8e9e0b6bb10e8699a96c31a20
tree7b7e5b70f47b853478e61082cdcd53a9fdf9ba2e
parentd6bdd5dc088b2673b6e9fd212628a95cc1911756
Busybox modprobe has a couple of irritating quirks:

 - attempting to modprobe a module that is already loaded yields "Failed
to load module", whereas modutils quietly ignores such a request.

 - if a module genuinely can't be loaded due to missing symbols or
similar problems, modprobe doesn't produce any useful diagnostics
because the output from insmod has been redirected to /dev/null.

Here's a patch to address these issue

Patch by Philip Blundell
modutils/modprobe.c