Re: [PATCH 2/2] modprobe: handle built-in modules

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

 



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' ?

Michal
--
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