linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to get version string and other metadata out of a not-loaded kernel module file?
@ 2001-09-17 20:02 Mark Atwood
  2001-09-18  4:22 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Atwood @ 2001-09-17 20:02 UTC (permalink / raw)
  To: linux-kernel


Is there an (easy) way to query the "metadata", such as the version
strings and such, of a kernel module file, without loading it first?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to get version string and other metadata out of a not-loaded kernel module file?
  2001-09-17 20:02 how to get version string and other metadata out of a not-loaded kernel module file? Mark Atwood
@ 2001-09-18  4:22 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2001-09-18  4:22 UTC (permalink / raw)
  To: Mark Atwood; +Cc: linux-kernel

On 17 Sep 2001 13:02:36 -0700, 
Mark Atwood <mra@pobox.com> wrote:
>Is there an (easy) way to query the "metadata", such as the version
>strings and such, of a kernel module file, without loading it first?

With modutils >= 2.4.5.

# modinfo loop
filename:    /lib/modules/2.4.10-pre8-xfs/kernel/drivers/block/loop.o
description: <none>
author:      <none>
parm:        max_loop int, description "Maximum number of loop devices (1-255)"

# strings -a /lib/modules/2.4.10-pre8-xfs/kernel/drivers/block/loop.o | grep kernel_version=
kernel_version=2.4.10-pre8-xfs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-18  4:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-17 20:02 how to get version string and other metadata out of a not-loaded kernel module file? Mark Atwood
2001-09-18  4:22 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).