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

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

 



On 9/10/09, Andreas Robinson <andr345@xxxxxxxxx> wrote:
> 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)
> [...]
>
> Ok, it's trivial to cat modules.builtin but an end user might only
> know about lsmod.

Yeah.  I suspect it would be useful for support purposes - making it
easier for people to ask "do you have X kernel driver loaded" or
"which kernel drivers do you have loaded?".

+1: please remove the "builtin" message from modprobe, and add builtin
module support to lsmod.

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