From: "Alexandre P. Nunes" <alexnunes@escriba.com.br>
To: blesson paul <blessonpaul@msn.com>, linux-kernel@vger.kernel.org
Subject: Re: loading modules
Date: Tue, 19 Feb 2002 15:41:16 -0300 [thread overview]
Message-ID: <3C729C4C.7060903@escriba.com.br> (raw)
In-Reply-To: <F15LuSbh29cM3oryKFR00012514@hotmail.com>
blesson paul wrote:
> Hi all
> I am a newbie to Kernel world. When I looked into the file system
> files, I found that the initialization function ( where the file
> system is registered) is "init_filesystem" where filesystem can be
> coda, vfat etc. As far as know, the initialization function is
> int init_module(void)
> Then how kernel takes different initialization functions. I want to
> know whether my know how is wrong or not
you have something like (function parameters supressed for simplifcation):
/* Kernel calls this in your module */
init_module()
{
do_something();
init_filesystem(...);
return whatever;
}
So the entry point for every kind of module, including filesystem
modules, is init_module(), you don't implement init_filesystem in the
module, you call it to let the kernel know you want to register a
filesystem.
>
> Thanking in advance
> regards
> Blesson Paul
Cheers,
Alex
prev parent reply other threads:[~2002-02-19 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-19 12:44 loading modules blesson paul
2002-02-19 18:41 ` Alexandre P. Nunes [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=3C729C4C.7060903@escriba.com.br \
--to=alexnunes@escriba.com.br \
--cc=blessonpaul@msn.com \
--cc=linux-kernel@vger.kernel.org \
/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