rpms/e2fsprogs/devel e2fsprogs-1.40.2-blkid-squashfs.patch, NONE, 1.1 e2fsprogs.spec, 1.81, 1.82

Eric Sandeen (sandeen) fedora-extras-commits at redhat.com
Tue Oct 2 18:32:00 UTC 2007


Author: sandeen

Update of /cvs/pkgs/rpms/e2fsprogs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7854

Modified Files:
	e2fsprogs.spec 
Added Files:
	e2fsprogs-1.40.2-blkid-squashfs.patch 
Log Message:
* Tue Oct 02 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-8
- Detect squashfs filesystems in libblkid (#305151)


e2fsprogs-1.40.2-blkid-squashfs.patch:

--- NEW FILE e2fsprogs-1.40.2-blkid-squashfs.patch ---
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 at 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 }
 };
 




Index: e2fsprogs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/e2fsprogs/devel/e2fsprogs.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- e2fsprogs.spec	18 Sep 2007 17:47:14 -0000	1.81
+++ e2fsprogs.spec	2 Oct 2007 18:31:28 -0000	1.82
@@ -4,7 +4,7 @@
 Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems
 Name: e2fsprogs
 Version: 1.40.2
-Release: 7%{?dist}
+Release: 8%{?dist}
 # License based on upstream-modified COPYING file,
 # which clearly states "V2" intent.
 License: GPLv2
@@ -23,6 +23,7 @@
 Patch65: e2fsprogs-1.40.2-fix-open-create-modes.patch
 Patch66: e2fsprogs-1.40.2-protect-open-ops.patch
 Patch67: e2fsprogs-1.40.2-blkid-FAT-magic-not-on-strict-position.patch
+Patch68: e2fsprogs-1.40.2-blkid-squashfs.patch
 
 Url: http://e2fsprogs.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -103,6 +104,8 @@
 %patch66 -p1 -b .open
 # fix fat probe when there is a real MBR
 %patch67 -p1 -b .blkid-fat
+# detect squashfs in libblkid (#305151)
+%patch68 -p1 -b .blkid-squashfs
 
 %build
 aclocal
@@ -264,6 +267,9 @@
 %{_mandir}/man3/uuid_unparse.3*
 
 %changelog
+* Tue Oct 02 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-8
+- Detect squashfs filesystems in libblkid (#305151)
+
 * Tue Sep 18 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-7
 - Fix blkid fat probe when there is a real MBR (#290951)
 




More information about the fedora-extras-commits mailing list