Modeling a filesystem
Modeling a filesystem
I am in early understanding of os design and I am going to attempt to model a filesystem in a high level language, to simulate file operations. I am looking for good explanations of how something like that works. No particular filesystem, just a simple unix type fs for example. So some simple model references could help, and any simplified explanations about the fs that is available. For example, journaling might be too much to consider to start with, so ext2 would be better than ext3. If you have links, please post. Also, if there are any simulation projects out there anyone could mention, please post a link also. The point about that is that I don't have a specific goal on how I would organize this yet, so if you have done this before, great.
Re: Modeling a filesystem
I got some documents on ext2 over at:
http://bos.asmhackers.net/docs/filesystems/ext2/docs/
http://bos.asmhackers.net/docs/filesystems/ext2/docs/
Re: Modeling a filesystem
Try the ext2 specification (HTML), Practicle File System Design with the Be File System (PDF) and Design and Implementation of the ext2 file system (HTML).cmuppet wrote:I am in early understanding of os design and I am going to attempt to model a filesystem in a high level language, to simulate file operations. I am looking for good explanations of how something like that works. No particular filesystem, just a simple unix type fs for example. So some simple model references could help, and any simplified explanations about the fs that is available. For example, journaling might be too much to consider to start with, so ext2 would be better than ext3. If you have links, please post. Also, if there are any simulation projects out there anyone could mention, please post a link also. The point about that is that I don't have a specific goal on how I would organize this yet, so if you have done this before, great.