* [PATCH e2fsprogs] libblkid: detect squashfs
@ 2007-09-25 17:02 Eric Sandeen
2007-10-14 14:12 ` Theodore Tso
0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2007-09-25 17:02 UTC (permalink / raw)
To: ext4 development
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>
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, "hsqs", 0 },
{ NULL, 0, 0, 0, NULL, NULL }
};
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH e2fsprogs] libblkid: detect squashfs
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
0 siblings, 1 reply; 4+ messages in thread
From: Theodore Tso @ 2007-10-14 14:12 UTC (permalink / raw)
To: Eric Sandeen; +Cc: ext4 development
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH e2fsprogs] libblkid: detect squashfs
2007-10-14 14:12 ` Theodore Tso
@ 2007-10-15 17:48 ` Eric Sandeen
2007-10-15 21:01 ` Theodore Tso
0 siblings, 1 reply; 4+ messages in thread
From: Eric Sandeen @ 2007-10-15 17:48 UTC (permalink / raw)
To: Theodore Tso; +Cc: ext4 development
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 }
};
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH e2fsprogs] libblkid: detect squashfs
2007-10-15 17:48 ` Eric Sandeen
@ 2007-10-15 21:01 ` Theodore Tso
0 siblings, 0 replies; 4+ messages in thread
From: Theodore Tso @ 2007-10-15 21:01 UTC (permalink / raw)
To: Eric Sandeen; +Cc: ext4 development
On Mon, Oct 15, 2007 at 12:48:44PM -0500, Eric Sandeen wrote:
> Thanks... and now for the big endian version. :( Sorry about that!
Thanks, applied into the maint branch.
- Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-15 21:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-10-15 21:01 ` Theodore Tso
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).