LWN.net Logo

Gentoo's udev fork

Gentoo's udev fork

Posted Nov 23, 2012 10:06 UTC (Fri) by Aissen (subscriber, #59976)
In reply to: Gentoo's udev fork by demarchi
Parent article: Gentoo's udev fork

My biggest grief with kmod is the missing modprobe -l. Sure, you could do the same thing with find, but:
- "find /lib/modules/`uname -r`/ -name *.ko" has 240% more characters to type
- it requires me to remember the argument to uname.

I don't use modprobe -l programmatically, I just want to list all the installed loadable modules.


(Log in to post comments)

Gentoo's udev fork

Posted Nov 23, 2012 20:01 UTC (Fri) by nix (subscriber, #2304) [Link]

Speaking as someone who had to write a few hundred lines of code to do the equivalent of modprobe -l using fts() when the deprecation warning came down, it was more than slightly annoying. Yeah, you *can* do it by hand, but isn't the whole point of computers to take that sort of burden away from us?

Gentoo's udev fork

Posted Nov 23, 2012 22:13 UTC (Fri) by Thalience (subscriber, #4217) [Link]

Debian (at least) ships /sbin/modprobe as part of the kmod package. If your distribution does not have the (tiny) compatibility wrapper, you should probably open a bug.

Gentoo's udev fork

Posted Nov 23, 2012 23:54 UTC (Fri) by ABCD (subscriber, #53650) [Link]

The modprobe compatibility wrapper provided by kmod itself does not support the -l option, unlike modprobe from module-init-tools.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds