tags:

views:

413

answers:

2
+2  Q: 

simple Filesystem

Hi

I wanna implement a very, very simple Filesystem. I just came across the following ressource and I am wondering if maybe someone tried to do the same and could point me out where it is best to start for me.

Many thanks

http://www.geocities.com/ravikiran_uvs/articles/rkfs.html

+1  A: 

Try and look at some of the first, non-journaling filesystems on Minix or Linux. You should be able to find something to look at by browsing their legacy code.

Also pick up a book like Modern Operating Systems by Tanenbaum. This contains some low-level theory. If you want to write the driver for Linux then there is a free book on writing drivers/fs modules for Linux

Good Luck

Aiden Bell
When I checked the last time, "Linux Device Drivers" had no chapter on filesystems. However, for all other concerns about Kernel development the book is really good.
dmeister
A: 

You could look at FUSE - Filesystem in Userspace. It is a system that makes filesystem development much easier than normal filesystem development inside the Kernel. For example the hellofs is a small, extremely limited filesystem in less than 100 lines of C code.

I designed a small series of homeworks for students to development an really simple filesystem using FUSE. Unfortunatelly, the resources for the course are currently only available in German. The filesystem used is based on the book "UNIX Filesystems" by Steve Pate - A pretty good resource on filesystem development.

dmeister