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
initrd fs implementation?
initrd fs implementation?
You are a computer.
~ MCS ~
~ MCS ~
- gravaera
- Member
- Posts: 737
- Joined: Tue Jun 02, 2009 4:35 pm
- Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Re: initrd fs implementation?
'Sup:
http://wiki.osdev.org/Hierarchical_VFS_Theory
There you go That should help with your VFS design questions. For the initrd thing, it should be simple enough with some thought.
--All the best,
gravaera
http://wiki.osdev.org/Hierarchical_VFS_Theory
There you go That should help with your VFS design questions. For the initrd thing, it should be simple enough with some thought.
--All the best,
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.