All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: Anders Lind <anderslindgaard@yahoo.com>
Cc: ext4 development <linux-ext4@vger.kernel.org>
Subject: Re: e2fsprogs tutorial or examples
Date: Tue, 29 Jan 2013 16:29:51 -0500	[thread overview]
Message-ID: <20130129212951.GA17244@thunk.org> (raw)
In-Reply-To: <1359484603.41909.YahooMailNeo@web164603.mail.gq1.yahoo.com>

On Tue, Jan 29, 2013 at 10:36:43AM -0800, Anders Lind wrote:
> Sorry to bother you genius and hard working developers.
> Is there any good examples or detailed tutorial about e2fsprogs? I know "man" is always the best friend. But I would like to see more real examples. Since I realized these set of utilities are so powerful that I cannot use it well by just browsing the manual.

There are two levels of using e2fsprogs.  The first is the basic
system administrator's use of mke2fs to format a new file system,
lsattr and chattr to manipulate file attributes.  For those, the man
pages should be plenty, and there are a lot of books and tutorials
about basic Linux/Unix system administration.

If you are trying to do very low-level detailed manipulation of the
file system using debugfs, or you are trying to repair a very badly
corrupted file system, it requires some very detailed understanding of
the file system.  For that, there are technical papers which describe
the details of the ext[234] file system family.  See:

https://ext4.wiki.kernel.org/index.php/Publications

There is also some books which describe low level file systems
details.  One example is File System Forensics Analysis, which doesn't
cover ext4 (since it's too old) and has a very specific bias in terms
of how to apply this technical knowledge:

http://books.google.com/books?isbn=0321268172

I give a tutorial with Lisa entitled called "How To Recover from Hard
Drive Disasters" which talks about basic file system technologies (as
well as partitions, etc.) from a very different approach.  So a lot
depends on what you are trying to do.

I hope this helps,

				- Ted

      reply	other threads:[~2013-01-29 21:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29 18:36 e2fsprogs tutorial or examples Anders Lind
2013-01-29 21:29 ` Theodore Ts'o [this message]

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=20130129212951.GA17244@thunk.org \
    --to=tytso@mit.edu \
    --cc=anderslindgaard@yahoo.com \
    --cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.