public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phil Lougher <phil.lougher@gmail.com>
To: "Theodore Ts'o" <tytso@mit.edu>,
	"Bhattiprolu, Ravikumar (Ravikumar)" <ravikb@agere.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Magic Number for New File system
Date: Sat, 18 Dec 2004 19:53:25 +0000	[thread overview]
Message-ID: <cce9e37e041218115321c300b9@mail.gmail.com> (raw)
In-Reply-To: <20041218023929.GB19699@thunk.org>

On Fri, 17 Dec 2004 21:39:29 -0500, Theodore Ts'o <tytso@mit.edu> wrote:
> There's no standard place to put a magic number, let alone a standard
> way to generate a magic number.... 
> 
> The blkid library, contained in the e2fsprogs distribution, contains a
> list of magic number and their locations used by various different
> filesystems, if you'd like to take a look at that for some more
> information.

The disktype program (http://disktype.sourceforge.net)  can be used to
decode the content type of a disk/filesystem image.  It recognises a
large amount of filesystems and partition types etc.  From a quick
glance, the documentation describes the concepts behind magic numbers
and superblock formats, and gives an overview of the filesystem
formats recognised.  If you're new to this, this is probably a
reasonable place to start.

Phillip

      reply	other threads:[~2004-12-18 19:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-17  6:12 Magic Number for New File system Bhattiprolu, Ravikumar (Ravikumar)
2004-12-17  8:51 ` Mike Waychison
2004-12-18  2:39 ` Theodore Ts'o
2004-12-18 19:53   ` Phil Lougher [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=cce9e37e041218115321c300b9@mail.gmail.com \
    --to=phil.lougher@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ravikb@agere.com \
    --cc=tytso@mit.edu \
    /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