Modeling a filesystem

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
cmuppet
Posts: 1
Joined: Sun Feb 12, 2012 8:34 pm

Modeling a filesystem

Post by cmuppet »

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.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: Modeling a filesystem

Post by bubach »

I got some documents on ext2 over at:
http://bos.asmhackers.net/docs/filesystems/ext2/docs/
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Synon
Member
Member
Posts: 169
Joined: Sun Sep 06, 2009 3:54 am
Location: Brighton, United Kingdom

Re: Modeling a filesystem

Post by Synon »

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.
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).
Post Reply