[dump/f14] fix dump -w does not work on ext4 fielsystems (#658890)
Adam Tkac
atkac at fedoraproject.org
Wed Aug 3 14:36:01 UTC 2011
commit 23aa6d53603b0e13e8dd137bb115f7fbd107f347
Author: Jan Görig <jgorig at redhat.com>
Date: Thu Dec 2 16:11:59 2010 +0100
fix dump -w does not work on ext4 fielsystems (#658890)
dump-0.4b42-ext4.patch | 12 ++++++++++++
dump.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/dump-0.4b42-ext4.patch b/dump-0.4b42-ext4.patch
new file mode 100644
index 0000000..dceb2a2
--- /dev/null
+++ b/dump-0.4b42-ext4.patch
@@ -0,0 +1,12 @@
+diff -up dump-0.4b42/dump/optr.c.ext4 dump-0.4b42/dump/optr.c
+--- dump-0.4b42/dump/optr.c.ext4 2006-03-14 12:09:51.000000000 +0100
++++ dump-0.4b42/dump/optr.c 2010-12-02 15:52:09.752382850 +0100
+@@ -78,7 +78,7 @@ int datesort __P((const void *, const vo
+ static void sendmes __P((const char *, const char *));
+
+ /* List of filesystem types that we can dump (same ext2 on-disk format) */
+-static char *fstypes[] = { "ext2", "ext3", "InterMezzo", NULL };
++static char *fstypes[] = { "ext2", "ext3", "ext4", "InterMezzo", NULL };
+
+ /*
+ * Query the operator; This previously-fascist piece of code
diff --git a/dump.spec b/dump.spec
index 17bd214..5c198dc 100644
--- a/dump.spec
+++ b/dump.spec
@@ -7,7 +7,7 @@ Summary: Programs for backing up and restoring ext2/ext3 filesystems
Name: dump
Epoch: 1
Version: 0.4
-Release: 0.8.%{PREVER}%{?dist}
+Release: 0.9.%{PREVER}%{?dist}
License: BSD
Group: Applications/Archiving
URL: http://dump.sourceforge.net/
@@ -24,6 +24,7 @@ Obsoletes: dump-static
Provides: dump-static
Patch0: dump-rh507948.patch
+Patch1: dump-0.4b42-ext4.patch
%description
The dump package contains both dump and restore. Dump examines files
@@ -50,6 +51,7 @@ restoring files from a backup), and tar (an archiving program).
%setup -q -n dump-%{VERSION}
%patch0 -p1 -b .rh507948
+%patch1 -p1 -b .ext4
for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
iconv -f iso-8859-1 -t utf-8 $i -o $i.new
@@ -125,6 +127,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/rmt.8*
%changelog
+* Thu Dec 2 2010 Jan Görig <jgorig redhat com> 0.4-0.9.b42
+- fix dump -w does not work on ext4 fielsystems (#658890)
+
* Mon Jul 12 2010 Adam Tkac <atkac redhat com> 0.4-0.8.b43
- move COPYRIGHT to the rmt package
More information about the scm-commits
mailing list