|
|
Log in / Subscribe / Register

The eudev project launches

The eudev project launches

Posted Dec 17, 2012 9:46 UTC (Mon) by gfa (guest, #53331)
In reply to: The eudev project launches by demarchi
Parent article: The eudev project launches

i remember that feature being deprecated (but worked) on module-init-tools

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

thanks


to post comments

The eudev project launches

Posted Dec 18, 2012 7:38 UTC (Tue) by jamesh (guest, #1159) [Link] (1 responses)

You could read the man page, which states "This option is provided for backwards compatibility and may go away in future: see find(1) and basename(1) for a more flexible alternative".

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 (guest, #24648) [Link]

For those who need a non-deprecated version: the shell command

find /lib/modules/$(uname -r) -name "*.ko" -printf "%P\n"
gives the same result as
modprobe -l
albeit in a different sort order (at least on my laptop). I'm unsure where basename(1) fits into all this.


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