Re: How to start to develop a filesystem ?

From: Matthew Wilcox (matthew@wil.cx)
Date: Fri Aug 11 2000 - 10:21:31 EST


On Fri, Aug 11, 2000 at 02:40:38PM +0100, Tigran Aivazian wrote:
> Seriously though, the way to go is probably to print out sources of two
> filesystems: ramfs (fs/ramfs/inode.c) and minix (fs/minix/*.c +
> include/linux/minix*.h) and study their interaction with buffer cache and
> page cache and VFS. If you are brave and are not afraid of huge complexity
> of ext2 replace minix -> ext2 above.

I would disagree. ext2 is not large!

ext2: 4873 total
minix: 3065 total

and for those extra lines you get the most commonly used filesystem,
the one least likely to have bugs, and the most likely to do things the
Right Way as far as the VFS and VM are concerned.

-- 
Revolutions do not require corporate support.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:24 EST