PDA

View Full Version : help needed: adding a new filesystem module



shabie
10-10-2004, 10:04 PM
I'm a student and new to knoppix.
My project is to add a new filesystem based on ext2 to the kernel as a module.
In the file namei.c of the ext2 filesystem I inserted the open_namei system call.
the compilation went OK, but when I tried to run insmod, the following error appeared:

extv.o: extv.o: unresolved symbol open_namei

I understand that I need to add EXPORT_SYMBOL(open_namei); somewhere, but where??? :?

I'm using the Knoppix CD, so I can't change the /usr/src/fs/namei.c (because it's not there, and because the /usr/src is on read-only filesystem...

Thanks in advance,
Shabi

ying-yang7
10-13-2004, 12:14 PM
after adding a module, I think you must do (as root)


ldconfig
updatedb
depmod -a


Good Luck