Page 1 of 1
Modeling a filesystem
Posted: Sun Feb 12, 2012 8:45 pm
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.
Re: Modeling a filesystem
Posted: Mon Feb 13, 2012 3:04 am
by bubach
Re: Modeling a filesystem
Posted: Sat Mar 03, 2012 11:11 pm
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).