Re: Show module version sysfs file for built-in modules?

From: devzero
Date: Wed Jul 29 2009 - 17:48:39 EST


pardon - that was dumb.
must have read over that built-in.

indeed, this is a missing feature.
there are even modules/drivers which donŽt spit any line in dmesg when they are initialized - builtin or not.
there is a LOT of different behaviour in module load/init and i`d welcome if module initialization messages including version information would follow a more standard way. many modules don`t even have a version.

regards
roland


> -----Ursprüngliche Nachricht-----
> Von: "Alan Jenkins" <sourcejedi.lkml@xxxxxxxxxxxxxx>
> Gesendet: 29.07.09 21:10:24
> An: devzero@xxxxxx
> CC: Tomas Carnecky <tom@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
> Betreff: Re: Show module version sysfs file for built-in modules?


> On 7/29/09, devzero@xxxxxx <devzero@xxxxxx> wrote:
> > what about this ?
> >
> > neoware:/sys/module/8139too # cat /sys/module/8139too/version
> > 0.9.28
> >
> > neoware:/sys/module/8139too # modinfo 8139too |grep "^version:"
> > version: 0.9.28
> >
> > the latter should work completely without consulting the kernel for that
> > information.
> >
> > regards
> > roland
> >
> >>List: linux-kernel
> >>Subject: Show module version sysfs file for built-in modules?
>
> modinfo clearly won't work for *built in* drivers. Apparently
> /sys/module/$MODULE/version doesn't work for built in modules either.
> Hence this proposal.
>
> Alan
>


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/