fix dump -w does not work on ext4 fielsystems (#658890)
This commit is contained in:
parent
2bde617e02
commit
96112b8136
12
dump-0.4b42-ext4.patch
Normal file
12
dump-0.4b42-ext4.patch
Normal file
@ -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
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user