From: "Francis Moreau" <francis.moro@gmail.com>
To: "Matthew Wilcox" <matthew@wil.cx>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Which fs is a good example for learning ?
Date: Tue, 6 Jan 2009 15:30:33 +0100 [thread overview]
Message-ID: <38b2ab8a0901060630s3798ff3cvda0849e868c51e8d@mail.gmail.com> (raw)
In-Reply-To: <20090106133654.GM2002@parisc-linux.org>
On Tue, Jan 6, 2009 at 2:36 PM, Matthew Wilcox <matthew@wil.cx> wrote:
> 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 most of the fs use the same techniques as ext2 to get blocks from disk
then indeed ext2 is still a good candidate.
> 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.
OK. I'll look at JFS if I'm still motivated after looking at ext2.
Thanks for the tips.
--
Francis
next prev parent reply other threads:[~2009-01-06 14:30 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
2009-01-06 14:30 ` Francis Moreau [this message]
[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=38b2ab8a0901060630s3798ff3cvda0849e868c51e8d@mail.gmail.com \
--to=francis.moro@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=matthew@wil.cx \
/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).