2007-10-02 18:31:28 +00:00
|
|
|
Sent to linux-ext4 list on 25 Sep 2007.
|
|
|
|
|
|
|
|
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
|
2007-10-15 17:52:22 +00:00
|
|
|
@@ -898,6 +898,8 @@ static struct blkid_magic type_array[] =
|
2007-10-02 18:31:28 +00:00
|
|
|
{ "ocfs2", 4, 0, 6, "OCFSV2", probe_ocfs2 },
|
|
|
|
{ "ocfs2", 8, 0, 6, "OCFSV2", probe_ocfs2 },
|
|
|
|
{ "crypt_LUKS", 0, 0, 6, "LUKS\xba\xbe", probe_luks },
|
2007-10-15 17:52:22 +00:00
|
|
|
+ { "squashfs", 0, 0, 4, "sqsh", 0 },
|
2007-10-02 18:31:28 +00:00
|
|
|
+ { "squashfs", 0, 0, 4, "hsqs", 0 },
|
|
|
|
{ NULL, 0, 0, 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|