yes, it would be called during system boot, but again it depends on
the presumption that you are using ext3 as one of the filesystem which
gets mounted by default during boot (ie... it is either your default
or has entry in /etc/fstab). Otherwise if you want to trace you can
use UML to do that.
1)
Hi,
On Jan 24, 2008 9:06 PM, Onkar <[EMAIL PROTECTED]> wrote:
> In one of the driver i saw this :
>
> static int __init hamachi_init (void){
> /* when a module, this is printed whether or not devices are found in probe
> */
> #ifdef MODULE
> printk(version);
> #endif
> return pci_
In one of the driver i saw this :
*static int __init hamachi_init (void){
/* when a module, this is printed whether or not devices are found in probe
*/
#ifdef MODULE
printk(version);
#endif
return pci_register_driver(&hamachi_driver);
}*
IMHO in any case the register function f
It is called when we insert the FS module. But as you have compiled ext3
module along with kernel then I think register function gets called during
boot process.
On 1/24/08, Onkar <[EMAIL PROTECTED]> wrote:
>
> I compiled the kernel with CONFIG_EXT3_FS=y ; having done that now , do
> these func
from inside init_ext3_fs() function of
linux/fs/ext3/super.c file
register_filesystem(&ext3_fs_type) gets called.
please use available tools like cscope, ctag to browse kernel code.*
*
Regards,
mahaveer
On Jan 24, 2008 6:21 PM, Onkar <[EMAIL PROTECTED]> wrote:
> I compiled the kernel with CON
I compiled the kernel with CONFIG_EXT3_FS=y ; having done that now , do
these functions get called :
*module_init(init_ext3_fs)
module_exit(exit_ext3_fs)*
??
or how does the file system register itself ???
i.e., from where does* register_filesystem(&ext3_fs_type) *
get called
Please giv