Debian Codegraph @

NEWS

raw
1 Changes between versions 0.4b54 and 0.4b55 (released Jun 10, 2026)
2 1. Buffer overrun in the rmt protocol (reported by Josef Ridky, Red Hat).
3 This issue is considered very low risk. Any attacker capable of
4 manipulating the rmt protocol sufficiently to trigger the buffer
5 overrun would already have the ability to upload arbitrary binaries on
6 the target system, including binaries with elevated (e.g., setuid)
7 permissions. In theory, however, the flaw could be exploited on a
8 target host without requiring any additional access to that host.
9
10 2. Removed Kerberos support (previously relied on Kerberos-4 krcmd).
11
12 3. Removed rcmd support; only rsh remains.
13
14 4. Dropped old-style fscript support (disabled by default for ~25 years).
15
16 5. Added --debug=ffffffff style full debugging; no need to recompile for
17 debug builds.
18
19 Changes between versions 0.4b53 and 0.4b54 (released Feb 22, 2026)
20 1. Cleanups to includes. No functionality changes
21
22 Changes between versions 0.4b52 and 0.4b53 (released Feb 01, 2026)
23 1. Do not dump the quota and orphan hidden inodes.
24
25 2. When a dump has more than 31 volumes, report all the volumes read
26 rather than stopping at 31.
27
28 3. add --use-blockdev-for-dumpdates to revert to old behaviour where
29 blockdev is always written to dumpdates. Improve fstab filtering so
30 that bind mounts can be dumped.
31
32 4. Relax the restriction of incremental dumping of subdirectories and
33 updating of the dumpdates file where --use-blockdev-for-dumpdates is
34 not being used.
35
36 5. Add --no-set-curr-dir-perms which bypasses the question about setting
37 permissions on . when restoring.
38
39 Changes between versions 0.4b51 and 0.4b52 (released May 01, 2025)
40 ===================================================================
41 1. Support running tests under valgrind, address numerous minor valgrind
42 issues.
43 2. Change the inter-slave communication so that it works with valgrind.
44
45 Changes between versions 0.4b50 and 0.4b51 (released Mar 23, 2025)
46 ===================================================================
47 1. restore allocated a buffer approximately half the size it needed (due
48 to a code bug, the code comment was correct) to support seamless
49 reading from files and tapes as of v0.4b48. This didn't show up in any
50 of the test cases, nor in my daily usage.
51 Michael Orlitzky ported dump to the musl library. restore failed due to
52 this bug. Special thanks for helping track this down as I could not
53 reproduce it using gcc.
54
55 Changes between versions 0.4b49 and 0.4b50 (released Mar 22, 2025)
56 ===================================================================
57 1. Fix a number of issues with static destructors in the test faketape
58 helper utilities. Fix compilation issue when HAVE_LZO was not defined.
59
60 2. Fix reading mangled bitfields. This only affects the reading of
61 historical dumps where the bitfields for the compression header were
62 not in gcc order. The previous release was supposed to handle this but
63 due to a bug it only worked with the gcc ordering.
64
65 3. Minor cleanups: change a few places that used uint32_t to use
66 dump_ino_t instead. Fix printf format warnings on armel. Minor changes
67 for feature request #16 to get dump and restore building on musl.
68
69 4. Don't write uninitialized data to the tape. This has no visible effect
70 but prevents the tape containing random bits of memory in unused
71 portions of the directory and xattr records.
72
73 5. Always write volinfo data to the TS_END record. dump only copied the
74 "tape no->first ino on tape" mapping if the archive file was created.
75 Now this information is always written. (This has little practical
76 effect but potentially in the future offers a way to regenerate an
77 archive file without having to read the start of every tape.
78
79 6. Use structures from e2fs lib instead of replicating them in the dump
80 source. Also a small optimization that avoids the need to read in an
81 inode twice to get the extended attributes.
82
83 7. Add longopts to dump and restore. Most options now have a --long-option
84 equivalent. Add a new --dumpdates-time option that overrides the
85 "now" time calculation the dump was taken. This is particularly useful
86 for dumps of snapshots where the dump time can be set to the snapshot
87 time instead of several seconds later when dump actually starts.
88 Add --ignore-compression-flag-for-0.4b45-dumps to allow restoring of
89 corrupted "compressed" dumps written with v0.4b45. Add --filesys-name
90 option to override the default "an unlisted filesystem" when what is
91 being dumped is not found in either fstab or mtab
92
93 8. Debian bug #965105 QFAfiles always had a zero tape position. Special
94 thanks to Alexander Zangerl for noticing that I'd inadvertently dropped
95 the debian patch when building a trial debian package for v0.4b49
96 instead of including it in the v0.4b49 release of dump.
97
98 9. Fix archive file handling - the archive file was not padded to a
99 multiple of ntrec records, instead it contained the same number of
100 TS_END records as the tape. This lead to a regression in v0.4b49 which
101 could not read a QFAfile unless it happened to be the right length.
102
103 Changes between versions 0.4b48 and 0.4b49 (released Nov 30. 2024)
104 ===================================================================
105 1. Reworking of regression tests and test harness
106
107 2. Import some patches from the Debian package.
108
109 3. restore -N should never change the fs. Fixes #154
110
111 4. Support outputting list of files from restore -t with '\0' separator
112 (Patch from debian bug 703564 by Heiko Schlittermann)
113
114 5. Fix reading of QFA file when listing tape.
115
116 6. Support restoring to filesystems with a blocksize that isn't a multiple
117 of TP_BSIZE (debian bug 995992). This is a different fix to the one
118 currently in debian. The advantage of using a common multiple, if
119 available, is that every FS block will only be written to once.
120 Fixed an issue where the alignment between blocksize and writing pos
121 becomes misaligned when a sparse hole doesn't occupy a full fs block
122 (happens when restoring to a FS with a different, larger blocksize than
123 the one the dump was taken on.
124
125 7. Numerous other minor patches from the Debian package
126
127 8. Don't read off end of buffer when restoring symlinks
128
129 9. Fix some weirdness around dumping a subdirectory. Do not include the
130 inodes for all of the items in the subdirectories - which then give a
131 restore error "inode not found on tape"
132
133 10. Fix EA problem when EAs blocks are read immediately before a tape change.
134
135 11. Allow compressed dumps to work when -b blocksize setting is the maximum
136 a tape drive supports.
137
138 12. Remove code added for building on systems other than __linux__
139
140 13. Major reworking of how reading from disk and tape works. Dump now
141 supports writing a compressed dump to a file and then writing that to
142 tape. There is now only one "read" function. We do not have separate
143 functions for reading tapes, files, compressed tapes, compressed files.
144
145 14. Improve the efficiency of TS_ADDR (and TS_INODE) record for
146 representing larger files. A single TS_ADDR record can now represent up
147 to 4GB of file rather than just 512K. Dumps written by 0.4b49 cannot be
148 restored using 0.4b48 and before.
149
150 Changes between versions 0.4b47 and 0.4b48 (released Oct 20, 2024)
151 ===================================================================
152 1. Handle fs with more than 2^32 blocks (Greg Oster)
153
154 2. Handle EA stored in blocks with address >2^32.
155
156 3. Handle the case were EAs are stored across two blocks. Fixes several
157 reported bugs regarding the restore of directory attributes.
158 Additionally, now restore -C passes too. Originally restore -C was
159 patched for files, but not directories, in debian bug#940473 by
160 Alexander Zangerl. Substantially redone and extended to directory
161 attributes here.
162
163 4. Do not record garbage data in dump for files with
164 EXT2_EXTENT_FLAGS_UNINIT set indicating that the disk block has not
165 been written to and should be assumed to be all zeros.
166
167 5. Dump small files on ext4 partitions with -O inline-data set.
168
169 6. Major performance enhancements on the restoring and verifying of very
170 sparse files.
171
172 7. Handle dumps that are over 2^32 (tape) blocks long (>4T)
173
174 8. Handle restoring sparse files that start with a hole from dump versions
175 0.4b42/43. Previously they were restored but corrupted as some of the
176 initial hole was moved to the end.
177
178 9. Many cleanups. Move to autoconf v0.71. Remove need to build with
179 -fcommon. Build with -W -Wall and without compiler warnings. Add some
180 compile time checks for structures that are written to tape and must
181 not change.
182
183 10. Extensive regression tests. Every bug fixed by 0.4b48 release is now
184 covered by a regression test along with testing the restore of a historical
185 dump created by the previous versions from 0.4b5 through 0.4b47.
186
187 Changes between versions 0.4b46 and 0.4b47 (released Jan 01, 2021)
188 ===================================================================
189
190 1. Fix missing lzo return (Alexey Svistunov).
191
192 2. Fix building with OpenSSL 1.1 (Daniel Molkentin).
193
194 3. Fix bashisms in examples (Oleksandr Chumachenko).
195
196 4. Use xattrs funcs from the C library (Vaclav Dolezal).
197
198 5. Fix date mangling in man pages (Mike Frysinger).
199
200 6. Force -fcommon when building (Mike Frysinger).
201
202 7. Add error checking to SSL init transformation (Mike Frysinger).
203
204 8. Fix restore -C calls with ftruncate (Alexander Zangerl).
205
206 9. Restore symlink timestamps (Alexander Zangerl).
207
208 Changes between versions 0.4b45 and 0.4b46 (released Sep 05, 2016)
209 ===================================================================
210
211 1. Use pkg-config to locate openssl dependencies to fix ermt linking.
212
213 2. Fix building when QFA code is disabled (Alexander Zangerl).
214
215 3. Fix crash with the -Q option (Alexander Zangerl).
216
217 4. Fix crash with legacy indexer (Alexander Zangerl).
218
219 5. Fix handling of the -A flag.
220
221 6. Fix compression enabling logic (Alexander Zangerl).
222
223 7. Skip unhandled fstab entries (Josef Ridky).
224
225 Changes between versions 0.4b44 and 0.4b45 (released May 09, 2016)
226 ===================================================================
227
228 1. Improve data throughput when using compression in dump by
229 allowing multiple slaves to compress in parallel. Thanks
230 to Phillip Susi <[email protected]> for the patch.
231
232 2. Add dump encryption support and reorganise the whole
233 compression/encryption code as plugins. Thanks to
234 Bear Giles <[email protected]> for the patch.
235
236 3. Add sqlite index support and reorganize the QFA code
237 as plugins. Thanks to Bear Giles <[email protected]> for
238 the patch.
239
240 4. Lots of various build cleanups and minor bugfixes.
241
242 Changes between versions 0.4b43 and 0.4b44 (released June 10, 2011)
243 ===================================================================
244
245 1. Recognize ext4 partitions in dump -w commands (Sourceforge
246 bug #3125587, RedHat bug #658890). Thanks to Jan Görig
247 <[email protected]> for reporting the bug and
248 submitting the patch.
249
250 2. Fix an issue with multi volume backups, which breaks
251 restoring of files which are splitted on two or more
252 volumes and are starting on 2nd tape or later (RedHat
253 bug #507948).
254
255 3. Fix a bug in dump when dumping files with holes. This bug
256 was introduced in 0.4b42 while adding ext4 support.
257 (Sourceforge bug #3133762).
258
259 4. Fix a bug in restore -P where useless index files for compressed
260 dumps were created (Debian bug #583093). Thanks to
261 Mark Wooding <[email protected]> for the patch.
262
263 5. Fix SYS_clone invocation on s390 architectures (Sourceforge
264 bug #3303235). Thanks to Adam Tkac <[email protected]> for
265 reporting the bug.
266
267 6. Fix static builds. Thanks to Peter Volkov <[email protected]>
268 for the patches.
269
270 7. Fix false negatives in configure zlib test. Thanks to
271 Bear Giles <[email protected]> for the patch.
272
273 8. Add quick regression script from Bear Giles <[email protected]>.
274
275 9. Fix a bug introduced in 0.4b43 causing restore to crash when
276 asking for a new volume when doing multi-volume restores. Thanks
277 to Patrik Schindler <[email protected]> for reporting the bug.
278
279 Changes between versions 0.4b42 and 0.4b43 (released June 11, 2010)
280 ===================================================================
281
282 1. Fix a bug in dump making impossible to handle large toc files
283 (> 2 GB). Thanks to X DUGi <[email protected]> for
284 reporting the bug (Sourceforge bug #2820629)
285
286 2. Fix 'restore -x' in multi-volume mode, which caused files being
287 spanned on the first and second volumes to be incorrectly extracted.
288 Thanks to Adam Tkac <[email protected]> for reporting the bug.
289 (there may be several bug reports about this issue, including
290 Sourceforge bug #2117008, RedHat bugs #232415 and #444958).
291
292 3. Remove -lselinux -lsepol from the standard libraries list,
293 they shouldn't be needed if selinux is not enabled in dump
294 (this also fixes a build failure when selinux libraries are
295 not installed).
296
297 4. Fix restoration of extended attributes of fifos and device nodes.
298 Thanks to Igor Zhbanov <[email protected]> for the bug report.
299
300 5. Don't attempt to set extended attributes on files that were not
301 extracted in 'restore -N' mode. Thanks to Jan Görig
302 <[email protected]> for the patch.
303
304 6. Make the dump man page explicit about ext4 support.
305
306 7. Fix a bug in dump which caused EA entries to be unrecognizable by
307 restore in some corner cases. Add a workaround to restore making
308 it able to properly deal with those corrupted EA entries. Thanks
309 to John Austin <[email protected]> for reporting
310 the bug.
311
312 8. Fix some issues when restoring a dump which was generated using
313 exclusion patterns (either via -e or via the nodump attribute)
314 (see the Debian bug #574667 for details. Thanks to Frédéric
315 Brière <[email protected]> for the bug report and the associated
316 patch.
317
318 9. Fix progress/estimated blocks display in dump when doing really
319 huge backups. Thanks to Steve Bonds <[email protected]>
320 for the bug report and tests. (Sourceforge bug #2987758)
321
322 10. Improve level 1 dump speed by rearanging the "mapdirs" code.
323 Thanks to Andreas Kies <[email protected]> for finding the
324 bottleneck and sending a patch (Sourceforge bug #2998119).
325
326 11. Use only ctime in order to compare newness instead of both
327 ctime and mtime. This should both speed up dumping time and
328 correct some side-effect bugs (like dumping files with an mtime
329 in the future in every incremental backup). Thanks to
330 Kieran Clancy <[email protected]> for reporting the
331 bug (Sourceforge bug #2999207).
332
333 12. Extract dumped UNIX sockets instead of ignoring them.
334 (Sourceforge bug #3007216).
335
336 13. Compiler warning fixes (mainly warn_unused_result ones).
337
338 Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009)
339 ===================================================================
340
341 1. Fix printout of the 'Connection to' message in dump/restore.
342 Thanks to Dale Wiles <[email protected]> for the
343 bug report and its fix.
344
345 2. Fix dump -w/-W output for filesystems having the last backup
346 level equal to 0. Thanks to Pascal Bouchareine
347 <[email protected]> for reporting the bug.
348
349 3. Enable restore to handle restoring onto a different SELinux
350 policy from the dump. Thanks to Tony Nelson
351 <[email protected]> for the patch.
352 (see http://bugzilla.redhat.com/189845 for details)
353
354 4. Fix EA set failures when restoring immutable files. Thanks
355 to Andrew Kroeger for the patch.
356
357 5. Fix "mode file too large" errors when restoring huge backups.
358 Thanks to Kenneth Porter <[email protected]> for the bug
359 report.
360
361 6. Add the ability to link against libtinfo library if present,
362 instead of libtermcap or libncurses libraries. Thanks to
363 Adam Tkac <[email protected]> for the patch.
364
365 7. When comparing a backup, do not consider to be an error the fact
366 that we encounter files created while dump was in progress.
367 Thanks to Kenneth Porter <[email protected]> for the bug
368 report.
369
370 8. Force '-a' to be the default value when running 'restore -C'.
371 Thanks to Kenneth Porter <[email protected]> for the bug
372 report.
373
374 9. Many improvements to the 'cron_dump_to_disk' example.
375 Thanks to Aaron S. Hawley <[email protected]> for
376 the patch.
377
378 10. Fix the QFA generation when extended attributes are backuped
379 along with the inodes. Prior to this fix, the entries for
380 some inodes may get corrupted (duplicated entries or incorrect
381 ones), making the QFA file unusable for repositionning in
382 restore. Many thanks to Kenneth Porter <[email protected]>
383 for the bug report and the testing of the fix.
384
385 11. Fix EA restoration in debug mode (Sourceforge bug #1986216).
386
387 12. Stefan Auracher <[email protected]> noticed that the Tower
388 of Hanoi backup strategy documented in the man page wasn't
389 actually based on the Tower of Hanoi algorithm. The man page
390 was updated accordingly.
391
392 13. Fix missing level information from dump output when using
393 the default level (RedHat bug #493635). Thanks to Adam Tkac
394 <[email protected]> for the patch.
395
396 14. Fix the dump man page to reflect the fact that the default
397 dump level is 0 not 9 (RedHat bug #356121). Thanks to Adam Tkac
398 <[email protected]> for the patch.
399
400 15. Fixed a few spelling errors in the man pages (RedHat bug #489853).
401 Thanks to Adam Tkac <[email protected]> for the patch.
402
403 16. Fixed restore man page and program usage which incorrectly stated
404 that -P and -A were both allowed in the same invocation (RedHat
405 bug #490627). Thanks to Adam Tkac <[email protected]> for the patch.
406
407 17. Use sys_clone under Linux to share I/O contexts between dump
408 processes, thus drastically increasing the performance of dump
409 under CFQ (which is the default I/O scheduler used in a number of
410 distributions). Thanks to Jeff Moyer <[email protected]> for the
411 patch.
412
413 18. Add (preliminary) ext4 support - thanks to libext2fs which does
414 all the job for us. Thanks to Gertjan van Wingerde
415 <[email protected]> for the patch.
416
417 Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
418 =====================================================================
419
420 1. Fix restore of dumped Access Control Lists. The previous
421 code for EA works fine, but ACLs needed conversion from the
422 ext2/3 disk format to posix_acl format before restoring.
423
424 2. Fix some issues with restoration of EA on big endian
425 platforms.
426
427 3. Fix restore when the symtab is over 2GB in size.
428
429 4. Made the directory hash indexing an optional feature,
430 accessible by the '-H' option of restore, and disable it
431 by default.
432
433 5. Fixed dump to not include extended attributes information
434 in the toc (archive) file which confused restore -t.
435
436 Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
437 =================================================================
438
439 1. Changed restore to emit warnings (instead of emitting a fatal
440 error) if a file (or a directory) is unavailable for a
441 comparision (if the user doesn't have the necessary permissions
442 to access it for example). Thanks to Kenneth Porter
443 <[email protected]> for the bug report.
444
445 2. Re-done the 'do not save directory entries to non-dumped inodes
446 (excluded from dump)' feature. The previous implementation
447 worked well for excluded directories but not for regular files.
448 Thanks to Kenneth Porter <[email protected]> for the bug
449 report.
450
451 3. Fixed a bug in dump where the tape size was miscalculated when
452 the user used -d/-s to specify the tape characteristics. Thanks
453 to Philip Goisman <[email protected]> for reporting
454 the bug.
455
456 4. Fixed another bug introduced in restore with the hashtree
457 implementation. This one caused restore to stop saying
458 "removenode: non-empty directory" in some cases.
459
460 5. Added support for dumping and restoring ext2/3 extended
461 attributes (EA), like the access control lists (ACL) or
462 the security labels used by SELinux.
463
464 Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
465 ======================================================================
466
467 1. The newly added dump_on_cd_3 example was buggy, replace it
468 with an updated version from Andrew Basterfield
469 <[email protected]>.
470
471 2. Made restore to chdir() back into the initial directory when
472 dumping core while aborting a comparision operation. The
473 previous behaviour was to write the corefile at the root of
474 the directory being compared, which could very well be
475 read only and preventing the corefile generation. Thanks
476 to Kenneth Porter <[email protected]> for the bug report.
477
478 3. Silenced the failure to call fgetflags() when comparing an
479 entry which has no ext2 attributes (as in lsattr()).
480
481 4. Fix a brown paper bug in restore -C which broke restore and
482 caused modifications on the filesystem being compared
483 (directories containing a file with the same name as the
484 directory get renamed to RSTTMP...). Thanks to Kenneth Porter
485 <[email protected]> for finding the bug and helping me
486 reproduce it.
487
488 5. Made restore -C force the -N flag (no writing allowed on
489 the disk) in order to prevent more bugs like the above one.
490
491 Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
492 =====================================================================
493
494 1. Fix a couple of troff syntax bugs in the man pages.
495 Thanks to Eric Raymond <[email protected]> for the patch.
496
497 2. Made restore use either libncurses or libtermcap, depending
498 on which one is available at configure time.
499
500 3. Fixed restore negative size display bug when comparing a
501 dump containing files over 2GB. Thanks to Steve Bonds
502 <[email protected]> for the bug report.
503
504 4. Do not save directory entries to non-dumped inodes
505 (excluded from dump). This will eliminate the 'missing
506 file' warnings when doing 'restore -C'.
507
508 5. Fix dump crash when backuping a huge (2TB) filesystem,
509 due to a bogus calculation on the inode map size.
510 Thanks to Kevin B. Haines <[email protected]> for
511 submitting the bug and testing the fix.
512
513 6. Fix a problem in restore where the final \0 in the symbolic
514 link names could have been lost, generating corrupt filenames.
515 Thanks to Kyle Wilson <[email protected]> for reporting the
516 bug.
517
518 7. Implemented a hash list for the directory names in restore.
519 The linear list used before caused problems in interactive
520 restores when dealing with directories having thousands of
521 entries. Thanks to Brian Ristuccia <[email protected]>
522 for reporting the bug.
523
524 8. Improved restore -C, this time including the directory
525 attributes into the comparision.
526
527 9. Made restore understand tapes containing EA/ACLs (which will
528 be dumped by the next version of dump). In this version
529 extended attributes on the tape are ignored, for full EA/ACL
530 support wait for the next version or try the experimental EA
531 patch.
532
533 Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
534 ==================================================================
535
536 1. Added the --enable-staticz configure option which enables
537 dump and restore to be linked with static versions of
538 libz and libbz2 (and dynamic versions of all other libraries).
539 This will make Debian users happy, because libz and libbz2
540 were the only needed libraries living in /usr, all the
541 others live in /lib. In case of system emergency, it is
542 better not to have to rely on an extra filesystem.
543 Thanks to Bdale Garbee <[email protected]> for the suggestion.
544
545 2. Fix compilation on (at least the Linux Debian port to) AMD64.
546 (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
547 that are also defined by <linux/types.h> (<asm/types.h>) and
548 they conflict).
549
550 3. Make dump's reading of the dumpdates file a bit more robust,
551 preventing dump from crashing when the dumpdates file has
552 been modified by hand.
553
554 4. Fixed some offset calculations in dump code which could
555 lead to "bread lseek errors" on large filesystems. Thanks
556 to Bruce Lowekamp <[email protected]> for
557 reporting this bug and debugging the issue.
558
559 5. Made dump use the blkid library when searching for devices
560 by label or uuid instead of dump's own routines.
561
562 6. Corrected a bug in dump where a wrong LABEL=... line in
563 /etc/fstab could prevent dump from dumping unrelated
564 filesystems. Thanks to Bruce Lowekamp
565 <[email protected]> for reporting the bug.
566
567 Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
568 ====================================================================
569
570 1. Fixed dump compilation with old gcc versions. Thanks to
571 Mike Castle <[email protected]> for the patch.
572
573 2. Fixed some warnings (howmany, roundup, powerof2 redefined)
574 when compiling against a recent glibc version.
575
576 3. Fixed a bug in restore preventing the read of a dump tape
577 written with Solaris 7 ufsdump. Thanks to Patrick Higgins
578 <[email protected]> for reporting the bug and providing
579 the test case.
580
581 4. Changed dump to enable the creation of volumes of different
582 sizes in a single run (make -B accept a list of values).
583 Patch contributed by Florian Zumbiehl <[email protected]>.
584
585 5. Use the glibc provided minor() and major() macros instead
586 of our own bitmask implementation. This should be safe for
587 when the major/minor namespace will migrate to 32 bits.
588 Thanks to Zhang Jun <[email protected]> for reporting
589 the bug.
590
591 6. Made explicit in the dump man page that dump will not create
592 a remote file, it will only write to an already existing one.
593
594 7. Another try at making size estimates better again.
595
596 8. Put back the inconditional running of the end-of-tape
597 script which was changed in 0.434 to be run only when -M
598 or multiple -f were NOT specified. Some users rely on this
599 feature even when it is combined with -M/-f.
600
601 9. Fixed restore when restoring huge backups (where rstdir...
602 temporary files are over 2GB). Thanks to
603 Raphael Jaffey <[email protected]> for reporting this,
604 debugging the issue and making the patch.
605
606 10. Made restore understand FreeBSD UFS2 tapes. Thanks to
607 David <[email protected]> for submitting the bug
608 and providing a test case.
609
610 11. Made dump work with an arbitrary integer level (no more 10
611 levels only limitation). Thanks to Matthew
612 <[email protected]> for the patch.
613
614 Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
615 =======================================================================
616
617 1. Added a note in the dump man page saying that the default
618 blocksize can be 32 if -d is used with a high density argument.
619 Thanks to Antonios Christofides <[email protected]>
620 for the patch.
621
622 2. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
623 LDFLAGS environment variables. Thanks to Arcady Genkin
624 <[email protected]> for reporting the bug.
625
626 3. Made -e/-E options of dump accept an unlimited number of inodes
627 to be excluded, rather than a hardcoded maximum. Thanks to
628 Dietrich Rothe <[email protected]> for the patch.
629
630 4. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
631 and -D_USE_BSD_SIGNAL defines in configure in order to solve
632 64bit build problems because quad_t is redifined with a
633 different signature. Thanks to Mike Harris <[email protected]>
634 for reporting this bug.
635
636 5. Made restore build on Solaris, making possible to
637 restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
638 <[email protected]> for the patch.
639
640 6. Made an extension in the dump tape format capable of saving
641 MacOSX specific inode extensions. Uwe Gohlke <[email protected]>
642 wrote the extension and contributed the restore code back
643 into this codebase. The same extension mechanism will be
644 used in the future to save ACLs...
645
646 7. Made rmt work correctly with regard to QFA and local/remote
647 files and tapes. The remote access will however work only
648 when the dump provided rmt version is used. If you want to
649 use another rmt server, please do not use the QFA feature.
650 Thanks to Uwe Gohlke <[email protected]> for the patch.
651
652 Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
653 ====================================================================
654
655 1. Fixed the INSTALL file to reflect the actual install paths.
656 Thanks to David Ronis <[email protected]> for
657 reporting the bug.
658
659 2. Fixed the configure script to only check for headers presence
660 instead of trying to compile them. This should fix issues
661 with old build environments. Thanks to Kari Lempiainen
662 <[email protected]> for reporting the bug.
663
664 3. Fixed restore to correctly ignore sockets when comparing
665 a dump (as socket cannot be properly restored anyway). Thanks
666 to Gunther Reiszig <[email protected]> for reporting the bug.
667
668 4. Fixed restore to correctly access the archive file (-A argument)
669 even when using a remote tape. Thanks to Fabrice Bellet
670 <[email protected]> for reporting the bug.
671
672 5. Fixed (again) handling of long (largefile) seeks in rmt.
673 Thanks to Fabrice Bellet <[email protected]> for reporting
674 the bug.
675
676 6. Fixed restore corner case when dealing with large block sizes
677 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
678 <[email protected]> for reporting the bug.
679
680 7. Fixed a bug preventing dump to access a filesystem having
681 a label exactly 16 bytes in length. Thanks to <[email protected]>
682 for reporting the bug.
683
684 8. Made dump store dump dates using explicit timezones, fixing a
685 problem with incremental dumps if the timezone is modified
686 between the dumps. Thanks to Philippe Troin <[email protected]> for
687 the bug report and the patch.
688
689 9. Fixed a bug encountered when dumping individual files (not full
690 filesystems or directories) and dangling symbolic links happen
691 to be in the list of files. For as far as dump is concerned,
692 dangling symbolic links are allowed, and are dumped as is.
693 Thanks to Jin-su Ahn <[email protected]> for reporting the
694 bug and providing the fix.
695
696 10. Fixed open and creation modes and permissions for QFA and
697 table-of-contents files in dump and restore. Thanks to
698 Philippe Troin <[email protected]> for the patch.
699
700 11. Fixed the archive file descriptor handling enabling it to be 0.
701 This can happen in some cases when shell redirections are used.
702 Thanks to Philippe Troin <[email protected]> for the patch.
703
704 12. Delayed the opening of archive file until after suid had been
705 dropped (fixing a possible security issue if dump is suid).
706 Thanks to Philippe Troin <[email protected]> for the patch.
707
708 13. Fixed the 'S' command handling in the rmt client part.
709 Thanks to Philippe Troin <[email protected]> for the patch.
710
711 14. Modified the end-of-tape script handling to print out statistics
712 (and stop the timer) before launching the eot script. Also, the eot
713 script does not get run anymore when using -M (which makes sense) or
714 when multiple tapes are listed on the command line
715 (-f tape0,tape1,tapen) (which also makes sense).
716 Thanks to Philippe Troin <[email protected]> for the patch.
717
718 15. Relicensed dump/restore under the 'revised' BSD license, as per
719 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
720
721 16. Added LZO compression to dump. This new compression method has
722 the advantage of being super fast, thus not killing tape streaming
723 on slow machines. Thanks to Helmut Jarausch
724 <[email protected]> for the patch and to
725 Markus Oberhumer <[email protected]> for giving special permission
726 to include his miniLZO project (GPL licensed) in dump/restore.
727
728 17. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
729 <[email protected]> for reporting the bugs.
730
731 18. Added a special rmt version which can do encryption when writing
732 to tape. Read examples/encrypted_rmt/README for details on
733 how to enable and configure it. Thanks to Ken Lalonde
734 <[email protected]> for the patch.
735
736 19. Made dump work with 2.5 kernel end of tape early warning semantics.
737 Thanks to Kai Makisara <[email protected]> for the patch.
738
739 20. Fixed a bug which caused dump -w|-W not to work anymore, because
740 the fs_freq and fs_passno fields in /etc/mtab are always set
741 to 0 0. Thanks to Trent Piepho <[email protected]> for
742 reporting the bug.
743
744 Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
745 =======================================================================
746
747 1. Added a note in the restore man page clarifying the question
748 'set the permissions on the current directory ?' asked by
749 restore at the end of treatment in -i and -x modes.
750
751 2. Fixed the endianess issues when reading compressed tapes.
752 Thanks to Dark Force <[email protected]> for
753 reporting this bug and providing test cases.
754
755 3. Fixed the "ACL won't be dumped" warning message (which showed
756 an extra, unrelated error message). Thanks to Dragan Krnic
757 <[email protected]> for reporting this bug.
758
759 4. Made dump look first into /etc/mtab, then into /etc/fstab
760 when searching for filesystem paths. Also fixed some problems
761 caused by binding mounts or multiple block device mounts.
762 Thanks to Matus Uhlar <[email protected]>, Elliott Mitchell
763 <[email protected]>, Greg Edwards <[email protected]>,
764 Brian Hoy <[email protected]>. (fixes Debian bugs #147086
765 and #160305, Sourceforge bugs #618699 and #679832).
766
767 5. Made dump's -I option accept the value '0' meaning all the
768 read errors will be ignored. This can be useful when running
769 dump from unattended sessions (like cron jobs). Thanks to
770 John I Wang <[email protected]> for the suggestion.
771
772 6. Fixed the output of dump to indicate 'blocks' instead of
773 'tape blocks' in the various messages (blocks are always
774 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
775 made it clearly print the current blocksize at the start of
776 a dump. Thanks to Michal Szymanski <[email protected]> for
777 the suggestions.
778
779 7. Made rmt understand long (largefiles) seeks.
780
781 8. Fixed build with very old versions of libext2fs, where
782 EXT2_FT_* constants were undefined.
783
784 9. Made dump accept the dumpdates path on the command line
785 (-D file option) instead of using only the hardcoded one.
786 Thanks to Piete Brooks <[email protected]> for the
787 suggestion.
788
789 10. Enabled rmt, LFS, readline, QFA options by default in
790 ./configure. Updated the configure process (new versions
791 of config.guess, config.sub etc).
792
793 Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
794 =======================================================================
795
796 1. Changed dump to use fcntl(F_SETLK) style locking instead
797 of flock() when locking the dumpdates file. With the old
798 locking scheme, a local user having read rights on the
799 dumpdates file could be able to do a Denial of Service attack
800 on dump. In order to lock the dumpdates file with the new
801 scheme, the user would need to have write access on the file.
802 Thanks to Richard Johnson <[email protected]> for
803 reporting the bug (originally a bugtraq post).
804
805 2. Fixed interactive 'ls' which caused spurious errors warnings
806 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
807 <[email protected]> for reporting this
808 bug.
809
810 3. Fixed dump's estimate when dealing with sparse inodes.
811
812 4. Modified dump to allow setting a blocksize bigger than 32kB
813 (raised the limit to 1024kB), because newer hardware needs
814 this for proper operation. Thanks to Dirk Traenapp
815 <[email protected]> for reporting this.
816
817 5. Fixed a bug causing Dump to stop and report an error if an
818 inode number in the exclude file was followed by some amount
819 of whitespace. Thanks to Jeffrey Sofferin
820 <[email protected]> for reporting this bug.
821
822 6. Fixed a bug which caused restore, in some particular cases,
823 to ask some 'scary' questions and leave a bunch of RSTTMP
824 directories behind when restoring incremental tapes. Thanks
825 to Philippe Troin <[email protected]> for reporting this bug and
826 providing the test cases.
827
828 7. Changed the wording when inodes are excluded from dump:
829 replaced 'Added inode 7 to exclude list' with
830 'Excluding inode 7 (resize inode) from dump', as suggested
831 by Elliott Mitchell <[email protected]> in a Debian bug report.
832
833 Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
834 ===================================================================
835
836 1. Fixed rmt open flags transmission (GNU's symbolic syntax over
837 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
838 <[email protected]> for reporting the bug.
839
840 Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
841 ===================================================================
842
843 1. Made dump print out the ext2 logical block number in case of a read
844 error, which can be given as an argument to debugfs' ncheck command,
845 in order to find out the affected inode. Added note about this
846 usage in dump's man page.
847
848 2. Fixed a problem in restore when reading tapes written on big
849 endian machines with very old versions of dump. The patch was
850 contributed by George Helffrich <[email protected]>.
851
852 3. Fixed the tape length calculation when using large tapes
853 and compression. Thanks to Georg Lippold
854 <[email protected]> for reporting the bug.
855
856 4. Added a new set of examples in dump_on_cd_2 directory, based
857 on dump_on_cd examples but somewhat enhanced, supporting DVD
858 media, and localized in english and german. Thanks to
859 Georg Lippold <[email protected]> for the new scripts.
860
861 5. Made dump save 32 bit UID/GID. Internally, this was achieved
862 by switching from the old BSD inode format to the new BSD
863 inode format, which means that the tape format was changed.
864 However, since all restore versions out there should
865 transparently support both inode formats, the change should
866 have no side effects. Thanks to John Yu <[email protected]> for
867 reporting the bug.
868
869 6. Fixed a lot of warnings in the code shown when compiling
870 with 'gcc -W'. Thanks to Matthias Andree
871 <[email protected]> for reporting this.
872
873 7. Fixed a small markup bug in the dump man page. Thanks to
874 Eric S. Raymond <[email protected]> for submitting the
875 patch.
876
877 8. Rewrote entirely the man pages using the tmac.an macro
878 package (Linux man page format) instead of the original BSD
879 format. They should be now cleaner and easier to modify.
880
881 Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
882 ==================================================================
883
884 1. Fixed a problem in the rmt ioctl command, where ioctl's issued from
885 non Linux clients were misinterpreted. The description of the problem
886 (incompatible numbering in Linux mtio opcodes) is documented at
887 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
888 Jörg Schilling <[email protected]> for reporting this bug and
889 providing an excellent, cross-platform replacement for rmt in his
890 star package.
891
892 2. Fixed a bug reported by Andy Mentges <[email protected]>
893 which caused restore to fail when the inode maps were not entirely
894 contained on the first volume (when using really small volumes or
895 when dumping a huge number of inodes).
896
897 3. Fixed a problem in dump, where files in subdirectories of directories
898 that have the nodump flag set (or being excluded with -e/-E) were
899 sometimes incorrectly dumped (instead of being excluded). The original
900 fix is from David C Lawrence <[email protected]> in the FreeBSD version
901 of dump: https://bugs.freebsd.org/32414
902 Thanks to Ted Grzesik <[email protected]> for reporting the bug and
903 help testing the patch.
904
905 4. Added some example scripts from Gerd Bavendiek <[email protected]>
906 which makes one able to pipe the output of dump, by the net, to
907 a remote CD-burner server.
908
909 5. Made dump use O_CREAT|O_TRUNC both locally and remotely (over rmt),
910 and use GNU's symbolic syntax over rmt instead of numerical values
911 to assure multiple platform compatibility.
912
913 6. Documented the -d option in restore.
914
915 7. Added a -v (verbose) mode to dump. For now it just prints the number
916 of the inode being dumped, but this could evolve in future versions
917 to include interesting debugging output.
918
919 8. Added a -o flag to restore, which automatically restores the current
920 directory permissions in -i or -x mode, without asking the operator
921 whether to do so. Patch submitted by Tony Clayton <[email protected]>
922 and Peter Samuel <[email protected]>.
923
924 Changes between versions 0.4b27 and 0.4b28 (released April 12, 2002)
925 ====================================================================
926
927 1. Fixed a bug in the QFA feature which could have caused
928 a bad tape positionning on restore (causing extra delays in
929 restore). Credits go to Uwe Gohlke <[email protected]>.
930
931 2. Added a small note in the dump man page specifying that
932 there should be no white space between the option letter and
933 the -j or -z parameter, thanks to Kenneth Porter <[email protected]>
934
935 3. Made restore work with older versions of the readline library,
936 by checking in configure for several extended symbols. Restore
937 can now be compiled with a readline as old as the 2.0 release
938 (though it may be a good idea to upgrade it to a more recent
939 version...). Thanks to Andrew Donkin <[email protected]> for
940 reporting the build failures.
941
942 4. Fixed a performance problem with the QFA file creation in
943 dump, which made unnecessary seeks on the tape slowing down
944 the dump. Thanks to Andrew Donkin <[email protected]> for
945 reporting this issue.
946
947 5. Removed the inclusion of some kernel headers in the dump
948 source, which prevented the compile in some kernel/glibc
949 headers/architecture combination. Thanks to Bdale Garbee
950 <[email protected]> for reporting the bug.
951
952 6. Added the appropriate error message when dump fails to
953 open the output file for writing. Thanks to Amith Varghese
954 <[email protected]> for reporting this bug.
955
956 7. Made restore able to understand large Solaris ufsdump tapes
957 (containing inodes bigger than 4194304). Sun have introduced
958 an "extension" to the dump tape format when dealing with
959 those inodes, which was uncorrectly handled by Linux restore.
960 Thanks to Uwe Gohlke <[email protected]> for reporting the bug and
961 providing a test case.
962
963 8. Added the -m parameter to dump which optimises the output for
964 inodes having been changed but not modified since the last dump
965 ('changed' and 'modified' have the meaning defined in stat(2)).
966 For those inodes, dump will save only the metadata, instead of
967 saving the entire inode contents. Inodes which are either
968 directories or have been modified since the last dump are saved
969 in a regular way. Uses of this flag must be consistent, meaning
970 that either every dump in an incremental dump set have the flag,
971 or no one has it.
972
973 Changes between versions 0.4b26 and 0.4b27 (released February 15, 2002)
974 =======================================================================
975
976 1. Fixed behaviour of dump when exceeding resource limits
977 (SIGXFSZ treatment).
978
979 2. Added the -L flag to restore to allow the user to specify a
980 maximal allowed number of miscompares when using restore
981 with the -C option to check the backup.
982
983 3. Detailed the manual entry for the -N option of restore.
984
985 4. Added the -a flag to restore to make able doing unattended
986 restores in -i or -x mode (automatically walks through the
987 multiple dump volumes).
988
989 5. Extended the QFA mode to work with local files and/or
990 remote tapes and files. This way, restore can know in advance
991 the tape number and the offset for the inodes to extract and
992 can minimize the extraction time by seeking directly to the
993 good tape/offset.
994
995 6. Added the -A <archive> option to both dump and restore,
996 which makes dump to archive a dump table-of-contents in
997 the specified file to be used by restore to determine
998 whether a file is in the dump file that is being restored.
999 (the archive file syntax is also compatible with the
1000 Solaris ufsdump generated one).
1001
1002 7. Small fix in restore making it able to read some (broken ?)
1003 Solaris ufsdump tapes.
1004
1005 8. Fixed dump to correctly recognise the root filesystem when using
1006 ext2 disk labels (LABEL=/). Thanks to John Yu <[email protected]>
1007 for reporting this bug.
1008
1009 9. Added the -P <file> option to restore to create a
1010 Quick File Access file from an already made dump. Patch
1011 contributed by Uwe Gohlke <[email protected]>.
1012
1013 10. Made restore compile and run on Solaris, making it a
1014 possible replacement for the standard ufsrestore. Port was
1015 contributed by Uwe Gohlke <[email protected]>.
1016
1017 Changes between versions 0.4b25 and 0.4b26 (released January 7, 2002)
1018 =====================================================================
1019
1020 1. Added a set of backup scripts from Eugenio Diaz
1021 <[email protected]> in the examples section. It features
1022 automatic (cron based) full and incremental dumping of
1023 several filesystems on a separate filesystem.
1024
1025 2. Fixed a off-by-one miscalculation which disabled dumping
1026 a one letter subdirectory. Thanks to Chris Siebenmann
1027 <[email protected]> for reporting the bug.
1028
1029 3. Fixed several restore bugs occuring when trying to
1030 restore some missing files on the tape. Thanks to Chris
1031 Siebenmann <[email protected]> for reporting the bug.
1032
1033 4. Fixed --with-ldopts configure argument passing, installing from
1034 a separate object directory, makefile cleanups contributed
1035 by <[email protected]>.
1036
1037 5. Fix a bug which could caused, in some conditions, the highest
1038 number inode of a filesystem, to not be dumped. Many thanks
1039 to Chris Siebenmann <[email protected]> for helping me
1040 chase this bug.
1041
1042 Changes between versions 0.4b24 and 0.4b25 (released November 17, 2001)
1043 =======================================================================
1044
1045 1. Added a mini howto from Patrick Walsh in the examples
1046 directory.
1047
1048 2. Minor man pages syntax corrections. Thanks to
1049 Chris Danis <[email protected]> for reporting the bugs.
1050
1051 3. Added a script from David B. Peterson <[email protected]>
1052 to the examples section. It features dumping several
1053 filesystems to a remote tape drive upon ssh.
1054
1055 4. Added a patch provided by Richard Jones <[email protected]>
1056 which allows BRADEMAX (number of read errors tolerated by
1057 dump) to be adjusted using the -I option.
1058
1059 5. Fixed a bug which disabled doing "restore -C -f -". Thanks
1060 to Clemens Stiglechner <[email protected]> for the
1061 patch.
1062
1063 6. Add the -l option to restore to specify if, when doing a
1064 remote restore, the file used to access the backup is a
1065 regular file (the defaults being a tape drive). Restore needs
1066 to know this information when reading a remote compressed
1067 dump. Previously, this information was autodetected, but
1068 the autodetection code fails (with ioctl: Inappropriate ioctl
1069 for device) when using a non Linux remote box. Thanks to
1070 many users and especially to Eros Albertazzi
1071 <[email protected]> for reporting this.
1072
1073 7. Found a workaroung for the dump deadlock problem (3 childs
1074 stuck in pause(), father in read()). The workaround seems
1075 to work for me and several beta-testers. If it doesn't work
1076 for you, please report back.
1077
1078 8. Updated the RPM spec file (BuildPrereq, URL etc).
1079
1080 Changes between versions 0.4b23 and 0.4b24 (released September 12, 2001)
1081 ========================================================================
1082
1083 1. Fixed the permissions of a newly created QFA file by dump.
1084
1085 2. Cleaned up the source of dump (the external variables
1086 definition was a complete mess, making possible to have
1087 objects overlap).
1088
1089 3. Fixed restore to use the full tape volume path when doing
1090 a compare (since it changes the working directory to the
1091 filesystem being compared in the process).
1092
1093 4. Added the -q option to dump which makes dump abort
1094 whenever it needs operator attention. It should be
1095 easier to use dump in scripts with this option.
1096
1097 5. Detect the use of incompatible options to dump and
1098 refuse them (like -a and -B options together).
1099
1100 6. Added bzip2 compression to dump/restore (use option -j level
1101 to select it). Note that you will need a restore version
1102 >= 0.4b24 in order to restore a bzip2 compressed dump.
1103 The same warning as for the zlib compression applies:
1104 the tape format of a bzip2 dump is not compatible with the
1105 original BSD tape format.
1106
1107 7. Fixed a overflow problem in dump corrupting the dump when
1108 very large files were encountered. Thanks to Vladimir Nadvornik
1109 for the bug report.
1110
1111 8. Added a ioctl(BLKFLSBUF) in dump which should flush the
1112 kernel buffer/page cache before starting the dump, helping
1113 a bit those who use dump on mounted filesystems. Thanks to
1114 John Yu <[email protected]> and to Theodore T'so <[email protected]>
1115 for this suggestion.
1116
1117 9. Updated the RPM spec file following the RedHat changes
1118 (dynamically linked binaries now in /usr/sbin etc).
1119
1120 10. Added a patch from Helmut Jarausch <[email protected]>
1121 which enables restore to recognise multi volume compressed dumps
1122 done on CD. Included his scripts for dump (which pipe the dump
1123 output directly into cdrecord) and restore. There is now
1124 possible to to backups to CD on the fly!
1125
1126 Changes between versions 0.4b22 and 0.4b23 (released July 20, 2001)
1127 ===================================================================
1128
1129 1. Fixed a buffer overflow in restore/tape.c. Patch provided by
1130 Marcus Meissner (Caldera International Security Dept.).
1131
1132 2. Implement the Sun rmt extended protocol. Patch submitted
1133 by Ian Gordon <[email protected]>.
1134
1135 3. Check for the e2fsprogs header <ext2fs/ext2_fs.h> instead of
1136 the linux kernel header. This ensures that dump always has the
1137 latest version of this file. Patch submitted by
1138 Andreas Dilger <[email protected]>.
1139
1140 4. Report any filesystem present in either /etc/fstab with a
1141 positive passno or /etc/dumpdates in dump -w output.
1142 Patch submitted by Andreas Dilger <[email protected]>.
1143
1144 5. Fixed the looping problem in dump introduced in the
1145 previous version.
1146
1147 6. Changed the -B option of dump to limit the size of
1148 _compressed_ output per volume if compression is on.
1149 Patch contributed by Helmut Jarausch
1150 <[email protected]>. Note however that, since
1151 it is impossible to predict the size of the compressed
1152 data before doing the compression, the -B limit is a bit
1153 conservative.
1154
1155 7. Fixed a bug in reading the operator typed file/tape path for
1156 the next volume in restore.
1157
1158 8. Implemented a "-F script" option to restore which permits the
1159 user to specify a script which will be launched at the
1160 beginning of each tape, useful for automatic programming of
1161 tape changers for example. See the restore man page for the
1162 script parameters and return codes.
1163
1164 9. Small fix for the QFA routines provided by Uwe Gohlke
1165 <[email protected]>, and some recommendations for QFA uses in
1166 the man pages.
1167
1168 10. Fixed the multivolume restoring where making a mistake
1169 to the 'Mount next tape' prompt caused several blocks to
1170 be lost.
1171
1172 11. Enhanced the -e option of dump to take as a parameter a
1173 comma separated list of inode numbers.
1174
1175 12. Added the -E option to dump which specify a file containing
1176 inode numbers to exclude from the dump.
1177
1178 13. Fixed the compressed multi-volume dump + restore.
1179
1180 Changes between versions 0.4b21 and 0.4b22 (released May 12, 2001)
1181 ==================================================================
1182
1183 1. Made dump report the number of blocks dumped per volume.
1184 Thanks to Kenneth Porter <[email protected]> for the suggestion.
1185
1186 2. Fix a bug in dump where waiting too much at the 'change volumes'
1187 question caused the volume to be rewritten. Thanks to
1188 Graham Reed <[email protected]> for reporting the
1189 bug and providing a patch.
1190
1191 3. Added a compression option to dump, contributed by Jerry
1192 Peters <[email protected]>.
1193
1194 WARNING: the compression works only on files/pipes and
1195 drives supporting variable block size.
1196
1197 WARNING2: tapes created using the compression feature are
1198 incompatible with the standard dump tape format, and a
1199 version of restore >= 0.4b22 will be needed for extraction.
1200
1201 4. Fixed some compilation problems for glibc 2.2.2 and 64 bit
1202 architectures. Thanks to Paul Slootman <[email protected]> for
1203 the patch and to Bdale Garbee <[email protected]> for forwarding
1204 it upstream.
1205
1206 5. Many cleanups (CPP defines, const char warnings, check of
1207 ext2fs COMPAT flags, time_t cleanups, added libext2 version
1208 in dump usage text) by Andreas Dilger <[email protected]>.
1209
1210 6. Made --prefix option work in configure. All the install path
1211 are now based on the configure parameters.
1212
1213 7. Added the Quick File Access mode in dump/restore, contributed
1214 by Uwe Gohlke <[email protected]>. In this mode, dump stores in
1215 a file tape position for each inode, and this file is used by
1216 restore (if called with parameter Q and the filename)
1217 to directly position the tape at the file restore is currently
1218 working on. This saves hours when restoring single files from
1219 large backups, saves the tapes and the drive's head. Use
1220 --enable-qfa option of configure to compile in the QFA support.
1221
1222 8. Added the possibility to dump several files and directories
1223 in a single invocation of dump. Thanks to Uwe Gohlke
1224 <[email protected]> for implementing this option.
1225
1226 9. Fixed the dumping and restoring of files with holes
1227 (files ending with holes didn't get dumped or restored
1228 correctly).
1229
1230 10. Fixed a socket descriptor leak in dump, which leaved opened
1231 3 file descriptors per dump process (and there is one dump
1232 process per tape).
1233
1234 11. Fixed dump large file system support, by explicit use of
1235 open64/lseek64/etc functions (explicit use needed because
1236 e2fsprogs libraries don't behave well when compiled with
1237 FILE_OFFSET_BITS=64).
1238
1239 Changes between versions 0.4b20 and 0.4b21 (released January 13, 2001)
1240 ======================================================================
1241
1242 1. Fixed some bugs in the dump -w|-W logic introduced by
1243 the previous version. Thanks to Andreas Dilger
1244 <[email protected]> for his help on this one.
1245
1246 2. Fixed again a compilation problem when using old e2fs
1247 headers (filesystem label related). Thanks to many users
1248 who reported this stupid error.
1249
1250 3. Fixed a build problem on old lib5 based systems dealing with
1251 _PATH_MNTTAB being undefined. Thanks to John Adams
1252 <[email protected]> for reporting the bug.
1253
1254 4. Improved the error detection in restore when creating
1255 the temporary files in TMPDIR. Now restore will corectly
1256 report a 'no space left on device' error instead of
1257 strange errors which could imply an archive corruption.
1258 Thanks to Gabriel Somlo <[email protected]> and
1259 bgjenero <[email protected]> for reporting the bug.
1260
1261 5. Added the throughput information in dump's progression
1262 messages. Thanks to Andreas Dilger <[email protected]>
1263 for the patch.
1264
1265 6. Use libext2fs's inode scanning routines, which are particularly
1266 robust when dealing with errors (especially when having some
1267 bad blocks on the filesystem). Many thanks to Colin
1268 <[email protected]> for reporting the bug, investigating
1269 the issues, finding a workaround, writing the patch and
1270 fully testing it... (of course, if this patch will break
1271 anything, he is to blame for :-)).
1272
1273 7. Made dump and restore LFS aware. Dump can dump a filesystem
1274 containing large files, generate a large file on output and
1275 restore can restore them. This feature is not enabled by
1276 default, use --enable-largefile option of configure to enable
1277 it (you need to have a LFS aware glibc though). Thanks to
1278 Andrea Arcangeli <[email protected]> for submitting the patch,
1279 and to Theodore T'so <[email protected]> for his always
1280 useful thoughts.
1281
1282 8. Made dump ask upon a tape write error if it should rewrite
1283 the current volume (assume this is a bad tape) or if it should
1284 assume an end-of-tape condition (useful for tape drives which
1285 behaves badly at the end of the tape). Thanks to Andreas
1286 Dilger <[email protected]> for the suggestion.
1287
1288 Changes between versions 0.4b19 and 0.4b20 (released November 10, 2000)
1289 =======================================================================
1290
1291 1. Fixed a small compilation problem due to a change
1292 in the definintion of the struct sigaction in
1293 glibc 2.0 / libc5. Thanks to Gunther Schlegel
1294 <[email protected]> for reporting the bug and to
1295 Dave Platt <[email protected]> for suggesting
1296 a fix.
1297
1298 2. Modified the label and uuid analysis in order to be
1299 self-contained (independant of kernel/libc headers). This
1300 should fix the compile with older kernel/libc headers and
1301 will preserve the functionality. Thanks to Bernhard Erdmann
1302 <[email protected]> for reporting the bug.
1303
1304 3. The 'exclude inode' option, if applied to a directory
1305 inode, excludes now correctly all the leaves of this
1306 directory. Thanks to John R. Dennison
1307 <[email protected]> for reporting the bug.
1308
1309 4. Fixed the '-e' option to disable the possibility
1310 to exclude the root inode (which causes the dumps to
1311 be unreadable by restore). Prevented array overflow
1312 when multiple -e options are used.
1313
1314 5. Fixed dump to correctly interpret a filesystem argument
1315 which is a mountpoint and it is not an absolute path
1316 (as specified in the fstab). Thanks to Bernhard R. Erdmann
1317 <[email protected]> for reporting the bug.
1318
1319 6. Made dump able to backup files larger than 2 GB. Note that
1320 dump still doesn't cope with files larger than 4 GB.
1321
1322 7. Restore the real uid and gid before invoking an external
1323 RSH program (big hole when dump or restore is suid root!).
1324
1325 8. Get the values for the default tape device and the location
1326 of fstab file from the system headers. Thanks to
1327 Andreas Dilger <[email protected]> for the patch.
1328
1329 9. Made dump -w|-W report all recognized filesystems
1330 present in either /etc/fstab or /etc/dumpdates, and present
1331 the list in the same order as in fstab file. Thanks
1332 to Andreas Dilger <[email protected]> for the patch.
1333
1334 10. Made dump's -a (automatic end of tape detection) the
1335 default. Specifying one of -B, -c, -d or -s options will
1336 override the EOM detection. Thanks to Andreas Dilger
1337 <[email protected]> for the patch.
1338
1339 11. Save the ext2 filesystem label into the dump volume label.
1340 Specifying a volume label on the command line (-L option)
1341 will override this feature. Thanks to Andreas Dilger
1342 <[email protected]> for the patch.
1343
1344 Changes between versions 0.4b18 and 0.4b19 (released August 20, 2000)
1345 =====================================================================
1346
1347 1. Fixed the signal handling in dump (which I broke in 0.4b17)
1348 which was causing several strange dump failures (dump
1349 hanged or segmentation faults etc).
1350
1351 2. Specified the default blocksize in the dump man page.
1352
1353 3. Changed two info messages of restore to be written on stdout
1354 instead of stderr in order to leave stderr only for errors
1355 or warnings. Thanks to Stephen Atwell
1356 <[email protected]> for the suggestion.
1357
1358 4. Corrected an off by one calculation which prevented
1359 dumping a directory having a 1 character name length.
1360 Thanks to Bernhard Erdmann <[email protected]>
1361 for reporting the bug.
1362
1363 5. Reinforce dump in order to allow only level 0 and no
1364 -u option when dumping a subdirectory, and document
1365 this in the man page. Thanks to Bernhard Erdmann
1366 <[email protected]> for reporting the bug.
1367
1368 6. Fixed a small harmless bug in restore which caused
1369 in some conditions hard links to be restored several
1370 times (therefore generation some warning messages).
1371 Thanks to Kenneth Porter <[email protected]> for
1372 reporting the bug.
1373
1374 7. Updated the RPM spec file to the latest RedHat version,
1375 providing FHS packaging and other cosmetic changes.
1376 You will need RPM version >= 3.0.5 in order to build the RPM.
1377
1378 8. Updated the configure script to check for libtermcap
1379 before checking for libreadline, because we need this
1380 library in order to compile the readline support.
1381
1382 9. Made dump understand the LABEL= and UUID= notation
1383 both in /etc/fstab and on the command line. Note that
1384 you will need the /proc filesystem in order to use
1385 these notations. Thanks to Erik Troan <[email protected]>
1386 for providing the patch.
1387
1388 Changes between versions 0.4b17 and 0.4b18 (released June 30, 2000)
1389 ===================================================================
1390
1391 1. Fixed a potential buffer overflow in restore. Thanks
1392 to Stan Bubrouski <[email protected]> for reporting
1393 the bug.
1394
1395 2. Fixed a readline-related bug which prevented
1396 'cat DUMPFILE | restore -i -f -' from working. Thanks
1397 to Charles Karney <[email protected]>
1398 for the bug report.
1399
1400 3. Changed a few "panic" into "exit", causing restore to
1401 be more stable against some attacks (like the last one
1402 reported on Bugtraq, although the last version of restore
1403 was not vulnerable - just dumped core). Thanks to
1404 Andreas Hasenack <[email protected]> for reporting
1405 the bugs to me.
1406
1407 4. Removed the suid-root bit on dump and restore in the
1408 default build (and generated RPMs). It should be safer
1409 now. Users who need the suid-root capabilities in order
1410 to make network backups should read first the man page
1411 of dump and enable the suid bit manually.
1412
1413 5. Added -ltermcap to the compile parameters for restore
1414 when using readline support, in order to make the compile
1415 process work on some systems (SuSE ?). Thanks to
1416 Patrik Schindler <[email protected]> for reporting the bug.
1417
1418 Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000)
1419 ====================================================================
1420
1421 1. The -F script is called now *only* at the end of a tape,
1422 not at the end of the dump. Thanks to Christian Haul
1423 <[email protected]> for the bug report.
1424
1425 Normally, the device name and the current volume number
1426 are passed on the command line of the script. However,
1427 if you want the old style script (with no arguments
1428 passed on the command line), you can enable it in
1429 configure with the --enable-oldstylefscript.
1430
1431 2. Use posix signal handling to preserve dump functionality
1432 with libc5. Thanks to Jeff Johnson <[email protected]> for
1433 the patch.
1434
1435 3. Made the exit code of restore in case of a 'C'ompare
1436 command reflect the result of the compare. An exit status
1437 of 0 means the dump archive is correct, 1 means tape errors,
1438 2 means that some files were modified. Thanks to Kenneth Porter
1439 <[email protected]> for the suggestion.
1440
1441 4. Made (finally) quotes work in interactive restore.
1442
1443 5. Small fixes in order to allow dump to compile with a
1444 really old e2fsprogs version. Thanks to Ian Zimmerman
1445 <[email protected]> for the bug report.
1446
1447 6. Add GNU readline capabilities to interactive restore.
1448 Use configure's --enable-readline flag to enable this feature.
1449 Thanks to Patrik Schindler <[email protected]> for the
1450 suggestion.
1451
1452 7. Do the compare on the fly in restore 'C' mode (this will
1453 allow not to exhaust the available /tmp space when
1454 ccmparing large files). Thanks to Kenneth Porter
1455 <[email protected]> for the suggestion.
1456
1457 Changes between versions 0.4b15 and 0.4b16 (released March 11, 2000)
1458 ====================================================================
1459
1460 1. Fixed some several duplicate 'DUMP: DUMP:' in the
1461 output of dump.
1462
1463 2. Corrected the estimation of blocks to dump. Note that
1464 this is still wrong for large directory inodes, due
1465 to the size of a BSD directory entry on the tape
1466 (estimation is based on the size of the ext2 directory,
1467 which is smaller because it doesn't contain the null
1468 character at the end).
1469
1470 3. Made dump report the total number of MB written to
1471 tape at the end of run. Thanks to W. Reilly Cooley
1472 <[email protected]> for the patch.
1473
1474 4. Added the -X option to restore giving the possibility
1475 to read the names of the files to be extracted/listed
1476 from a text file (in addition of the command line).
1477 Thanks to Dejan Muhamedagic <[email protected]> for the
1478 patch.
1479
1480 5. Added the device name and the current volume number
1481 as arguments to the end of tape script (dump -F option).
1482
1483 6. Made the multi-volume dump work again (after having
1484 broken it in 0.4b15).
1485
1486 Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000)
1487 ===================================================================
1488
1489 1. Added a prompt command in interactive restore mode. Thanks
1490 to Andreas Dilger <[email protected]> for the patch.
1491
1492 2. Fixed a buffer overflow problem in dump (caused by
1493 not checking the size of the filesystem parameter).
1494 Thanks to Kim Yong-jun <[email protected]> for
1495 reporting this on Bugtraq (and to several dump users
1496 who forwarded me his mail).
1497
1498 3. Added the '-F script' option to dump in order to
1499 launch a script at the end of each tape (to be used
1500 with a tape changer, or to notify the sysadmin by
1501 pager etc.).
1502
1503 4. Fixed a bug in restore compare code caused by the changes
1504 I made in 0.4b14.
1505
1506 5. Fixed the treatment of options using the old BSD syntax
1507 in both dump and restore.
1508
1509 Changes between versions 0.4b13 and 0.4b14 (released February 10, 2000)
1510 =======================================================================
1511
1512 1. Fixed a bug in dump which may have caused invalid deleted
1513 directories to be dumped out if they were deleted after the
1514 mapping pass. This could occure on active filesystem and lead
1515 to heap corruption (causing dump malfunction in many possible ways).
1516 Thanks to Jan Sanislo <[email protected]> for finding this
1517 bug and submitting the patch.
1518
1519 2. Fixed the handling of the filesystem parameter in dump. A
1520 '/mnt/disk' parameter caused the disk contents to be dumped,
1521 but a '/mnt/disk/' parameter caused the mountpoint directory
1522 to be dumped (generally an empty directory).
1523
1524 3. Improved the output of dump in order to tell which directory
1525 it is currently dumping (when dumping a subtree).
1526
1527 4. Added the '-e' exclude inode option to dump. Thanks to
1528 Isaac Chuang <[email protected]> for contributing with the patch.
1529
1530 5. Added a REPORTING-BUGS file in order to provide a guide
1531 on how to correctly report a bug in dump/restore.
1532
1533 6. Fixed a restore problem when restoring a hard link to an inode
1534 having the immutable or append-only attribute set. Thanks to
1535 Ambrose Li <[email protected]> for submitting the patch.
1536
1537 7. Fixed a compatibility problem between dumps made on little
1538 endian machines (the format was correct) and big endian
1539 machines (the format was incorrect). This fix break the
1540 compatibility with the older dumps made on big endian
1541 machines (sparc, m86k, ppc etc). For the first time in
1542 linux dump's history (I believe), the dumps made by *BSD,
1543 Linux/alpha, Linux/sparc and Linux/x86 are compatible,
1544 so interchangeable. Thanks to Rob Cermak
1545 <[email protected]> for submitting the bug and
1546 helping me test the fix.
1547
1548 8. Fixed the way dump reports the remaining percent/time, if
1549 the number of blocks actually dumped exceeds the estimated
1550 number of blocks. Thanks to Jean-Paul van der Jagt
1551 <[email protected]> for reporting the bug.
1552
1553 Changes between versions 0.4b12 and 0.4b13 (released January 21, 2000)
1554 ======================================================================
1555
1556 1. Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
1557 <[email protected]> for reporting the bug.
1558
1559 2. Removed the requirement to build the RPM as root from the
1560 spec file. Thanks to Christian Weisgerber
1561 <[email protected]> for submitting this.
1562
1563 3. Fixed a bug in dump related to the 'filetype' feature of ext2fs,
1564 causing dump to block when dumping really huge filesystems.
1565 Many thanks to Patrik Schindler <[email protected]> for
1566 helping me find this bug.
1567
1568 4. Fixed the treatment for an interrupt signal when dump access
1569 the remote tape through RSH. Thanks to Christian Weisgerber
1570 <[email protected]> for providing the patch.
1571
1572 5. Fixed a bug which was causing dump/restore to display
1573 garbage characters instead of the remote host name.
1574
1575 Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
1576 =====================================================================
1577
1578 1. Small fix in the dump man page. Thanks to Thorsten Kukuk
1579 <[email protected]> for submitting the patch.
1580
1581 2. Fix for the exit code when using the size estimate option of
1582 dump. Thanks to Matti Taskinen <[email protected]> for
1583 submitting the patch.
1584
1585 3. Handle EINTR in atomical reads/writes in dump, which was causing
1586 dump to fail on some systems. Thanks to Eric Jergensen
1587 <[email protected]> for reporting the bug and submitting the patch.
1588
1589 4. Handle more than 16 characters for the device names in dumpdates.
1590 (up to 255 now). Thanks to Rainer Clasen <[email protected]> for
1591 tracking down the problem and proposing the solution.
1592
1593 5. Fixed a bug in dump which prevented the creation of the
1594 dumpdates file when doing a 0-level dump without already
1595 having a dumpdates file. Thanks to Patrik Schindler
1596 <[email protected]> for reporting the bug.
1597
1598 6. Changed the way dump 'S' flag reports the size estimate
1599 from number of blocks into bytes (making it compatible
1600 with the Solaris version, and simplifying things for
1601 amanda users). Thanks to Jason L Tibbitts III
1602 <[email protected]> for reporting the bug.
1603
1604 7. Fixed a compatibility problem in linux/alpha dump tape format.
1605 Now the linux/alpha dump are (again) compatible with the
1606 other dump formats. But this breaks compatibility with
1607 older dumps made on alpha. Thanks to Mike Tibor
1608 <[email protected]> for helping me in finding this bug.
1609
1610 Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999)
1611 ======================================================================
1612
1613 1. Added a '--enable-kerberos' to configure.
1614
1615 2. Added a 'S' option to dump which determines the amount of space
1616 that is needed to perform the dump without actually doing it, similar
1617 to the Sun's ufsdump 'S' option. Patch contributed by Rob Cermak
1618 <[email protected]>.
1619
1620 3. Added a 'M' multi-volume option to dump and restore which enables
1621 dumping to multiple files (useful when dumping to an ext2
1622 partition to make several dump files in order to bypass the 2GB
1623 file size limitation). The 'f' argument is treated as a prefix and
1624 the output files will be named <prefix>001, <prefix>002 etc. With
1625 the 'M' flag, restore automatically selects the right file without
1626 asking to enter a new tape each time.
1627
1628 4. Fixed a memory leak which was causing dump to grow very big
1629 (270MB when dumping a 10GB filesystem...). Thanks to Jason
1630 Fearon <[email protected]> for reporting the bug.
1631
1632 Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
1633 ======================================================================
1634
1635 1. Make configure test if the system glob routines support
1636 extended syntax (ALTDIRFUNC). If not, use the internal glob
1637 routines instead of system ones. Thanks to Bernhard Sadlowski
1638 <[email protected]> for reporting the bug
1639 and helping me resolve this and other minor libc5 compiling
1640 glitches.
1641
1642 2. Fix a problem when dumping a ext2fs with the 'filetype'
1643 feature enabled. Thanks to Patrick J. LoPresti
1644 <[email protected]> for reporting the bug and to
1645 Theodore Y. Ts'o <[email protected]> for providing the patch.
1646
1647 3. Made the nodump flag work on directories. A directory which
1648 has the nodump flag gets never dumped, regardless of its
1649 contents.
1650
1651 4. Integrate a patch from Jeremy Fitzhardinge <[email protected]>
1652 which allows dump on an active ext3 filesystem. However, this
1653 is a "quick and dirty" patch which enables backup of an ext3
1654 filesystem through the ext2 compatibility (by ignoring the
1655 NEEDS_RECOVERY bit). The journal file is not recognized and
1656 it is dumped (it should not).
1657
1658 5. Test the superblock compatibility flags when dumping, in order
1659 to be sure that we know how to deal with specific features.
1660
1661 Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
1662 ====================================================================
1663
1664 1. Use lchown instead of chown, fixing a possible security problem
1665 when restoring symlinks (a malicious user could use this
1666 to deliberately corrupt the ownership of important system files).
1667 Thanks to Chris Siebenmann <[email protected]> for detecting
1668 this and providing the patch.
1669
1670 Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
1671 ====================================================================
1672
1673 1. Put dump sources under CVS, added Id tags in all files so
1674 one can use 'ident' on binary files.
1675
1676 2. Added the dump/restore version in the usage text so one can
1677 easily verify the version he is using.
1678
1679 3. Small patch from Nuno Oliveira <[email protected]> which fixes
1680 a va_start/va_end problem on linux-ppc (always call va_start
1681 va_end in pairs each time we use a vararg function).
1682
1683 4. Added again the DT_* constants because old libc does not
1684 contain them :(. Thanks to Eric Maisonobe <[email protected]>
1685 for submitting the bug report.
1686
1687 5. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
1688 this should enable dumping big (huge) filesystems.
1689
1690 6. Added the RSH environment variable in order to be able to
1691 use a rsh replacement like ssh when doing remote backups (and
1692 bypass the security limitations of rcmd). Now you can do remote
1693 backups without being root (or making dump setuid root).
1694
1695 7. Modified again the way dumpdates works. For incremental dumps,
1696 we need to read dumpdates even if we are not using 'u' option.
1697 Thanks to Bdale Garbee <[email protected]> for his ideas on how
1698 this should work.
1699
1700 Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
1701 ===================================================================
1702
1703 1. Removed the 'k' flag from the restore 'about' text if kerberos
1704 was not compiled in.
1705
1706 2. Prototyped (f)setflags from e2fsprogs and corrected the calls
1707 to them (fsetflags takes a char*, setflags an open fd!).
1708
1709 3. (f)setflags is called only if the flags aren't empty. If the
1710 file is a special file, a warning is printed, because changing
1711 flags implies opening the device. Normally, a special file
1712 should not have any flag... (Debian bug #29775, patch provided
1713 by Abhijit Dasgupta <[email protected]>).
1714
1715 4. Made possible to dump a file system not mentioned in /etc/fstab.
1716 (Debian bug #11904, patch provided by Eirik Fuller <[email protected]>).
1717
1718 5. Changed the default behaviour to not create dumpdates
1719 unless 'u' option is specified. Removed the old "debian-patch"
1720 which provided the same thing. (Debian bug #38136, #33818).
1721
1722 6. Removed all those dump*announce, since they were getting old...
1723
1724 7. Added warning messages if dumpdates does not exist and
1725 when an inferior level dump does not exist (except for a level 0
1726 dump).
1727
1728 8. Debugged the glob calls in interactive mode: restore used a
1729 dirent struct which was different from the /usr/include/dirent.h
1730 one (this used to work, is it a glibc2 change?), so none of the
1731 compat glob (which used /usr/include/dirent.h) or the system glob
1732 worked. Restore use now the system dirent (and the system
1733 DT_* constants), which are compatible with BSD ones.
1734
1735 9. Added a configure flag (--with-dumpdatespath) to specify
1736 the location of dumpdates file. By default, it is
1737 /etc/dumpdates.
1738
1739 10. Added the "AUTHOR" and "AVAILABILITY" sections and
1740 included the current date/version in man pages.
1741
1742 11. Corrected the estimation of remaining time when
1743 the operator doesn't change the tapes quickly enough. This
1744 was an old bug, I thought I corrected it, and discovered
1745 that in fact it was corrected in two different places, so
1746 the results canceled each other...
1747
1748 Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
1749 ===================================================================
1750
1751 1. Integrated multiple patches from RedHat, Debian and SuSE:
1752
1753 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
1754 isn't specified.
1755 - several fixes in the man pages.
1756 - update the default tape device to /dev/st0.
1757 - many updates for Linux Alpha (byte ordering, size_t etc).
1758 - buffer overruns.
1759 - use environment variable for TMPDIR (instead of /tmp).
1760 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
1761 - workaround egcs bug (RedHat bugs #4281 and #2989).
1762 - wire $(OPT) throughout Makefile's.
1763
1764 2. Upgrade the dump revision to 1, making possible to dump filesystems
1765 made with e2fsprogs-1.15 or newer. Nothing seems to break...
1766
1767 3. Fix some compile warnings, prototype all functions.
1768
1769 4. Use glibc err/glob instead of internal compatibility
1770 routines (only if available).
1771
1772 5. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
1773 by Bernhard Sadlowski <[email protected]>).
1774
1775 Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
1776 ======================================================================
1777
1778 1. Integrated the changes from FreeBSD-3.1-RELEASE
1779 (mostly bug fixes, buffer overruns, dump has now an "automatic
1780 tape length calculation" flag, dump/restore can use kerberos now
1781 (this is NOT tested), use environment variables for TAPE and
1782 RMT etc.).
1783
1784 2. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
1785
1786 3. Corrected a bug in restore when using 'C' option with multi-volumes
1787 tapes (files splited accros two tapes give "size changed" errors
1788 when comparing).
1789
1790 4. Corrected the long standing bug when dumping multiple tapes.
1791 This works for me, needs further testing.
1792
1793 Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
1794 ====================================================================
1795
1796 1. Dump now runs correctly on kernels 2.1.x
1797 Fix made by Gerald Peters <[email protected]>
1798
1799 Changes between versions 0.4b2 and 0.4b3
1800 ========================================
1801
1802 1. Use realpath() if available
1803
1804 2. Report statistics
1805
1806 Changes between versions 0.4b1 and 0.4b2
1807 ========================================
1808
1809 1. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
1810 the patch)
1811
1812 2. Fixed restore to make it able to read FreeBSD 2.x dumps again
1813
1814 3. Fixed configure.in to correctly handle --enable-rmt
1815
1816 Changes between versions 0.3 and 0.4b1
1817 ======================================
1818
1819 1. Integrated the changes from 4.4BSD-Lite2
1820
1821 2. Integrated the patches from Debian and Red Hat
1822
1823 3. Portability changes: use the __u32, __u16, __s32, and __s16 types
1824
1825 4. Changed dump to use the Ext2fs library to get block addresses. This
1826 should solve the endianness problem on SparcLinux.
1827
1828 5. Created a configure.in file (shamelessly stolen from the e2fsprogs
1829 distribution's one) to use autoconf
1830
1831 6. Fixed a few minor bugs
1832
1833 Changes between versions 0.2e and 0.2f
1834 ======================================
1835
1836 1. Added the creation of named pipes (fifos) in restore.
1837
1838 2. Added the -N flag in the restore manual page.
1839
1840 3. Added the file kernel.patch which contains the llseek() optimization
1841 patch for 1.2.x kernels.
1842
1843 4. Fixed a bug in the restoration of symbolic links: owner and group were
1844 not restored.
1845
1846 5. Integrated some changes from FreeBSD 2.2.
1847
1848 6. Added a call to ftruncate() after restoring each file to restore
1849 correctly files ending by a hole.
1850
1851 Changes between versions 0.2d and 0.2e
1852 ======================================
1853
1854 1. Fixed a bug in the "set owner/mode" process. Every file was restored
1855 with owner = root (0) and group = root/wheel/whatever (0).
1856
1857 Changes between versions 0.2c and 0.2d
1858 ======================================
1859
1860 1. Dump is now able to backup 2GB+ filesystems.
1861
1862 2. Dump and restore can now be linked as static binaries.
1863
1864 Changes between versions 0.2b and 0.2c
1865 ======================================
1866
1867 1. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
1868
1869 Changes between versions 0.2a and 0.2b
1870 ======================================
1871
1872 1. Really fixed the bug that I should have corrected in 0.2a.
1873
1874 2. Enabled optimization again.
1875
1876 Changes between versions 0.2 and 0.2a
1877 =====================================
1878
1879 1. Disabled the optimization during compilation.
1880
1881 Changes between versions 0.1 and 0.2
1882 ====================================
1883
1884 1. Fixed a bug in fstab.c which caused a null pointer to be stored in
1885 the fs_type field (actually, I modified the file fstab.c to make it
1886 use the mntent functions).
1887
1888 2. Dump and restore now use a 4.3 BSD compatible dump format. Backups
1889 made by dump should be readable by the BSD restore and backups made
1890 by the BSD dump should be readable by restore. Unfortunately, this
1891 means that the dump format has changed between version 0.1 and version
1892 0.2 :-(
1893
1894 3. Dump is now able to backup a subtree, it is no longer limited to whole
1895 filesystems like the BSD version.
1896
1897 4. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
1898 than 2 GB.
1899
1900 Changes between versions 0.0 and 0.1
1901 ====================================
1902
1903 1. Now create links rdump and rrestore during the `make install' step.
1904
1905 2. Linux port specific bugs added to the manual pages
1906
1907 3. Incorrect estimation of the number of tapes blocks fixed when doing
1908 incremental backups.
1909
1910 4. Better ls-like format in restore in interactive mode.