From: Eric Sandeen <sandeen@redhat.com>
To: Theodore Tso <tytso@mit.edu>
Cc: ext4 development <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH e2fsprogs] libblkid: detect squashfs
Date: Mon, 15 Oct 2007 12:48:44 -0500 [thread overview]
Message-ID: <4713A7FC.3080507@redhat.com> (raw)
In-Reply-To: <20071014141242.GA6724@thunk.org>
Theodore Tso wrote:
> On Tue, Sep 25, 2007 at 12:02:50PM -0500, Eric Sandeen wrote:
>
>> libblkid: recognize squashfs filesystems
>>
>> squashfs has no uuid or labels, so all we need is the magic.
>>
>> Addresses-Red-Hat-Bugzilla: #305151
>>
>> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
>>
>
> Thanks, applied to the maint branch.
>
> - Ted
>
Thanks... and now for the big endian version. :( Sorry about that!
===================
libblkid: recognize squashfs filesystems on BE systems.
squashfs has no uuid or labels, so all we need is the magic
(for big-endian too!)
Addresses-Red-Hat-Bugzilla: #305151
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Index: e2fsprogs-1.40.2/lib/blkid/probe.c
===================================================================
--- e2fsprogs-1.40.2.orig/lib/blkid/probe.c
+++ e2fsprogs-1.40.2/lib/blkid/probe.c
@@ -898,6 +898,7 @@ static struct blkid_magic type_array[] =
{ "ocfs2", 4, 0, 6, "OCFSV2", probe_ocfs2 },
{ "ocfs2", 8, 0, 6, "OCFSV2", probe_ocfs2 },
{ "crypt_LUKS", 0, 0, 6, "LUKS\xba\xbe", probe_luks },
+ { "squashfs", 0, 0, 4, "sqsh", 0 },
{ "squashfs", 0, 0, 4, "hsqs", 0 },
{ NULL, 0, 0, 0, NULL, NULL }
};
next prev parent reply other threads:[~2007-10-15 17:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 17:02 [PATCH e2fsprogs] libblkid: detect squashfs Eric Sandeen
2007-10-14 14:12 ` Theodore Tso
2007-10-15 17:48 ` Eric Sandeen [this message]
2007-10-15 21:01 ` Theodore Tso
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=4713A7FC.3080507@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--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 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.