Quote:
Originally Posted by yashgovin19
1.How to insert myfs module and where? When I do modprobe myfs (.ko file) it says module not found. When I simply do insmod myfs.ko it works but I am not sure where is it putting the .ko file.
|
You need to put it in the standard /lib/modules/... path so that modprobe can find it:
http://stackoverflow.com/questions/2...find-my-module
Insmod doesn't "put" the .ko file anywhere. It inserts it directly into the running kernel.
Quote:
Originally Posted by yashgovin19
Also, I don't see any ext2/ext3/ext4 directories in /lib/modules/linuxversion/kernel/fs/ -- not sure if this is right or wrong.
|
Modules can either be loadable on the fly, or built directly into the kernel. The other ext filesystem modules are likely compiled directly into the kernel, they're not loadable modules like yours is.