Skip to contentSkip to conversation

Use modinfo to gather module dependencies

PATCH Dennis Schridde 1 participant 1 message Feb 27, 2012

lore
Share & tools
lore
#0 lore raw

Hi Harald!

Am Samstag, 25. Februar 2012, 22:18:48 schrieben Sie:

Quoted 6 lines

Am 25.02.2012 22:09 schrieb "Dennis Schridde" <[email protected]>:

Quoted 2 lines

Hence I wrote attached patch, switching from modprobe to modinfo, which

also

Quoted 7 lines
Quoted 1 line

seem to be the tool intended for the job. This method appears to work

reliable

Quoted 1 line

in kmod-5, but I have not tested with module-init-tools.

Just update kmod... modprobe --show-depends was fixed

Thanks for the info.

I would like know your reasons for using modprobe instead of modinfo to gather information about modules, since it appears to be the wrong tool to me.

Kind regards,
Dennis