[lkml]   [2001]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: how to get version string and other metadata out of a not-loaded kernel module file?
On 17 Sep 2001 13:02:36 -0700, 
Mark Atwood <> 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=

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.049 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site