Re: modprobe missing -l option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/03/13 17:42, Lucas De Marchi wrote:
Hi Marian,

On Tue, Feb 26, 2013 at 3:28 PM, Marian Marinov <mm@xxxxxx> wrote:
I have already patched my kmod with the -l option, would you be willing to
add this option to kmod?

If so, I can polish the patch and send a pull request for it.
The problem with the previous implementation is that it's not really
listing the available modules. It's listing the modules known in the
index. It's kind of misleading. As stated in module-init-tools' man
page, it'd be better to use 'find' in the modules dir.
Why is it misleading if "modprobe --list" only shows results from the index? That's consistent with the normal operation of modprobe.

However since you are not the first person asking for it, I think
there's some demand for this functionality. So, I'm thinking about
having it with another name just to avoid confusion.
I doubt the objection was to the name... I think it was just seen as superfluous, not worth the effort of maintaining.

The libkmod API expands slightly on the old implementation, so it could be more natural to have --list now. (And maybe easier to implement?)

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux