Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
find /lib/module/$(uname -r) -name '*.ko' | grep your-module
See its man page: http://linux.die.net/man/8/modprobe.
We may actually provide an alternative implementation in kmod that works better than what module-init-tools provided, but no one had enough interest to implement it yet.
By the way, AFAIR this was usually used to check "where is the file for kernel module XYZ?" This can be better done by modinfo.
The eudev project launches
Posted Dec 17, 2012 9:46 UTC (Mon) by gfa (subscriber, #53331)
can you tell me why it was deprecated? what was the issue with it? i only saw the deprecation notice, but never the rationale behind
Posted Dec 18, 2012 7:38 UTC (Tue) by jamesh (guest, #1159)
So presumably they felt it was better to direct people to use standard shell tools.
modprobe -l replacement
Posted Dec 19, 2012 5:04 UTC (Wed) by pr1268 (subscriber, #24648)
For those who need a non-deprecated version: the shell command
find /lib/modules/$(uname -r) -name "*.ko" -printf "%P\n"
Posted Dec 17, 2012 10:50 UTC (Mon) by zuki (subscriber, #41808)
I don't think so: most people (me included) use it to generate a list of modules or to remind oneself about the name of some module. Using 'find' is of course possible, but much less convenient.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds