-$Id: CHANGES,v 1.219 2003/03/06 14:35:48 stelian Exp $
+$Id: CHANGES,v 1.325 2011/05/23 08:34:20 stelian Exp $
-Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
+
+Changes between versions 0.4b43 and 0.4b44 (released ?????????????)
+===================================================================
+
+1. Recognize ext4 partitions in dump -w commands (Sourceforge
+ bug #3125587, RedHat bug #658890). Thanks to Jan Görig
+ <jgorig@users.sourceforge.net> for reporting the bug and
+ submitting the patch.
+
+2. Fix an issue with multi volume backups, which breaks
+ restoring of files which are splitted on two or more
+ volumes and are starting on 2nd tape or later (RedHat
+ bug #507948).
+
+3. Fix a bug in dump when dumping files with holes. This bug
+ was introduced in 0.4b42 while adding ext4 support.
+ (Sourceforge bug #3133762).
+
+4. Fix a bug in restore -P where useless index files for compressed
+ dumps were created (Debian bug #583093). Thanks to
+ Mark Wooding <mdw@distorted.org.uk> for the patch.
+
+5. Fix SYS_clone invocation on s390 architectures (Sourceforge
+ bug #3303235). Thanks to Adam Tkac <atkac@redhat.com> for
+ reporting the bug.
+
+6. Fix static builds. Thanks to Peter Volkov <pva@gentoo.org>
+ for the patches.
+
+7. Fix false negatives in configure zlib test. Thanks to
+ Bear Giles <bgiles@coyotesong.com> for the patch.
+
+8. Add quick regression script from Bear Giles <bgiles@coyotesong.com>.
+
+Changes between versions 0.4b42 and 0.4b43 (released June 11, 2010)
+===================================================================
+
+1. Fix a bug in dump making impossible to handle large toc files
+ (> 2 GB). Thanks to X DUGi <xdugi@users.sourceforge.net> for
+ reporting the bug (Sourceforge bug #2820629)
+
+2. Fix 'restore -x' in multi-volume mode, which caused files being
+ spanned on the first and second volumes to be incorrectly extracted.
+ Thanks to Adam Tkac <atkac@redhat.com> for reporting the bug.
+ (there may be several bug reports about this issue, including
+ Sourceforge bug #2117008, RedHat bugs #232415 and #444958).
+
+3. Remove -lselinux -lsepol from the standard libraries list,
+ they shouldn't be needed if selinux is not enabled in dump
+ (this also fixes a build failure when selinux libraries are
+ not installed).
+
+4. Fix restoration of extended attributes of fifos and device nodes.
+ Thanks to Igor Zhbanov <izh1979@gmail.com> for the bug report.
+
+5. Don't attempt to set extended attributes on files that were not
+ extracted in 'restore -N' mode. Thanks to Jan Görig
+ <jgorig@users.sourceforge.net> for the patch.
+
+6. Make the dump man page explicit about ext4 support.
+
+7. Fix a bug in dump which caused EA entries to be unrecognizable by
+ restore in some corner cases. Add a workaround to restore making
+ it able to properly deal with those corrupted EA entries. Thanks
+ to John Austin <jaustin1@users.sourceforge.net> for reporting
+ the bug.
+
+8. Fix some issues when restoring a dump which was generated using
+ exclusion patterns (either via -e or via the nodump attribute)
+ (see the Debian bug #574667 for details. Thanks to Frédéric
+ Brière <fbriere@fbriere.net> for the bug report and the associated
+ patch.
+
+9. Fix progress/estimated blocks display in dump when doing really
+ huge backups. Thanks to Steve Bonds <sbonds@users.sourceforge.net>
+ for the bug report and tests. (Sourceforge bug #2987758)
+
+10. Improve level 1 dump speed by rearanging the "mapdirs" code.
+ Thanks to Andreas Kies <andikies@t-online.de> for finding the
+ bottleneck and sending a patch (Sourceforge bug #2998119).
+
+11. Use only ctime in order to compare newness instead of both
+ ctime and mtime. This should both speed up dumping time and
+ correct some side-effect bugs (like dumping files with an mtime
+ in the future in every incremental backup). Thanks to
+ Kieran Clancy <codebeard@users.sourceforge.net> for reporting the
+ bug (Sourceforge bug #2999207).
+
+12. Extract dumped UNIX sockets instead of ignoring them.
+ (Sourceforge bug #3007216).
+
+13. Compiler warning fixes (mainly warn_unused_result ones).
+
+Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009)
+===================================================================
+
+1. Fix printout of the 'Connection to' message in dump/restore.
+ Thanks to Dale Wiles <dwiles@users.sourceforge.net> for the
+ bug report and its fix.
+
+2. Fix dump -w/-W output for filesystems having the last backup
+ level equal to 0. Thanks to Pascal Bouchareine
+ <kalou@users.sourceforge.net> for reporting the bug.
+
+3. Enable restore to handle restoring onto a different SELinux
+ policy from the dump. Thanks to Tony Nelson
+ <tony_nelson@users.sourceforge.net> for the patch.
+ (see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189845
+ for details)
+
+4. Fix EA set failures when restoring immutable files. Thanks
+ to Andrew Kroeger for the patch.
+
+5. Fix "mode file too large" errors when restoring huge backups.
+ Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+ report.
+
+6. Add the ability to link against libtinfo library if present,
+ instead of libtermcap or libncurses libraries. Thanks to
+ Adam Tkac <atkac@redhat.com> for the patch.
+
+7. When comparing a backup, do not consider to be an error the fact
+ that we encounter files created while dump was in progress.
+ Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+ report.
+
+8. Force '-a' to be the default value when running 'restore -C'.
+ Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+ report.
+
+9. Many improvements to the 'cron_dump_to_disk' example.
+ Thanks to Aaron S. Hawley <ashawley@users.sourceforge.net> for
+ the patch.
+
+10. Fix the QFA generation when extended attributes are backuped
+ along with the inodes. Prior to this fix, the entries for
+ some inodes may get corrupted (duplicated entries or incorrect
+ ones), making the QFA file unusable for repositionning in
+ restore. Many thanks to Kenneth Porter <shiva@sewingwitch.com>
+ for the bug report and the testing of the fix.
+
+11. Fix EA restoration in debug mode (Sourceforge bug #1986216).
+
+12. Stefan Auracher <star7@onlinehome.de> noticed that the Tower
+ of Hanoi backup strategy documented in the man page wasn't
+ actually based on the Tower of Hanoi algorithm. The man page
+ was updated accordingly.
+
+13. Fix missing level information from dump output when using
+ the default level (RedHat bug #493635). Thanks to Adam Tkac
+ <atkac@redhat.com> for the patch.
+
+14. Fix the dump man page to reflect the fact that the default
+ dump level is 0 not 9 (RedHat bug #356121). Thanks to Adam Tkac
+ <atkac@redhat.com> for the patch.
+
+15. Fixed a few spelling errors in the man pages (RedHat bug #489853).
+ Thanks to Adam Tkac <atkac@redhat.com> for the patch.
+
+16. Fixed restore man page and program usage which incorrectly stated
+ that -P and -A were both allowed in the same invocation (RedHat
+ bug #490627). Thanks to Adam Tkac <atkac@redhat.com> for the patch.
+
+17. Use sys_clone under Linux to share I/O contexts between dump
+ processes, thus drastically increasing the performance of dump
+ under CFQ (which is the default I/O scheduler used in a number of
+ distributions). Thanks to Jeff Moyer <jmoyer@redhat.com> for the
+ patch.
+
+18. Add (preliminary) ext4 support - thanks to libext2fs which does
+ all the job for us. Thanks to Gertjan van Wingerde
+ <gwingerde@gmail.com> for the patch.
+
+Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006)
+=====================================================================
+
+1. Fix restore of dumped Access Control Lists. The previous
+ code for EA works fine, but ACLs needed conversion from the
+ ext2/3 disk format to posix_acl format before restoring.
+
+2. Fix some issues with restoration of EA on big endian
+ platforms.
+
+3. Fix restore when the symtab is over 2GB in size.
+
+4. Made the directory hash indexing an optional feature,
+ accessible by the '-H' option of restore, and disable it
+ by default.
+
+5. Fixed dump to not include extended attributes information
+ in the toc (archive) file which confused restore -t.
+
+Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
+=================================================================
+
+1. Changed restore to emit warnings (instead of emitting a fatal
+ error) if a file (or a directory) is unavailable for a
+ comparision (if the user doesn't have the necessary permissions
+ to access it for example). Thanks to Kenneth Porter
+ <shiva@sewingwitch.com> for the bug report.
+
+2. Re-done the 'do not save directory entries to non-dumped inodes
+ (excluded from dump)' feature. The previous implementation
+ worked well for excluded directories but not for regular files.
+ Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
+ report.
+
+3. Fixed a bug in dump where the tape size was miscalculated when
+ the user used -d/-s to specify the tape characteristics. Thanks
+ to Philip Goisman <goisman@physics.arizona.edu> for reporting
+ the bug.
+
+4. Fixed another bug introduced in restore with the hashtree
+ implementation. This one caused restore to stop saying
+ "removenode: non-empty directory" in some cases.
+
+5. Added support for dumping and restoring ext2/3 extended
+ attributes (EA), like the access control lists (ACL) or
+ the security labels used by SELinux.
+
+Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
+======================================================================
+
+1. The newly added dump_on_cd_3 example was buggy, replace it
+ with an updated version from Andrew Basterfield
+ <bob@cemetery.homeunix.org>.
+
+2. Made restore to chdir() back into the initial directory when
+ dumping core while aborting a comparision operation. The
+ previous behaviour was to write the corefile at the root of
+ the directory being compared, which could very well be
+ read only and preventing the corefile generation. Thanks
+ to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
+
+3. Silenced the failure to call fgetflags() when comparing an
+ entry which has no ext2 attributes (as in lsattr()).
+
+4. Fix a brown paper bug in restore -C which broke restore and
+ caused modifications on the filesystem being compared
+ (directories containing a file with the same name as the
+ directory get renamed to RSTTMP...). Thanks to Kenneth Porter
+ <shiva@sewingwitch.com> for finding the bug and helping me
+ reproduce it.
+
+5. Made restore -C force the -N flag (no writing allowed on
+ the disk) in order to prevent more bugs like the above one.
+
+Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
+=====================================================================
+
+1. Fix a couple of troff syntax bugs in the man pages.
+ Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
+
+2. Made restore use either libncurses or libtermcap, depending
+ on which one is available at configure time.
+
+3. Fixed restore negative size display bug when comparing a
+ dump containing files over 2GB. Thanks to Steve Bonds
+ <sbonds@users.sourceforge.net> for the bug report.
+
+4. Do not save directory entries to non-dumped inodes
+ (excluded from dump). This will eliminate the 'missing
+ file' warnings when doing 'restore -C'.
+
+5. Fix dump crash when backuping a huge (2TB) filesystem,
+ due to a bogus calculation on the inode map size.
+ Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for
+ submitting the bug and testing the fix.
+
+6. Fix a problem in restore where the final \0 in the symbolic
+ link names could have been lost, generating corrupt filenames.
+ Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
+ bug.
+
+7. Implemented a hash list for the directory names in restore.
+ The linear list used before caused problems in interactive
+ restores when dealing with directories having thousands of
+ entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
+ for reporting the bug.
+
+8. Improved restore -C, this time including the directory
+ attributes into the comparision.
+
+9. Made restore understand tapes containing EA/ACLs (which will
+ be dumped by the next version of dump). In this version
+ extended attributes on the tape are ignored, for full EA/ACL
+ support wait for the next version or try the experimental EA
+ patch.
+
+Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
+==================================================================
+
+1. Added the --enable-staticz configure option which enables
+ dump and restore to be linked with static versions of
+ libz and libbz2 (and dynamic versions of all other libraries).
+ This will make Debian users happy, because libz and libbz2
+ were the only needed libraries living in /usr, all the
+ others live in /lib. In case of system emergency, it is
+ better not to have to rely on an extra filesystem.
+ Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
+
+2. Fix compilation on (at least the Linux Debian port to) AMD64.
+ (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
+ that are also defined by <linux/types.h> (<asm/types.h>) and
+ they conflict).
+
+3. Make dump's reading of the dumpdates file a bit more robust,
+ preventing dump from crashing when the dumpdates file has
+ been modified by hand.
+
+4. Fixed some offset calculations in dump code which could
+ lead to "bread lseek errors" on large filesystems. Thanks
+ to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
+ reporting this bug and debugging the issue.
+
+5. Made dump use the blkid library when searching for devices
+ by label or uuid instead of dump's own routines.
+
+6. Corrected a bug in dump where a wrong LABEL=... line in
+ /etc/fstab could prevent dump from dumping unrelated
+ filesystems. Thanks to Bruce Lowekamp
+ <lowekamp@users.sourceforge.net> for reporting the bug.
+
+Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
+====================================================================
+
+1. Fixed dump compilation with old gcc versions. Thanks to
+ Mike Castle <dalgoda@users.sourceforge.net> for the patch.
+
+2. Fixed some warnings (howmany, roundup, powerof2 redefined)
+ when compiling against a recent glibc version.
+
+3. Fixed a bug in restore preventing the read of a dump tape
+ written with Solaris 7 ufsdump. Thanks to Patrick Higgins
+ <phiggins@transzap.com> for reporting the bug and providing
+ the test case.
+
+4. Changed dump to enable the creation of volumes of different
+ sizes in a single run (make -B accept a list of values).
+ Patch contributed by Florian Zumbiehl <florz@gmx.de>.
+
+5. Use the glibc provided minor() and major() macros instead
+ of our own bitmask implementation. This should be safe for
+ when the major/minor namespace will migrate to 32 bits.
+ Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
+ the bug.
+
+6. Made explicit in the dump man page that dump will not create
+ a remote file, it will only write to an already existing one.
+
+7. Another try at making size estimates better again.
+
+8. Put back the inconditional running of the end-of-tape
+ script which was changed in 0.434 to be run only when -M
+ or multiple -f were NOT specified. Some users rely on this
+ feature even when it is combined with -M/-f.
+
+9. Fixed restore when restoring huge backups (where rstdir...
+ temporary files are over 2GB). Thanks to
+ Raphael Jaffey <rjaffey@artic.edu> for reporting this,
+ debugging the issue and making the patch.
+
+10. Made restore understand FreeBSD UFS2 tapes. Thanks to
+ David <vrtin@users.sourceforge.net> for submitting the bug
+ and providing a test case.
+
+11. Made dump work with an arbitrary integer level (no more 10
+ levels only limitation). Thanks to Matthew
+ <msvincen@midway.uchicago.edu> for the patch.
+
+Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
=======================================================================
+1. Added a note in the dump man page saying that the default
+ blocksize can be 32 if -d is used with a high density argument.
+ Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
+ for the patch.
+
+2. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
+ LDFLAGS environment variables. Thanks to Arcady Genkin
+ <antipode@users.sourceforge.net> for reporting the bug.
+
+3. Made -e/-E options of dump accept an unlimited number of inodes
+ to be excluded, rather than a hardcoded maximum. Thanks to
+ Dietrich Rothe <d-rothe@users.sourceforge.net> for the patch.
+
+4. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
+ and -D_USE_BSD_SIGNAL defines in configure in order to solve
+ 64bit build problems because quad_t is redifined with a
+ different signature. Thanks to Mike Harris <mharris@redhat.com>
+ for reporting this bug.
+
+5. Made restore build on Solaris, making possible to
+ restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
+ <uwe@ugsoft.de> for the patch.
+
+6. Made an extension in the dump tape format capable of saving
+ MacOSX specific inode extensions. Uwe Gohlke <uwe@ugsoft.de>
+ wrote the extension and contributed the restore code back
+ into this codebase. The same extension mechanism will be
+ used in the future to save ACLs...
+
+7. Made rmt work correctly with regard to QFA and local/remote
+ files and tapes. The remote access will however work only
+ when the dump provided rmt version is used. If you want to
+ use another rmt server, please do not use the QFA feature.
+ Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
+
+Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
+====================================================================
+
1. Fixed the INSTALL file to reflect the actual install paths.
Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
reporting the bug.
between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
the bug report and the patch.
+9. Fixed a bug encountered when dumping individual files (not full
+ filesystems or directories) and dangling symbolic links happen
+ to be in the list of files. For as far as dump is concerned,
+ dangling symbolic links are allowed, and are dumped as is.
+ Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
+ bug and providing the fix.
+
+10. Fixed open and creation modes and permissions for QFA and
+ table-of-contents files in dump and restore. Thanks to
+ Philippe Troin <phil@fifi.org> for the patch.
+
+11. Fixed the archive file descriptor handling enabling it to be 0.
+ This can happen in some cases when shell redirections are used.
+ Thanks to Philippe Troin <phil@fifi.org> for the patch.
+
+12. Delayed the opening of archive file until after suid had been
+ dropped (fixing a possible security issue if dump is suid).
+ Thanks to Philippe Troin <phil@fifi.org> for the patch.
+
+13. Fixed the 'S' command handling in the rmt client part.
+ Thanks to Philippe Troin <phil@fifi.org> for the patch.
+
+14. Modified the end-of-tape script handling to print out statistics
+ (and stop the timer) before launching the eot script. Also, the eot
+ script does not get run anymore when using -M (which makes sense) or
+ when multiple tapes are listed on the command line
+ (-f tape0,tape1,tapen) (which also makes sense).
+ Thanks to Philippe Troin <phil@fifi.org> for the patch.
+
+15. Relicensed dump/restore under the 'revised' BSD license, as per
+ ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
+
+16. Added LZO compression to dump. This new compression method has
+ the advantage of being super fast, thus not killing tape streaming
+ on slow machines. Thanks to Helmut Jarausch
+ <jarausch@igpm.rwth-aachen.de> for the patch and to
+ Markus Oberhumer <markus@oberhumer.com> for giving special permission
+ to include his miniLZO project (GPL licensed) in dump/restore.
+
+17. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
+ <ant@notatla.demon.co.uk> for reporting the bugs.
+
+18. Added a special rmt version which can do encryption when writing
+ to tape. Read examples/encrypted_rmt/README for details on
+ how to enable and configure it. Thanks to Ken Lalonde
+ <ken@globalremit.com> for the patch.
+
+19. Made dump work with 2.5 kernel end of tape early warning semantics.
+ Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
+
+20. Fixed a bug which caused dump -w|-W not to work anymore, because
+ the fs_freq and fs_passno fields in /etc/mtab are always set
+ to 0 0. Thanks to Trent Piepho <xyzzy@speakeasy.org> for
+ reporting the bug.
+
Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
=======================================================================