From: Keith Owens <kaos@ocs.com.au>
To: Mark Atwood <mra@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how to get version string and other metadata out of a not-loaded kernel module file?
Date: Tue, 18 Sep 2001 14:22:27 +1000 [thread overview]
Message-ID: <8813.1000786947@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "17 Sep 2001 13:02:36 MST." <m3ofo9k2lf.fsf_-_@flash.localdomain>
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
prev parent reply other threads:[~2001-09-18 4:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8813.1000786947@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mra@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox