]> git.wh0rd.org - dump.git/blame_incremental - CHANGES
Fix a bug where dump miscalculates the tape size based on -d/-s
[dump.git] / CHANGES
... / ...
CommitLineData
1$Id: CHANGES,v 1.272 2005/03/02 08:46:54 stelian Exp $
2
3Changes between versions 0.4b39 and 0.4b40 (released ????????????????)
4======================================================================
5
61. Changed restore to emit warnings (instead of emitting a fatal
7 error) if a file (or a directory) is unavailable for a
8 comparision (if the user doesn't have the necessary permissions
9 to access it for example). Thanks to Kenneth Porter
10 <shiva@sewingwitch.com> for the bug report.
11
122. Re-done the 'do not save directory entries to non-dumped inodes
13 (excluded from dump)' feature. The previous implementation
14 worked well for excluded directories but not for regular files.
15 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
16 report.
17
183. Fixed a bug in dump where the tape size was miscalculated when
19 the user used -d/-s to specify the tape characteristics. Thanks
20 to Philip Goisman <goisman@physics.arizona.edu> for reporting
21 the bug.
22
23Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
24======================================================================
25
261. The newly added dump_on_cd_3 example was buggy, replace it
27 with an updated version from Andrew Basterfield
28 <bob@cemetery.homeunix.org>.
29
302. Made restore to chdir() back into the initial directory when
31 dumping core while aborting a comparision operation. The
32 previous behaviour was to write the corefile at the root of
33 the directory being compared, which could very well be
34 read only and preventing the corefile generation. Thanks
35 to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
36
373. Silenced the failure to call fgetflags() when comparing an
38 entry which has no ext2 attributes (as in lsattr()).
39
404. Fix a brown paper bug in restore -C which broke restore and
41 caused modifications on the filesystem being compared
42 (directories containing a file with the same name as the
43 directory get renamed to RSTTMP...). Thanks to Kenneth Porter
44 <shiva@sewingwitch.com> for finding the bug and helping me
45 reproduce it.
46
475. Made restore -C force the -N flag (no writing allowed on
48 the disk) in order to prevent more bugs like the above one.
49
50Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
51=====================================================================
52
531. Fix a couple of troff syntax bugs in the man pages.
54 Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
55
562. Made restore use either libncurses or libtermcap, depending
57 on which one is available at configure time.
58
593. Fixed restore negative size display bug when comparing a
60 dump containing files over 2GB. Thanks to Steve Bonds
61 <sbonds@users.sourceforge.net> for the bug report.
62
634. Do not save directory entries to non-dumped inodes
64 (excluded from dump). This will eliminate the 'missing
65 file' warnings when doing 'restore -C'.
66
675. Fix dump crash when backuping a huge (2TB) filesystem,
68 due to a bogus calculation on the inode map size.
69 Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for
70 submitting the bug and testing the fix.
71
726. Fix a problem in restore where the final \0 in the symbolic
73 link names could have been lost, generating corrupt filenames.
74 Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
75 bug.
76
777. Implemented a hash list for the directory names in restore.
78 The linear list used before caused problems in interactive
79 restores when dealing with directories having thousands of
80 entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
81 for reporting the bug.
82
838. Improved restore -C, this time including the directory
84 attributes into the comparision.
85
869. Made restore understand tapes containing EA/ACLs (which will
87 be dumped by the next version of dump). In this version
88 extended attributes on the tape are ignored, for full EA/ACL
89 support wait for the next version or try the experimental EA
90 patch.
91
92Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
93==================================================================
94
951. Added the --enable-staticz configure option which enables
96 dump and restore to be linked with static versions of
97 libz and libbz2 (and dynamic versions of all other libraries).
98 This will make Debian users happy, because libz and libbz2
99 were the only needed libraries living in /usr, all the
100 others live in /lib. In case of system emergency, it is
101 better not to have to rely on an extra filesystem.
102 Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
103
1042. Fix compilation on (at least the Linux Debian port to) AMD64.
105 (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
106 that are also defined by <linux/types.h> (<asm/types.h>) and
107 they conflict).
108
1093. Make dump's reading of the dumpdates file a bit more robust,
110 preventing dump from crashing when the dumpdates file has
111 been modified by hand.
112
1134. Fixed some offset calculations in dump code which could
114 lead to "bread lseek errors" on large filesystems. Thanks
115 to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
116 reporting this bug and debugging the issue.
117
1185. Made dump use the blkid library when searching for devices
119 by label or uuid instead of dump's own routines.
120
1216. Corrected a bug in dump where a wrong LABEL=... line in
122 /etc/fstab could prevent dump from dumping unrelated
123 filesystems. Thanks to Bruce Lowekamp
124 <lowekamp@users.sourceforge.net> for reporting the bug.
125
126Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
127====================================================================
128
1291. Fixed dump compilation with old gcc versions. Thanks to
130 Mike Castle <dalgoda@users.sourceforge.net> for the patch.
131
1322. Fixed some warnings (howmany, roundup, powerof2 redefined)
133 when compiling against a recent glibc version.
134
1353. Fixed a bug in restore preventing the read of a dump tape
136 written with Solaris 7 ufsdump. Thanks to Patrick Higgins
137 <phiggins@transzap.com> for reporting the bug and providing
138 the test case.
139
1404. Changed dump to enable the creation of volumes of different
141 sizes in a single run (make -B accept a list of values).
142 Patch contributed by Florian Zumbiehl <florz@gmx.de>.
143
1445. Use the glibc provided minor() and major() macros instead
145 of our own bitmask implementation. This should be safe for
146 when the major/minor namespace will migrate to 32 bits.
147 Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
148 the bug.
149
1506. Made explicit in the dump man page that dump will not create
151 a remote file, it will only write to an already existing one.
152
1537. Another try at making size estimates better again.
154
1558. Put back the inconditional running of the end-of-tape
156 script which was changed in 0.434 to be run only when -M
157 or multiple -f were NOT specified. Some users rely on this
158 feature even when it is combined with -M/-f.
159
1609. Fixed restore when restoring huge backups (where rstdir...
161 temporary files are over 2GB). Thanks to
162 Raphael Jaffey <rjaffey@artic.edu> for reporting this,
163 debugging the issue and making the patch.
164
16510. Made restore understand FreeBSD UFS2 tapes. Thanks to
166 David <vrtin@users.sourceforge.net> for submitting the bug
167 and providing a test case.
168
16911. Made dump work with an arbitrary integer level (no more 10
170 levels only limitation). Thanks to Matthew
171 <msvincen@midway.uchicago.edu> for the patch.
172
173Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
174=======================================================================
175
1761. Added a note in the dump man page saying that the default
177 blocksize can be 32 if -d is used with a high density argument.
178 Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
179 for the patch.
180
1812. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
182 LDFLAGS environment variables. Thanks to Arcady Genkin
183 <antipode@users.sourceforge.net> for reporting the bug.
184
1853. Made -e/-E options of dump accept an unlimited number of inodes
186 to be excluded, rather than a hardcoded maximum. Thanks to
187 Dietrich Rothe <d-rothe@users.sourceforge.net> for the patch.
188
1894. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
190 and -D_USE_BSD_SIGNAL defines in configure in order to solve
191 64bit build problems because quad_t is redifined with a
192 different signature. Thanks to Mike Harris <mharris@redhat.com>
193 for reporting this bug.
194
1955. Made restore build on Solaris, making possible to
196 restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
197 <uwe@ugsoft.de> for the patch.
198
1996. Made an extension in the dump tape format capable of saving
200 MacOSX specific inode extensions. Uwe Gohlke <uwe@ugsoft.de>
201 wrote the extension and contributed the restore code back
202 into this codebase. The same extension mechanism will be
203 used in the future to save ACLs...
204
2057. Made rmt work correctly with regard to QFA and local/remote
206 files and tapes. The remote access will however work only
207 when the dump provided rmt version is used. If you want to
208 use another rmt server, please do not use the QFA feature.
209 Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
210
211Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
212====================================================================
213
2141. Fixed the INSTALL file to reflect the actual install paths.
215 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
216 reporting the bug.
217
2182. Fixed the configure script to only check for headers presence
219 instead of trying to compile them. This should fix issues
220 with old build environments. Thanks to Kari Lempiainen
221 <kari@funky.pp.fi> for reporting the bug.
222
2233. Fixed restore to correctly ignore sockets when comparing
224 a dump (as socket cannot be properly restored anyway). Thanks
225 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
226
2274. Fixed restore to correctly access the archive file (-A argument)
228 even when using a remote tape. Thanks to Fabrice Bellet
229 <fabrice@bellet.info> for reporting the bug.
230
2315. Fixed (again) handling of long (largefile) seeks in rmt.
232 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
233 the bug.
234
2356. Fixed restore corner case when dealing with large block sizes
236 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
237 <fabrice@bellet.info> for reporting the bug.
238
2397. Fixed a bug preventing dump to access a filesystem having
240 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
241 for reporting the bug.
242
2438. Made dump store dump dates using explicit timezones, fixing a
244 problem with incremental dumps if the timezone is modified
245 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
246 the bug report and the patch.
247
2489. Fixed a bug encountered when dumping individual files (not full
249 filesystems or directories) and dangling symbolic links happen
250 to be in the list of files. For as far as dump is concerned,
251 dangling symbolic links are allowed, and are dumped as is.
252 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
253 bug and providing the fix.
254
25510. Fixed open and creation modes and permissions for QFA and
256 table-of-contents files in dump and restore. Thanks to
257 Philippe Troin <phil@fifi.org> for the patch.
258
25911. Fixed the archive file descriptor handling enabling it to be 0.
260 This can happen in some cases when shell redirections are used.
261 Thanks to Philippe Troin <phil@fifi.org> for the patch.
262
26312. Delayed the opening of archive file until after suid had been
264 dropped (fixing a possible security issue if dump is suid).
265 Thanks to Philippe Troin <phil@fifi.org> for the patch.
266
26713. Fixed the 'S' command handling in the rmt client part.
268 Thanks to Philippe Troin <phil@fifi.org> for the patch.
269
27014. Modified the end-of-tape script handling to print out statistics
271 (and stop the timer) before launching the eot script. Also, the eot
272 script does not get run anymore when using -M (which makes sense) or
273 when multiple tapes are listed on the command line
274 (-f tape0,tape1,tapen) (which also makes sense).
275 Thanks to Philippe Troin <phil@fifi.org> for the patch.
276
27715. Relicensed dump/restore under the 'revised' BSD license, as per
278 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
279
28016. Added LZO compression to dump. This new compression method has
281 the advantage of being super fast, thus not killing tape streaming
282 on slow machines. Thanks to Helmut Jarausch
283 <jarausch@igpm.rwth-aachen.de> for the patch and to
284 Markus Oberhumer <markus@oberhumer.com> for giving special permission
285 to include his miniLZO project (GPL licensed) in dump/restore.
286
28717. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
288 <ant@notatla.demon.co.uk> for reporting the bugs.
289
29018. Added a special rmt version which can do encryption when writing
291 to tape. Read examples/encrypted_rmt/README for details on
292 how to enable and configure it. Thanks to Ken Lalonde
293 <ken@globalremit.com> for the patch.
294
29519. Made dump work with 2.5 kernel end of tape early warning semantics.
296 Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
297
29820. Fixed a bug which caused dump -w|-W not to work anymore, because
299 the fs_freq and fs_passno fields in /etc/mtab are always set
300 to 0 0. Thanks to Trent Piepho <xyzzy@speakeasy.org> for
301 reporting the bug.
302
303Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
304=======================================================================
305
3061. Added a note in the restore man page clarifying the question
307 'set the permissions on the current directory ?' asked by
308 restore at the end of treatment in -i and -x modes.
309
3102. Fixed the endianess issues when reading compressed tapes.
311 Thanks to Dark Force <daq4th@users.sourceforge.net> for
312 reporting this bug and providing test cases.
313
3143. Fixed the "ACL won't be dumped" warning message (which showed
315 an extra, unrelated error message). Thanks to Dragan Krnic
316 <dkrnic@lycos.com> for reporting this bug.
317
3184. Made dump look first into /etc/mtab, then into /etc/fstab
319 when searching for filesystem paths. Also fixed some problems
320 caused by binding mounts or multiple block device mounts.
321 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
322 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
323 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
324 and #160305, Sourceforge bugs #618699 and #679832).
325
3265. Made dump's -I option accept the value '0' meaning all the
327 read errors will be ignored. This can be useful when running
328 dump from unattended sessions (like cron jobs). Thanks to
329 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
330
3316. Fixed the output of dump to indicate 'blocks' instead of
332 'tape blocks' in the various messages (blocks are always
333 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
334 made it clearly print the current blocksize at the start of
335 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
336 the suggestions.
337
3387. Made rmt understand long (largefiles) seeks.
339
3408. Fixed build with very old versions of libext2fs, where
341 EXT2_FT_* constants were undefined.
342
3439. Made dump accept the dumpdates path on the command line
344 (-D file option) instead of using only the hardcoded one.
345 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
346 suggestion.
347
34810. Enabled rmt, LFS, readline, QFA options by default in
349 ./configure. Updated the configure process (new versions
350 of config.guess, config.sub etc).
351
352Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
353=======================================================================
354
3551. Changed dump to use fcntl(F_SETLK) style locking instead
356 of flock() when locking the dumpdates file. With the old
357 locking scheme, a local user having read rights on the
358 dumpdates file could be able to do a Denial of Service attack
359 on dump. In order to lock the dumpdates file with the new
360 scheme, the user would need to have write access on the file.
361 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
362 reporting the bug (originally a bugtraq post).
363
3642. Fixed interactive 'ls' which caused spurious errors warnings
365 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
366 <jorgen_ostling@users.sourceforge.net> for reporting this
367 bug.
368
3693. Fixed dump's estimate when dealing with sparse inodes.
370
3714. Modified dump to allow setting a blocksize bigger than 32kB
372 (raised the limit to 1024kB), because newer hardware needs
373 this for proper operation. Thanks to Dirk Traenapp
374 <dtraenapp@users.sourceforge.net> for reporting this.
375
3765. Fixed a bug causing Dump to stop and report an error if an
377 inode number in the exclude file was followed by some amount
378 of whitespace. Thanks to Jeffrey Sofferin
379 <sofferin@users.sourceforge.net> for reporting this bug.
380
3816. Fixed a bug which caused restore, in some particular cases,
382 to ask some 'scary' questions and leave a bunch of RSTTMP
383 directories behind when restoring incremental tapes. Thanks
384 to Philippe Troin <phil@fifi.org> for reporting this bug and
385 providing the test cases.
386
3877. Changed the wording when inodes are excluded from dump:
388 replaced 'Added inode 7 to exclude list' with
389 'Excluding inode 7 (resize inode) from dump', as suggested
390 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
391
392Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
393===================================================================
394
3951. Fixed rmt open flags transmission (GNU's symbolic syntax over
396 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
397 <eros@lamel.bo.cnr.it> for reporting the bug.
398
399Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
400===================================================================
401
4021. Made dump print out the ext2 logical block number in case of a read
403 error, which can be given as an argument to debugfs' ncheck command,
404 in order to find out the affected inode. Added note about this
405 usage in dump's man page.
406
4072. Fixed a problem in restore when reading tapes written on big
408 endian machines with very old versions of dump. The patch was
409 contributed by George Helffrich <george@geology.bristol.ac.uk>.
410
4113. Fixed the tape length calculation when using large tapes
412 and compression. Thanks to Georg Lippold
413 <g_lippold@sourceforge.net> for reporting the bug.
414
4154. Added a new set of examples in dump_on_cd_2 directory, based
416 on dump_on_cd examples but somewhat enhanced, supporting DVD
417 media, and localized in english and german. Thanks to
418 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
419
4205. Made dump save 32 bit UID/GID. Internally, this was achieved
421 by switching from the old BSD inode format to the new BSD
422 inode format, which means that the tape format was changed.
423 However, since all restore versions out there should
424 transparently support both inode formats, the change should
425 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
426 reporting the bug.
427
4286. Fixed a lot of warnings in the code shown when compiling
429 with 'gcc -W'. Thanks to Matthias Andree
430 <matthias.andree@stud.uni-dortmund.de> for reporting this.
431
4327. Fixed a small markup bug in the dump man page. Thanks to
433 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
434 patch.
435
4368. Rewrote entirely the man pages using the tmac.an macro
437 package (Linux man page format) instead of the original BSD
438 format. They should be now cleaner and easier to modify.
439
440Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
441==================================================================
442
4431. Fixed a problem in the rmt ioctl command, where ioctl's issued from
444 non Linux clients were misinterpreted. The description of the problem
445 (incompatible numbering in Linux mtio opcodes) is documented at
446 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
447