linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Francis Moreau <francis.moro@gmail.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Which fs is a good example for learning ?
Date: Tue, 6 Jan 2009 06:36:55 -0700	[thread overview]
Message-ID: <20090106133654.GM2002@parisc-linux.org> (raw)
In-Reply-To: <38b2ab8a0901060046m6d47d8e4n8b968fe01c61b50b@mail.gmail.com>

On Tue, Jan 06, 2009 at 09:46:04AM +0100, Francis Moreau wrote:
> That's what I think too but wasn't sure ext2 is still a good choice since it's
> pretty old and it looks like some younger fs seems to make ext2 obsolete.
> Also, it doesn't have a journal.

This is all true.  It depends what your real goal is here.  If you want
to learn the fundamentals of what a filesystem has to do to get blocks
from disc and turn them into files, ext2 is perfect for your needs
since it _doesn't_ have a journal or btrees or any of that fancy stuff.
You can learn that later once you have the principles down.

If your goal is to learn how an advanced filesystem works, you might want
to consider looking at JFS which has journals, extents, acls, xattrs and
so on.  It's around 4x as big as ext2, but then it's also about 1/3 the
size of XFS (just in terms of wc -l).  It's also been properly ported
to Linux, unlike XFS which is still full of IRIXisms.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

  reply	other threads:[~2009-01-06 13:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05 20:40 Which fs is a good example for learning ? Francis Moreau
2009-01-05 20:59 ` Matthew Wilcox
2009-01-06  6:23   ` Avishay Traeger
2009-01-06  8:46   ` Francis Moreau
2009-01-06 13:36     ` Matthew Wilcox [this message]
2009-01-06 14:30       ` Francis Moreau
     [not found]   ` <c41302d20901052214j56a34b38h3a89f94b540be006@mail.gmail.com>
2009-01-06  8:49     ` Francis Moreau
2009-01-06 11:44       ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090106133654.GM2002@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=francis.moro@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).