On Thu, Sep 10, 2009 at 14:11, Michal Marek <mmarek@xxxxxxx> wrote: > Andreas Robinson napsal(a): >> On Thu, Sep 10, 2009 at 12:55 PM, Alan Jenkins >> <sourcejedi.lkml@xxxxxxxxxxxxxx> wrote: >>> If the above issues are fixed, builtin modules should end up being >>> treated as close as possible to loadable modules, and I will be very >>> happy :-). >>> >>> I thought the "builtin" message was inconsistent at first, because >>> "modprobe -v $module" is currently silent if $module is already >>> loaded. But I see it is useful because "lsmod" won't work for builtin >>> modules. >> >> Perhaps we could extend lsmod to list the builtins, adding a (builtin) >> qualifier to the Used By column, >> eg: >> >> Module Size Used by >> [...] >> usbcore - (builtin) >> [...] > > My current /lib/modules/`uname -r`/modules.builtin is 129 lines, I'm not > sure I want to see additional 129 lines each time I run lsmod. What > about some 'lsmod --show-builtin' ? Oh well, before we moved all to built-in in the kernel the list was that long as well. I think "grep is your friend" and we should not care and just print it. The less difference between built-in and module the better. Kay -- 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