]> git.wh0rd.org - dump.git/blame - CHANGES
Remove the requirement to build the RPM as root from the spec file.
[dump.git] / CHANGES
CommitLineData
6dda05e4 1$Id: CHANGES,v 1.32 2000/01/09 23:40:10 tiniou Exp $
ae58c8da 2
2f9a0c5c
SP
3Changes between versions 0.4b12 and 0.4b13 (released ???????????????)
4=====================================================================
5
61. Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
7 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug.
8
6dda05e4
SP
92. Removed the requirement to build the RPM as root from the
10 spec file. Thanks to Christian Weisgerber
11 <naddy@mips.rhein-neckar.de> for submitting this.
12
2f9a0c5c 13Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
df172bbb 14=====================================================================
ae58c8da
SP
15
161. Small fix in the dump man page. Thanks to Thorsten Kukuk
17 <kukuk@suse.de> for submitting the patch.
2ed89fda 18
a29c23cc
SP
192. Fix for the exit code when using the size estimate option of
20 dump. Thanks to Matti Taskinen <mkt@rni.helsinki.fi> for
21 submitting the patch.
22
2e682895
SP
233. Handle EINTR in atomical reads/writes in dump, which was causing
24 dump to fail on some systems. Thanks to Eric Jergensen
25 <eric@dvns.com> for reporting the bug and submitting the patch.
26
274. Handle more than 16 characters for the device names in dumpdates.
28 (up to 255 now). Thanks to Rainer Clasen <bj@ncc.cicely.de> for
29 tracking down the problem and proposing the solution.
30
315. Fixed a bug in dump which prevented the creation of the
32 dumpdates file when doing a 0-level dump without already
33 having a dumpdates file. Thanks to Patrik Schindler
34 <poc@pocnet.net> for reporting the bug.
35
366. Changed the way dump 'S' flag reports the size estimate
37 from number of blocks into bytes (making it compatible
38 with the Solaris version, and simplifying things for
39 amanda users). Thanks to Jason L Tibbitts III
40 <tibbs@math.uh.edu> for reporting the bug.
41
0d0bc326
SP
427. Fixed a compatibility problem in linux/alpha dump tape format.
43 Now the linux/alpha dump are (again) compatible with the
44 other dump formats. But this breaks compatibility with
45 older dumps made on alpha. Thanks to Mike Tibor
46 <tibor@lib.uaa.alaska.edu> for helping me in finding this bug.
47
cf9aab8e 48Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999)
2ed89fda
SP
49======================================================================
50
511. Added a '--enable-kerberos' to configure.
5c1faba5 52
144a6db1 532. Added a 'S' option to dump which determines the amount of space
5c729713 54 that is needed to perform the dump without actually doing it, similar
144a6db1
SP
55 to the Sun's ufsdump 'S' option. Patch contributed by Rob Cermak
56 <cermak@ahab.rutgers.edu>.
57
677ee424
SP
583. Added a 'M' multi-volume option to dump and restore which enables
59 dumping to multiple files (useful when dumping to an ext2
60 partition to make several dump files in order to bypass the 2GB
61 file size limitation). The 'f' argument is treated as a prefix and
62 the output files will be named <prefix>001, <prefix>002 etc. With
63 the 'M' flag, restore automatically selects the right file without
64 asking to enter a new tape each time.
65
7fbb9b02 664. Fixed a memory leak which was causing dump to grow very big
a29c23cc
SP
67 (270MB when dumping a 10GB filesystem...). Thanks to Jason
68 Fearon <jasonf@netrider.org.au> for reporting the bug.
7fbb9b02 69
27026010
SP
70Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
71======================================================================
5c1faba5
SP
72
731. Make configure test if the system glob routines support
74 extended syntax (ALTDIRFUNC). If not, use the internal glob
a95c4c36
SP
75 routines instead of system ones. Thanks to Bernhard Sadlowski
76 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug
77 and helping me resolve this and other minor libc5 compiling
78 glitches.
08ebf8d7 79
c5886bd7
SP
802. Fix a problem when dumping a ext2fs with the 'filetype'
81 feature enabled. Thanks to Patrick J. LoPresti
82 <patl@cag.lcs.mit.edu> for reporting the bug and to
83 Theodore Y. Ts'o <tytso@mit.edu> for providing the patch.
84
4267a8ad
SP
853. Made the nodump flag work on directories. A directory which
86 has the nodump flag gets never dumped, regardless of its
87 contents.
88
c930abff
SP
894. Integrate a patch from Jeremy Fitzhardinge <jeremy@goop.org>
90 which allows dump on an active ext3 filesystem. However, this
91 is a "quick and dirty" patch which enables backup of an ext3
92 filesystem through the ext2 compatibility (by ignoring the
93 NEEDS_RECOVERY bit). The journal file is not recognized and
94 it is dumped (it should not).
95
965. Test the superblock compatibility flags when dumping, in order
97 to be sure that we know how to deal with specific features.
98
08ebf8d7
SP
99Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
100====================================================================
101
1021. Use lchown instead of chown, fixing a possible security problem
103 when restoring symlinks (a malicious user could use this
104 to deliberately corrupt the ownership of important system files).
105 Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
106 this and providing the patch.
ec387a12 107
c154548c
SP
108Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
109====================================================================
ec387a12 110
df9ae507
SP
1111. Put dump sources under CVS, added Id tags in all files so
112 one can use 'ident' on binary files.
113
1142. Added the dump/restore version in the usage text so one can
115 easily verify the version he is using.
ec387a12 116
3072400e
SP
1173. Small patch from Nuno Oliveira <nuno@eq.uc.pt> which fixes
118 a va_start/va_end problem on linux-ppc (always call va_start
119 va_end in pairs each time we use a vararg function).
120
fa58b58d
SP
1214. Added again the DT_* constants because old libc does not
122 contain them :(. Thanks to Eric Maisonobe <virnet@nat.fr>
123 for submitting the bug report.
124
f34aca37
SP
1255. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
126 this should enable dumping big (huge) filesystems.
127
1286. Added the RSH environment variable in order to be able to
0c62667d
SP
129 use a rsh replacement like ssh when doing remote backups (and
130 bypass the security limitations of rcmd). Now you can do remote
131 backups without being root (or making dump setuid root).
132
f34aca37 1337. Modified again the way dumpdates works. For incremental dumps,
60f5ede9
SP
134 we need to read dumpdates even if we are not using 'u' option.
135 Thanks to Bdale Garbee <bdale@gag.com> for his ideas on how
136 this should work.
137
8d4197bb
SP
138Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
139===================================================================
140
1411. Removed the 'k' flag from the restore 'about' text if kerberos
142 was not compiled in.
143
1442. Prototyped (f)setflags from e2fsprogs and corrected the calls
145 to them (fsetflags takes a char*, setflags an open fd!).
146
1473. (f)setflags is called only if the flags aren't empty. If the
148 file is a special file, a warning is printed, because changing
149 flags implies opening the device. Normally, a special file
150 should not have any flag... (Debian bug #29775, patch provided
151 by Abhijit Dasgupta <abhijit@ans.net>).
152
1534. Made possible to dump a file system not mentioned in /etc/fstab.
154 (Debian bug #11904, patch provided by Eirik Fuller <eirik@netcom.com>).
155
1565. Changed the default behaviour to not create dumpdates
157 unless 'u' option is specified. Removed the old "debian-patch"
158 which provided the same thing. (Debian bug #38136, #33818).
159
1606. Removed all those dump*announce, since they were getting old...
161
1627. Added warning messages if dumpdates does not exist and
163 when an inferior level dump does not exist (except for a level 0
164 dump).
165
1668. Debugged the glob calls in interactive mode: restore used a
167 dirent struct which was different from the /usr/include/dirent.h
168 one (this used to work, is it a glibc2 change?), so none of the
169 compat glob (which used /usr/include/dirent.h) or the system glob
170 worked. Restore use now the system dirent (and the system
171 DT_* constants), which are compatible with BSD ones.
172
1739. Added a configure flag (--with-dumpdatespath) to specify
174 the location of dumpdates file. By default, it is
175 /etc/dumpdates.
176
17710. Added the "AUTHOR" and "AVAILABILITY" sections and
178 included the current date/version in man pages.
179
18011. Corrected the estimation of remaining time when
181 the operator doesn't change the tapes quickly enough. This
182 was an old bug, I thought I corrected it, and discovered
183 that in fact it was corrected in two different places, so
184 the results canceled each other...
185
186Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
187===================================================================
ddd2ef55
SP
188
1891. Integrated multiple patches from RedHat, Debian and SuSE:
190
191 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
192 isn't specified.
193 - several fixes in the man pages.
194 - update the default tape device to /dev/st0.
195 - many updates for Linux Alpha (byte ordering, size_t etc).
196 - buffer overruns.
197 - use environment variable for TMPDIR (instead of /tmp).
198 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
199 - workaround egcs bug (RedHat bugs #4281 and #2989).
200 - wire $(OPT) throughout Makefile's.
201
8d4197bb
SP
2022. Upgrade the dump revision to 1, making possible to dump filesystems
203 made with e2fsprogs-1.15 or newer. Nothing seems to break...
ddd2ef55 204
8d4197bb
SP
2053. Fix some compile warnings, prototype all functions.
206
2074. Use glibc err/glob instead of internal compatibility
ddd2ef55
SP
208 routines (only if available).
209
8d4197bb
SP
2105. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
211 by Bernhard Sadlowski <sadlowsk@mathematik.uni-bielefeld.de>).
212
213Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
214======================================================================
b45f51d6
SP
215
2161. Integrated the changes from FreeBSD-3.1-RELEASE
217 (mostly bug fixes, buffer overruns, dump has now an "automatic
218 tape length calculation" flag, dump/restore can use kerberos now
219 (this is NOT tested), use environment variables for TAPE and
220 RMT etc.).
221
2222. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
223
2243. Corrected a bug in restore when using 'C' option with multi-volumes
225 tapes (files splited accros two tapes give "size changed" errors
226 when comparing).
227
2284. Corrected the long standing bug when dumping multiple tapes.
229 This works for me, needs further testing.
1227625a 230
8d4197bb
SP
231Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
232====================================================================
1227625a
SP
233
2341. Dump now runs correctly on kernels 2.1.x
235 Fix made by Gerald Peters <gapeters@worldnet.att.net>
236
237Changes between versions 0.4b2 and 0.4b3
238========================================
239
2401. Use realpath() if available
241
2422. Report statistics
243
244Changes between versions 0.4b1 and 0.4b2
245========================================
246
2471. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
248 the patch)
249
2502. Fixed restore to make it able to read FreeBSD 2.x dumps again
251
2523. Fixed configure.in to correctly handle --enable-rmt
253
254Changes between versions 0.3 and 0.4b1
255======================================
256
2571. Integrated the changes from 4.4BSD-Lite2
258
2592. Integrated the patches from Debian and Red Hat
260
2613. Portability changes: use the __u32, __u16, __s32, and __s16 types
262
2634. Changed dump to use the Ext2fs library to get block addresses. This
264 should solve the endianness problem on SparcLinux.
265
2665. Created a configure.in file (shamelessly stolen from the e2fsprogs
267 distribution's one) to use autoconf
268
2696. Fixed a few minor bugs
270
271Changes between versions 0.2e and 0.2f
272======================================
273
2741. Added the creation of named pipes (fifos) in restore.
275
2762. Added the -N flag in the restore manual page.
277
2783. Added the file kernel.patch which contains the llseek() optimization
279 patch for 1.2.x kernels.
280
2814. Fixed a bug in the restoration of symbolic links: owner and group were
282 not restored.
283
2845. Integrated some changes from FreeBSD 2.2.
285
2866. Added a call to ftruncate() after restoring each file to restore
287 correctly files ending by a hole.
288
289Changes between versions 0.2d and 0.2e
290======================================
291
2921. Fixed a bug in the "set owner/mode" process. Every file was restored
293 with owner = root (0) and group = root/wheel/whatever (0).
294
295Changes between versions 0.2c and 0.2d
296======================================
297
2981. Dump is now able to backup 2GB+ filesystems.
299
3002. Dump and restore can now be linked as static binaries.
301
302Changes between versions 0.2b and 0.2c
303======================================
304
3051. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
306
307Changes between versions 0.2a and 0.2b
308======================================
309
3101. Really fixed the bug that I should have corrected in 0.2a.
311
3122. Enabled optimization again.
313
314Changes between versions 0.2 and 0.2a
315=====================================
316
3171. Disabled the optimization during compilation.
318
319Changes between versions 0.1 and 0.2
320====================================
321
3221. Fixed a bug in fstab.c which caused a null pointer to be stored in
323 the fs_type field (actually, I modified the file fstab.c to make it
324 use the mntent functions).
325
3262. Dump and restore now use a 4.3 BSD compatible dump format. Backups
327 made by dump should be readable by the BSD restore and backups made
328 by the BSD dump should be readable by restore. Unfortunately, this
329 means that the dump format has changed between version 0.1 and version
330 0.2 :-(
331
3323. Dump is now able to backup a subtree, it is no longer limited to whole
333 filesystems like the BSD version.
334
3354. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
336 than 2 GB.
337
338Changes between versions 0.0 and 0.1
339====================================
340
3411. Now create links rdump and rrestore during the `make install' step.
342
3432. Linux port specific bugs added to the manual pages
344
3453. Incorrect estimation of the number of tapes blocks fixed when doing
346 incremental backups.
347
3484. Better ls-like format in restore in interactive mode.