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

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Add to Google Powered by Linux