initrd fs implementation?
Posted: Fri Jan 14, 2011 8:01 pm
Im changing the way the Casnix OS 'is', by creating a unix system.
Currently, Casnix OS/II is the latest release, is written in assembly, and has no uefi support, no directory support, and runs on fat12.
Casnix OS 3 will be a unix system, and more modern (except with a tui).
I've come across a problem:
I've finished the heap, and now I need to implement an initrd with directories. I've implemented a VFS without support for directories, but I honestly have no idea how to implement with directories. I've taken a look at the code for some different linux kernels, but couldn't find (an open, easy) implementation of the vfs in the really early versions, and am weary of shifting through a current kernel, due to complexity. Any ideas or tutorials?
I suppose I could use SFS, and (sarcasm) would really enjoy writing an SFS formatter...(kidding in case you didnt catch that). SFS might be the disk (not initrd) image fs i will use, but not for init ram
Currently, Casnix OS/II is the latest release, is written in assembly, and has no uefi support, no directory support, and runs on fat12.
Casnix OS 3 will be a unix system, and more modern (except with a tui).
I've come across a problem:
I've finished the heap, and now I need to implement an initrd with directories. I've implemented a VFS without support for directories, but I honestly have no idea how to implement with directories. I've taken a look at the code for some different linux kernels, but couldn't find (an open, easy) implementation of the vfs in the really early versions, and am weary of shifting through a current kernel, due to complexity. Any ideas or tutorials?
I suppose I could use SFS, and (sarcasm) would really enjoy writing an SFS formatter...(kidding in case you didnt catch that). SFS might be the disk (not initrd) image fs i will use, but not for init ram