2002-03-06 16:12:33

by israel fdez

[permalink] [raw]
Subject: Question??

Hi all, how can I get the full path of a module that is intended to be
insmod'ed into the kernel


2002-03-06 16:54:32

by israel fdez

[permalink] [raw]
Subject: Re: Question??

Ok, I agree, but I guess my question was not the correct one :-[ . I
need to know the full path to a module is going to be loaded from the
sys_create_module system call, for example.

reg@rds
Israel

Giacomo Catenazzi wrote:

> israel fdez wrote:
>
>> Hi all, how can I get the full path of a module that is intended to
>> be insmod'ed into the kernel
>
>
>
> insmod /fullpath/module.o
>
> RTFM
>
> giacomo
>
>
>
> .
>


2002-03-06 21:31:06

by Keith Owens

[permalink] [raw]
Subject: Re: Question??

On Wed, 06 Mar 2002 11:08:47 -0500,
israel fdez <[email protected]> wrote:
>Hi all, how can I get the full path of a module that is intended to be
>insmod'ed into the kernel

# insmod -n loop
Using /lib/modules/2.4.17-xfs/kernel/drivers/block/loop.o
# modprobe -l '*loop*'
/lib/modules/2.4.17-xfs/kernel/drivers/block/loop.o