Hello,

Maybe it is more accurate to term the problem "not so common"
instead of "theoretical".

Second, you suggested "Look at /proc/filesystems. Do this right after boot ..".

Well , this as you said, shows "filesystems supported at the
moment, regardless of whether they are builtin or loaded as modules..."

But my aim , as I said in my question , was to know exactly
whether ext3 is a builtin or loaded a modules.

Thnks,
Dan

From: Yedidyah Bar-David <[EMAIL PROTECTED]>
To: Dan Kaspi <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: ext3 in the kernel image or as a module
Date: Mon, 29 Nov 2004 21:12:35 +0200

On Mon, Nov 29, 2004 at 06:26:33PM +0200, Dan Kaspi wrote:
> Hello,
>
> This is a question which may be less practical and more theoretical,

I think it's very practical.

> ,but it interests me though:
>
> I have a bzImage. It was built with 2.6.* kernel. I do not know the
> configuarion
> ( More rpecisely :I'm not sure I have the .config file it was built with ).


2.6 added the option to include this file in the kernel itself, as
/proc/config.gz. You might look there.

> I want to know if the ext3 was build into this kernel image or as a module.
>
> (It seems to me that looking under /lib/modules/version/fs/ext3 does not
> indicate it truly ; an ext3.ko could be put there afterwards)


Could be, but not very likely.

>
> While the practical solution can be "configure it as a module or
> as part of the image and the build it", it interests me if I can explore
> this info from the bzImage ; when this image is loaded at boot time ,
> then cat /proc/kallsyms | grep ext3 gives nothing.

Look at /proc/filesystems. Do this right after boot - your initrd might
load it as a module. It contains the filesystems supported at the
moment, regardless of whether they are builtin or loaded as modules.
--
Didi


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to