vfs, module loading and string table
Posted: Thu Jun 29, 2006 3:12 am
At the moment I design my vfs layer for module and program loading and now there are some problems I have 
I need a good way to make a string table of all the labels I export in the kernel (with their addresses). I don?t know how I should organize this table. I?m open to every solution, because I will write this table by hand.
Next thing is the vfs layer. I will use the copy-on-write method for modules and programs. Both will stay in kernelspace, the memory waste is small and I have a good way for file parsing, because the file struc is untouched in kernelspace.
The problem I have with my vfs layer is the size of the filenames. I don?t know if 256 (with "\0") is enough, but as I searched this seems to be the limit of most filesystems!?
If you want you can also present your vfs design and here the same I?m open for every idea!
I need a good way to make a string table of all the labels I export in the kernel (with their addresses). I don?t know how I should organize this table. I?m open to every solution, because I will write this table by hand.
Next thing is the vfs layer. I will use the copy-on-write method for modules and programs. Both will stay in kernelspace, the memory waste is small and I have a good way for file parsing, because the file struc is untouched in kernelspace.
The problem I have with my vfs layer is the size of the filenames. I don?t know if 256 (with "\0") is enough, but as I searched this seems to be the limit of most filesystems!?
If you want you can also present your vfs design and here the same I?m open for every idea!