* loading modules
@ 2002-02-19 12:44 blesson paul
2002-02-19 18:41 ` Alexandre P. Nunes
0 siblings, 1 reply; 2+ messages in thread
From: blesson paul @ 2002-02-19 12:44 UTC (permalink / raw)
To: linux-kernel
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
Thanking in advance
regards
Blesson Paul
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: loading modules
2002-02-19 12:44 loading modules blesson paul
@ 2002-02-19 18:41 ` Alexandre P. Nunes
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre P. Nunes @ 2002-02-19 18:41 UTC (permalink / raw)
To: blesson paul, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-19 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-19 12:44 loading modules blesson paul
2002-02-19 18:41 ` Alexandre P. Nunes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox