I'm trying to make and insmod a modified version of the ext3
filesystem but seem to be running into trouble at every turn in trying
to actually compile it and load it. Here are some (probably naive)
things I have tried:
I copied the /usr/src/linux-2.4/fs/ext3 directory to my own directory
and then thought I'd be optimistic and run make SUBDIRS=fs/my_ext3 and
it compiled but I got an error stating that the kernel version that it
was compiled for could not be found...which i believe means that i
didn't compile it as a module.
Then, as sort of a hack, I thought I'd try just building the ext3 in
place and then renaming it to something that I wanted to use. So cp
ext.o my_ext.o but then I got the following error:
[root@valdez my_ext3]# insmod my_ext3.o
my_ext3.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
I'm not really sure why I would get this...is there a reason why I
can't have two copies of the same ext3 module running? Is there
something unique to this filesystem module that would prevent it?
I'd really appreciate any help you can provide me or if anyone could
point me in a good direction to pursue.