Re: Which fs is a good example for learning ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 5, 2009 at 10:59 PM, Matthew Wilcox <matthew@xxxxxx> wrote:
>
> On Mon, Jan 05, 2009 at 09:40:50PM +0100, Francis Moreau wrote:
> > I'd like to learn how file systems work on Linux and I don't know
> > which file system driver I should look at to get a good picture of
> > how a contemporary file system is designed.
> >
> > The choice has to be made according some criterias: the fs shouldn't
> > be too hard since I'm pretty new in this area. Also not too
> > old/obsolete since I'd like to learn from current technology.
>
> You're giving some contradictory criteria.  ext2 is probably the best
> example to learn the basics, then you can move on to whichever
> filesystem catches your fancy.

This is all a matter of opinion obviously, but I would personally
start with ramfs - it's only a couple hundred lines of code, and is
very simple since everything resides only in memory.  This is useful
for looking at the API and code flow.  Then you can go to a disk-based
file system like ext2 which is a bit more complex but closer to what
you're probably looking for.

Avishay
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux