Need links to open source File System code for ideas

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
arunsk
Posts: 5
Joined: Fri May 27, 2011 5:50 pm

Need links to open source File System code for ideas

Post by arunsk »

Hi,

I am actually learning some OS theory and taking a detour to learn the inner workings of File System manager.
I have read the theory part of the FS manager and interested in implementing my own naive FS for understanding the problem involved in
the implementation and also just to see if I can do it.
So, can you please suggest some links to "good" open source File System manager source code so that I can take a look for ideas when I get stuck ?
Also, please tell me about any other "good" research material on this File system topic that I should read (apart from the osdev wiki).

Thanks!
OSwhatever
Member
Member
Posts: 595
Joined: Mon Jul 05, 2010 4:15 pm

Re: Need links to open source File System code for ideas

Post by OSwhatever »

The Linux source code have several file systems if you want have a look at it.

ext3, 4 etc is available there.
Btrfs is available there and also as own distribution separate from the Linux source.
ZFS is availble as an open source FUSE port.

Google it and you can't miss it.
arunsk
Posts: 5
Joined: Fri May 27, 2011 5:50 pm

Re: Need links to open source File System code for ideas

Post by arunsk »

Thnx, this will keep me occupied for some time :)
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Need links to open source File System code for ideas

Post by gravaera »

'Sup:

There's a pretty good explanation of hierarchical VFS theory on the wiki, so begin there. The concepts should be explained well enough for you to tackle more advanced theory elsewhere :)

http://wiki.osdev.org/Hierarchical_VFS_Theory
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
User avatar
Thomas
Member
Member
Posts: 281
Joined: Thu Jun 04, 2009 11:12 pm

Re: Need links to open source File System code for ideas

Post by Thomas »

Hello Arun ,

If you would like to study an enterprise ready file system, take a look at this : http://advfs.sourceforge.net/

--Thomas
arunsk
Posts: 5
Joined: Fri May 27, 2011 5:50 pm

Re: Need links to open source File System code for ideas

Post by arunsk »

Thomas wrote:Hello Arun ,

If you would like to study an enterprise ready file system, take a look at this : http://advfs.sourceforge.net/

--Thomas
I am currently studying the LFS implementation from the Sprite OS but will take a look at advfs too, thanks for that.
I read the theory for LFS in the below link and since I find it conceptually simple I started to look at its implementation.
http://www.eecs.berkeley.edu/Pubs/TechR ... 92-696.pdf

---Arun
Post Reply