]> git.wh0rd.org - dump.git/blame - CHANGES
Make restore compile with old versions of readline library.
[dump.git] / CHANGES
CommitLineData
bcecd677 1$Id: CHANGES,v 1.165 2002/02/25 13:54:52 stelian Exp $
35952b8f
SP
2
3Changes between versions 0.4b27 and 0.4b28 (released ?????????????????)
4=======================================================================
5
61. Fixed a bug in the QFA feature which could have caused
7 a bad tape positionning on restore (causing extra delays in
8 restore). Credits go to Uwe Gohlke <uwe@ugsoft.de>.
95d326c0 9
a2caea8a
SP
102. Added a small note in the dump man page specifying that
11 there should be no white space between the option letter and
12 the -j or -z parameter, thanks to Kenneth Porter <shiva@well.com>
13
bcecd677
SP
143. Made restore work with older versions of the readline library,
15 by checking in configure for several extended symbols. Restore
16 can now be compiled with a readline as old as the 2.0 release
17 (though it may be a good idea to upgrade it to a more recent
18 version...). Thanks to Andrew Donkin <ard@waikato.ac.nz> for
19 reporting the build failures.
20
f06477da
SP
21Changes between versions 0.4b26 and 0.4b27 (released February 15, 2002)
22=======================================================================
95d326c0
SP
23
241. Fixed behaviour of dump when exceeding resource limits
25 (SIGXFSZ treatment).
9688d7da 26
05f23c0c
SP
272. Added the -L flag to restore to allow the user to specify a
28 maximal allowed number of miscompares when using restore
29 with the -C option to check the backup.
30
313. Detailed the manual entry for the -N option of restore.
32
40df6a0e
SP
334. Added the -a flag to restore to make able doing unattended
34 restores in -i or -x mode (automatically walks through the
35 multiple dump volumes).
36
e51470bf
SP
375. Extended the QFA mode to work with local files and/or
38 remote tapes and files. This way, restore can know in advance
39 the tape number and the offset for the inodes to extract and
40 can minimize the extraction time by seeking directly to the
41 good tape/offset.
42
436. Added the -A <archive> option to both dump and restore,
44 which makes dump to archive a dump table-of-contents in
45 the specified file to be used by restore to determine
46 whether a file is in the dump file that is being restored.
47 (the archive file syntax is also compatible with the
48 Solaris ufsdump generated one).
103122b3 49
78daec31
SP
507. Small fix in restore making it able to read some (broken ?)
51 Solaris ufsdump tapes.
52
633963a2
SP
538. Fixed dump to correctly recognise the root filesystem when using
54 ext2 disk labels (LABEL=/). Thanks to John Yu <jky@it.bu.edu>
55 for reporting this bug.
56
fe0e0285
SP
579. Added the -P <file> option to restore to create a
58 Quick File Access file from an already made dump. Patch
59 contributed by Uwe Gohlke <uwe@ugsoft.de>.
60
6110. Made restore compile and run on Solaris, making it a
62 possible replacement for the standard ufsrestore. Port was
63 contributed by Uwe Gohlke <uwe@ugsoft.de>.
64
490aeb91
SP
65Changes between versions 0.4b25 and 0.4b26 (released January 7, 2002)
66=====================================================================
9688d7da
SP
67
681. Added a set of backup scripts from Eugenio Diaz
69 <getnito@yahoo.com> in the examples section. It features
70 automatic (cron based) full and incremental dumping of
71 several filesystems on a separate filesystem.
989f348a 72
5f918de7
SP
732. Fixed a off-by-one miscalculation which disabled dumping
74 a one letter subdirectory. Thanks to Chris Siebenmann
75 <cks@utcc.utoronto.ca> for reporting the bug.
76
ab28ebd4
SP
773. Fixed several restore bugs occuring when trying to
78 restore some missing files on the tape. Thanks to Chris
79 Siebenmann <cks@utcc.utoronto.ca> for reporting the bug.
80
e95b2aff
SP
814. Fixed --with-ldopts configure argument passing, installing from
82 a separate object directory, makefile cleanups contributed
83 by <splite@purdue.edu>.
84
8096304e
SP
855. Fix a bug which could caused, in some conditions, the highest
86 number inode of a filesystem, to not be dumped. Many thanks
87 to Chris Siebenmann <cks@utcc.utoronto.ca> for helping me
88 chase this bug.
89
bf8ee3da
SP
90Changes between versions 0.4b24 and 0.4b25 (released November 17, 2001)
91=======================================================================
989f348a
SP
92
931. Added a mini howto from Patrick Walsh in the examples
94 directory.
3dd5ecd7 95
b82d31dc
SP
962. Minor man pages syntax corrections. Thanks to
97 Chris Danis <screechco@home.com> for reporting the bugs.
98
993. Added a script from David B. Peterson <dave@toppledwagon.com>
100 to the examples section. It features dumping several
101 filesystems to a remote tape drive upon ssh.
102
1034. Added a patch provided by Richard Jones <rich@annexia.org>
104 which allows BRADEMAX (number of read errors tolerated by
105 dump) to be adjusted using the -I option.
106
f9e97496
SP
1075. Fixed a bug which disabled doing "restore -C -f -". Thanks
108 to Clemens Stiglechner <a9401816@unet.univie.ac.at> for the
109 patch.
110
80dea635
SP
1116. Add the -l option to restore to specify if, when doing a
112 remote restore, the file used to access the backup is a
113 regular file (the defaults being a tape drive). Restore needs
114 to know this information when reading a remote compressed
115 dump. Previously, this information was autodetected, but
116 the autodetection code fails (with ioctl: Inappropriate ioctl
3195bc1f
SP
117 for device) when using a non Linux remote box. Thanks to
118 many users and especially to Eros Albertazzi
119 <eros@lamel.bo.cnr.it> for reporting this.
120
a7556ed9
SP
1217. Found a workaroung for the dump deadlock problem (3 childs
122 stuck in pause(), father in read()). The workaround seems
123 to work for me and several beta-testers. If it doesn't work
124 for you, please report back.
132daf88
SP
125
1268. Updated the RPM spec file (BuildPrereq, URL etc).
127
68da8d85
SP
128Changes between versions 0.4b23 and 0.4b24 (released September 12, 2001)
129========================================================================
3dd5ecd7 130
f48a055e
SP
1311. Fixed the permissions of a newly created QFA file by dump.
132
1332. Cleaned up the source of dump (the external variables
134 definition was a complete mess, making possible to have
135 objects overlap).
6d9ffa3e 136
e46507f2
SP
1373. Fixed restore to use the full tape volume path when doing
138 a compare (since it changes the working directory to the
139 filesystem being compared in the process).
140
e084ba00
SP
1414. Added the -q option to dump which makes dump abort
142 whenever it needs operator attention. It should be
143 easier to use dump in scripts with this option.
144
8cef350e
SP
1455. Detect the use of incompatible options to dump and
146 refuse them (like -a and -B options together).
147
88ef261e
SP
1486. Added bzip2 compression to dump/restore (use option -j level
149 to select it). Note that you will need a restore version
150 >= 0.4b24 in order to restore a bzip2 compressed dump.
151 The same warning as for the zlib compression applies:
152 the tape format of a bzip2 dump is not compatible with the
153 original BSD tape format.
154
1df5c692
SP
1557. Fixed a overflow problem in dump corrupting the dump when
156 very large files were encountered. Thanks to Vladimir Nadvornik
157 for the bug report.
158
103245b6
SP
1598. Added a ioctl(BLKFLSBUF) in dump which should flush the
160 kernel buffer/page cache before starting the dump, helping
161 a bit those who use dump on mounted filesystems. Thanks to
162 John Yu <jky@it.bu.edu> and to Theodore T'so <tytso@mit.edu>
163 for this suggestion.
caea5c76
SP
164
1659. Updated the RPM spec file following the RedHat changes
166 (dynamically linked binaries now in /usr/sbin etc).
167
8b7882a8
SP
16810. Added a patch from Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
169 which enables restore to recognise multi volume compressed dumps
170 done on CD. Included his scripts for dump (which pipe the dump
171 output directly into cdrecord) and restore. There is now
172 possible to to backups to CD on the fly!
173
3a1a7e1c
SP
174Changes between versions 0.4b22 and 0.4b23 (released July 20, 2001)
175===================================================================
6d9ffa3e
SP
176
1771. Fixed a buffer overflow in restore/tape.c. Patch provided by
178 Marcus Meissner (Caldera International Security Dept.).
fa7fb417 179
5a7167e9
SP
1802. Implement the Sun rmt extended protocol. Patch submitted
181 by Ian Gordon <iangordon@users.sourceforge.net>.
182
e4a8bde4
SP
1833. Check for the e2fsprogs header <ext2fs/ext2_fs.h> instead of
184 the linux kernel header. This ensures that dump always has the
185 latest version of this file. Patch submitted by
186 Andreas Dilger <adilger@turbolinux.com>.
187
8bfad78a
SP
1884. Report any filesystem present in either /etc/fstab with a
189 positive passno or /etc/dumpdates in dump -w output.
190 Patch submitted by Andreas Dilger <adilger@turbolinux.com>.
191
ad922073
SP
1925. Fixed the looping problem in dump introduced in the
193 previous version.
194
e7850aac
SP
1956. Changed the -B option of dump to limit the size of
196 _compressed_ output per volume if compression is on.
197 Patch contributed by Helmut Jarausch
b0522d37
SP
198 <jarausch@igpm.rwth-aachen.de>. Note however that, since
199 it is impossible to predict the size of the compressed
200 data before doing the compression, the -B limit is a bit
201 conservative.
e7850aac 202
5bbb0926
SP
2037. Fixed a bug in reading the operator typed file/tape path for
204 the next volume in restore.
205
c534413c
SP
2068. Implemented a "-F script" option to restore which permits the
207 user to specify a script which will be launched at the
208 beginning of each tape, useful for automatic programming of
209 tape changers for example. See the restore man page for the
210 script parameters and return codes.
211
b8f7cbe6
SP
2129. Small fix for the QFA routines provided by Uwe Gohlke
213 <uwe@ugsoft.de>, and some recommendations for QFA uses in
214 the man pages.
215
651fb4a5
SP
21610. Fixed the multivolume restoring where making a mistake
217 to the 'Mount next tape' prompt caused several blocks to
218 be lost.
219
6d732772
SP
22011. Enhanced the -e option of dump to take as a parameter a
221 comma separated list of inode numbers.
222
22312. Added the -E option to dump which specify a file containing
224 inode numbers to exclude from the dump.
225
e7979078
SP
22613. Fixed the compressed multi-volume dump + restore.
227
9081ea90
SP
228Changes between versions 0.4b21 and 0.4b22 (released May 12, 2001)
229==================================================================
fa7fb417 230
90aa4874 2311. Made dump report the number of blocks dumped per volume.
fa7fb417 232 Thanks to Kenneth Porter <shiva@well.com> for the suggestion.
58d85348 233
90aa4874
SP
2342. Fix a bug in dump where waiting too much at the 'change volumes'
235 question caused the volume to be rewritten. Thanks to
236 Graham Reed <greed@users.sourceforge.net> for reporting the
237 bug and providing a patch.
238
a01aa5e8 2393. Added a compression option to dump, contributed by Jerry
401a4d13 240 Peters <gapeters@worldnet.att.net>.
a01aa5e8 241
2b747532
SP
242 WARNING: the compression works only on files/pipes and
243 drives supporting variable block size.
a01aa5e8
SP
244
245 WARNING2: tapes created using the compression feature are
246 incompatible with the standard dump tape format, and a
247 version of restore >= 0.4b22 will be needed for extraction.
248
401a4d13
SP
2494. Fixed some compilation problems for glibc 2.2.2 and 64 bit
250 architectures. Thanks to Paul Slootman <paul@debian.org> for
251 the patch and to Bdale Garbee <bdale@gag.com> for forwarding
252 it upstream.
253
43460f04 2545. Many cleanups (CPP defines, const char warnings, check of
43ef843b
SP
255 ext2fs COMPAT flags, time_t cleanups, added libext2 version
256 in dump usage text) by Andreas Dilger <adilger@turbolinux.com>.
43460f04 257
60d46c35
SP
2586. Made --prefix option work in configure. All the install path
259 are now based on the configure parameters.
260
35b24fb7
SP
2617. Added the Quick File Access mode in dump/restore, contributed
262 by Uwe Gohlke <uwe@ugsoft.de>. In this mode, dump stores in
263 a file tape position for each inode, and this file is used by
264 restore (if called with parameter Q and the filename)
265 to directly position the tape at the file restore is currently
266 working on. This saves hours when restoring single files from
267 large backups, saves the tapes and the drive's head. Use
268 --enable-qfa option of configure to compile in the QFA support.
269
a94ecd11
SP
2708. Added the possibility to dump several files and directories
271 in a single invocation of dump. Thanks to Uwe Gohlke
272 <uwe@ugsoft.de> for implementing this option.
273
cfa03414
SP
2749. Fixed the dumping and restoring of files with holes
275 (files ending with holes didn't get dumped or restored
276 correctly).
277
700b236e
SP
27810. Fixed a socket descriptor leak in dump, which leaved opened
279 3 file descriptors per dump process (and there is one dump
280 process per tape).
281
95c74f38
SP
28211. Fixed dump large file system support, by explicit use of
283 open64/lseek64/etc functions (explicit use needed because
284 e2fsprogs libraries don't behave well when compiled with
285 FILE_OFFSET_BITS=64).
286
35e850a4
SP
287Changes between versions 0.4b20 and 0.4b21 (released January 13, 2001)
288======================================================================
58d85348
SP
289
2901. Fixed some bugs in the dump -w|-W logic introduced by
291 the previous version. Thanks to Andreas Dilger
292 <adilger@turbolinux.com> for his help on this one.
1099d48c 293
a23c5022
SP
2942. Fixed again a compilation problem when using old e2fs
295 headers (filesystem label related). Thanks to many users
296 who reported this stupid error.
297
a1158276 2983. Fixed a build problem on old lib5 based systems dealing with
f1266a2f
SP
299 _PATH_MNTTAB being undefined. Thanks to John Adams
300 <johna@onevista.com> for reporting the bug.
a1158276 301
42bcc624
SP
3024. Improved the error detection in restore when creating
303 the temporary files in TMPDIR. Now restore will corectly
304 report a 'no space left on device' error instead of
305 strange errors which could imply an archive corruption.
306 Thanks to Gabriel Somlo <somlo@cs.colostate.edu> and
307 bgjenero <bgjenero@sympatico.ca> for reporting the bug.
308
88f15c1b
SP
3095. Added the throughput information in dump's progression
310 messages. Thanks to Andreas Dilger <adilger@turbolinux.com>
311 for the patch.
312
0bd5aa90
SP
3136. Use libext2fs's inode scanning routines, which are particularly
314 robust when dealing with errors (especially when having some
315 bad blocks on the filesystem). Many thanks to Colin
316 <colin@horizon.com> for reporting the bug, investigating
317 the issues, finding a workaround, writing the patch and
318 fully testing it... (of course, if this patch will break
319 anything, he is to blame for :-)).
320
7ae7e2fd 3217. Made dump and restore LFS aware. Dump can dump a filesystem
d6967896
SP
322 containing large files, generate a large file on output and
323 restore can restore them. This feature is not enabled by
324 default, use --enable-largefile option of configure to enable
325 it (you need to have a LFS aware glibc though). Thanks to
326 Andrea Arcangeli <andrea@suse.de> for submitting the patch,
327 and to Theodore T'so <tytso@valinux.com> for his always
328 useful thoughts.
329
7ae7e2fd
SP
3308. Made dump ask upon a tape write error if it should rewrite
331 the current volume (assume this is a bad tape) or if it should
332 assume an end-of-tape condition (useful for tape drives which
333 behaves badly at the end of the tape). Thanks to Andreas
334 Dilger <adilger@turbolinux.com> for the suggestion.
335
e93e901d
SP
336Changes between versions 0.4b19 and 0.4b20 (released November 10, 2000)
337=======================================================================
1099d48c 338
bd731171
SP
3391. Fixed a small compilation problem due to a change
340 in the definintion of the struct sigaction in
341 glibc 2.0 / libc5. Thanks to Gunther Schlegel
342 <schlegel@riege.de> for reporting the bug and to
343 Dave Platt <dplatt@snulbug.mtview.ca.us> for suggesting
344 a fix.
1099d48c
SP
345
3462. Modified the label and uuid analysis in order to be
347 self-contained (independant of kernel/libc headers). This
348 should fix the compile with older kernel/libc headers and
349 will preserve the functionality. Thanks to Bernhard Erdmann
350 <bernhard.erdmann@gmx.de> for reporting the bug.
351
1cd75c4c
SP
3523. The 'exclude inode' option, if applied to a directory
353 inode, excludes now correctly all the leaves of this
354 directory. Thanks to John R. Dennison
355 <gerdesas@users.sourceforge.net> for reporting the bug.
f1d86882 356
aec13b2a
SP
3574. Fixed the '-e' option to disable the possibility
358 to exclude the root inode (which causes the dumps to
359 be unreadable by restore). Prevented array overflow
360 when multiple -e options are used.
361
8c363e9a
SP
3625. Fixed dump to correctly interpret a filesystem argument
363 which is a mountpoint and it is not an absolute path
364 (as specified in the fstab). Thanks to Bernhard R. Erdmann
365 <be@berdmann.de> for reporting the bug.
366
abc63c56
SP
3676. Made dump able to backup files larger than 2 GB. Note that
368 dump still doesn't cope with files larger than 4 GB.
369
2c168f5f
SP
3707. Restore the real uid and gid before invoking an external
371 RSH program (big hole when dump or restore is suid root!).
372
6169d840
SP
3738. Get the values for the default tape device and the location
374 of fstab file from the system headers. Thanks to
375 Andreas Dilger <adilger@turbolinux.com> for the patch.
376
51b01afe
SP
3779. Made dump -w|-W report all recognized filesystems
378 present in either /etc/fstab or /etc/dumpdates, and present
379 the list in the same order as in fstab file. Thanks
380 to Andreas Dilger <adilger@turbolinux.com> for the patch.
381
4f4eee3d
SP
38210. Made dump's -a (automatic end of tape detection) the
383 default. Specifying one of -B, -c, -d or -s options will
384 override the EOM detection. Thanks to Andreas Dilger
385 <adilger@turbolinux.com> for the patch.
386
95cd8801
SP
38711. Save the ext2 filesystem label into the dump volume label.
388 Specifying a volume label on the command line (-L option)
389 will override this feature. Thanks to Andreas Dilger
390 <adilger@turbolinux.com> for the patch.
391
d56b7aa4
SP
392Changes between versions 0.4b18 and 0.4b19 (released August 20, 2000)
393=====================================================================
f1d86882
SP
394
3951. Fixed the signal handling in dump (which I broke in 0.4b17)
396 which was causing several strange dump failures (dump
397 hanged or segmentation faults etc).
ddf0df5b 398
65bceb9b
SP
3992. Specified the default blocksize in the dump man page.
400
57b19d7f
SP
4013. Changed two info messages of restore to be written on stdout
402 instead of stderr in order to leave stderr only for errors
403 or warnings. Thanks to Stephen Atwell
404 <satwell@urbana.css.mot.com> for the suggestion.
405
4f94452b
SP
4064. Corrected an off by one calculation which prevented
407 dumping a directory having a 1 character name length.
408 Thanks to Bernhard Erdmann <bernhard.erdmann@gmx.de>
409 for reporting the bug.
410
79e31865
SP
4115. Reinforce dump in order to allow only level 0 and no
412 -u option when dumping a subdirectory, and document
413 this in the man page. Thanks to Bernhard Erdmann
414 <bernhard.erdmann@gmx.de> for reporting the bug.
415
9be511dc
SP
4166. Fixed a small harmless bug in restore which caused
417 in some conditions hard links to be restored several
418 times (therefore generation some warning messages).
419 Thanks to Kenneth Porter <shiva@well.com> for
420 reporting the bug.
421
3e815572 4227. Updated the RPM spec file to the latest RedHat version,
1d568d1b 423 providing FHS packaging and other cosmetic changes.
1099d48c 424 You will need RPM version >= 3.0.5 in order to build the RPM.
1d568d1b 425
3e815572
SP
4268. Updated the configure script to check for libtermcap
427 before checking for libreadline, because we need this
428 library in order to compile the readline support.
429
8954518f
SP
4309. Made dump understand the LABEL= and UUID= notation
431 both in /etc/fstab and on the command line. Note that
432 you will need the /proc filesystem in order to use
433 these notations. Thanks to Erik Troan <ewt@redhat.com>
434 for providing the patch.
435
8cca05cc
SP
436Changes between versions 0.4b17 and 0.4b18 (released June 30, 2000)
437===================================================================
ddf0df5b
SP
438
4391. Fixed a potential buffer overflow in restore. Thanks
440 to Stan Bubrouski <satan@fastdial.net> for reporting
441 the bug.
30a43325 442
64bb207a
SP
4432. Fixed a readline-related bug which prevented
444 'cat DUMPFILE | restore -i -f -' from working. Thanks
445 to Charles Karney <karney@users.sourceforge.net>
446 for the bug report.
447
d572dbfd
SP
4483. Changed a few "panic" into "exit", causing restore to
449 be more stable against some attacks (like the last one
450 reported on Bugtraq, although the last version of restore
451 was not vulnerable - just dumped core). Thanks to
452 Andreas Hasenack <andreas@conectiva.com.br> for reporting
453 the bugs to me.
454
882090d1
SP
4554. Removed the suid-root bit on dump and restore in the
456 default build (and generated RPMs). It should be safer
457 now. Users who need the suid-root capabilities in order
458 to make network backups should read first the man page
459 of dump and enable the suid bit manually.
460
5e04cc92
SP
4615. Added -ltermcap to the compile parameters for restore
462 when using readline support, in order to make the compile
463 process work on some systems (SuSE ?). Thanks to
464 Patrik Schindler <poc@pocnet.net> for reporting the bug.
465
ac443b63 466Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000)
30a43325
SP
467====================================================================
468
4691. The -F script is called now *only* at the end of a tape,
49023a9d 470 not at the end of the dump. Thanks to Christian Haul
30a43325
SP
471 <haul@informatik.tu-darmstadt.de> for the bug report.
472
d8574d45
SP
473 Normally, the device name and the current volume number
474 are passed on the command line of the script. However,
475 if you want the old style script (with no arguments
476 passed on the command line), you can enable it in
477 configure with the --enable-oldstylefscript.
478
30a43325
SP
4792. Use posix signal handling to preserve dump functionality
480 with libc5. Thanks to Jeff Johnson <jbj@redhat.com> for
481 the patch.
d65ed175 482
3d78f5f2
SP
4833. Made the exit code of restore in case of a 'C'ompare
484 command reflect the result of the compare. An exit status
485 of 0 means the dump archive is correct, 1 means tape errors,
d8574d45
SP
486 2 means that some files were modified. Thanks to Kenneth Porter
487 <shiva@well.com> for the suggestion.
3d78f5f2 488
d8574d45 4894. Made (finally) quotes work in interactive restore.
386d48c0 490
a110deb5 4915. Small fixes in order to allow dump to compile with a
d8574d45
SP
492 really old e2fsprogs version. Thanks to Ian Zimmerman
493 <itz@speakeasy.org> for the bug report.
a110deb5 494
c38e5b6a
SP
4956. Add GNU readline capabilities to interactive restore.
496 Use configure's --enable-readline flag to enable this feature.
d8574d45
SP
497 Thanks to Patrik Schindler <poc@pocnet.net> for the
498 suggestion.
499
5007. Do the compare on the fly in restore 'C' mode (this will
501 allow not to exhaust the available /tmp space when
502 ccmparing large files). Thanks to Kenneth Porter
503 <shiva@well.com> for the suggestion.
c38e5b6a 504
107a347c
SP
505Changes between versions 0.4b15 and 0.4b16 (released March 11, 2000)
506====================================================================
d65ed175
SP
507
5081. Fixed some several duplicate 'DUMP: DUMP:' in the
509 output of dump.
d3393043 510
cbc94239
SP
5112. Corrected the estimation of blocks to dump. Note that
512 this is still wrong for large directory inodes, due
513 to the size of a BSD directory entry on the tape
514 (estimation is based on the size of the ext2 directory,
515 which is smaller because it doesn't contain the null
516 character at the end).
517
5183. Made dump report the total number of MB written to
519 tape at the end of run. Thanks to W. Reilly Cooley
520 <wcooley@nakedape.cc> for the patch.
521
08db2b86
SP
5224. Added the -X option to restore giving the possibility
523 to read the names of the files to be extracted/listed
1a05d45d
SP
524 from a text file (in addition of the command line).
525 Thanks to Dejan Muhamedagic <dejan@quant-x.com> for the
526 patch.
08db2b86 527
365a7c7c
SP
5285. Added the device name and the current volume number
529 as arguments to the end of tape script (dump -F option).
530
24ea1fb9
SP
5316. Made the multi-volume dump work again (after having
532 broken it in 0.4b15).
533
2f7e72ce
SP
534Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000)
535===================================================================
d3393043
SP
536
5371. Added a prompt command in interactive restore mode. Thanks
538 to Andreas Dilger <adilger@home.com> for the patch.
d6f78b13 539
92a9bf12
SP
5402. Fixed a buffer overflow problem in dump (caused by
541 not checking the size of the filesystem parameter).
542 Thanks to Kim Yong-jun <loveyou@hackerslab.org> for
543 reporting this on Bugtraq (and to several dump users
544 who forwarded me his mail).
545
0d7af9c5
SP
5463. Added the '-F script' option to dump in order to
547 launch a script at the end of each tape (to be used
548 with a tape changer, or to notify the sysadmin by
549 pager etc.).
550
5514. Fixed a bug in restore compare code caused by the changes
552 I made in 0.4b14.
553
5545. Fixed the treatment of options using the old BSD syntax
555 in both dump and restore.
556
688653ea
SP
557Changes between versions 0.4b13 and 0.4b14 (released February 10, 2000)
558=======================================================================
d6f78b13
SP
559
5601. Fixed a bug in dump which may have caused invalid deleted
561 directories to be dumped out if they were deleted after the
562 mapping pass. This could occure on active filesystem and lead
563 to heap corruption (causing dump malfunction in many possible ways).
564 Thanks to Jan Sanislo <oystr@cs.washington.edu> for finding this
565 bug and submitting the patch.
ae58c8da 566
a2c9bd28
SP
5672. Fixed the handling of the filesystem parameter in dump. A
568 '/mnt/disk' parameter caused the disk contents to be dumped,
569 but a '/mnt/disk/' parameter caused the mountpoint directory
570 to be dumped (generally an empty directory).
571
5723. Improved the output of dump in order to tell which directory
573 it is currently dumping (when dumping a subtree).
574
20c345aa
SP
5754. Added the '-e' exclude inode option to dump. Thanks to
576 Isaac Chuang <ike@isl.stanford.edu> for contributing with the patch.
577
d8476fa5
SP
5785. Added a REPORTING-BUGS file in order to provide a guide
579 on how to correctly report a bug in dump/restore.
580
c60338a5
SP
5816. Fixed a restore problem when restoring a hard link to an inode
582 having the immutable or append-only attribute set. Thanks to
583 Ambrose Li <acli@mingpaoxpress.com> for submitting the patch.
584
8eb05297
SP
5857. Fixed a compatibility problem between dumps made on little
586 endian machines (the format was correct) and big endian
587 machines (the format was incorrect). This fix break the
588 compatibility with the older dumps made on big endian
589 machines (sparc, m86k, ppc etc). For the first time in
590 linux dump's history (I believe), the dumps made by *BSD,
591 Linux/alpha, Linux/sparc and Linux/x86 are compatible,
592 so interchangeable. Thanks to Rob Cermak
593 <cermak@ahab.rutgers.edu> for submitting the bug and
594 helping me test the fix.
595
5968. Fixed the way dump reports the remaining percent/time, if
597 the number of blocks actually dumped exceeds the estimated
598 number of blocks. Thanks to Jean-Paul van der Jagt
599 <jeanpaul@dutepp0.et.tudelft.nl> for reporting the bug.
600
d4b74b5c
SP
601Changes between versions 0.4b12 and 0.4b13 (released January 21, 2000)
602======================================================================
2f9a0c5c
SP
603
6041. Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
605 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug.
606
6dda05e4
SP
6072. Removed the requirement to build the RPM as root from the
608 spec file. Thanks to Christian Weisgerber
609 <naddy@mips.rhein-neckar.de> for submitting this.
610
8d957ae7 6113. Fixed a bug in dump related to the 'filetype' feature of ext2fs,
f346e363
SP
612 causing dump to block when dumping really huge filesystems.
613 Many thanks to Patrik Schindler <poc@pocnet.net> for
614 helping me find this bug.
615
8d957ae7 6164. Fixed the treatment for an interrupt signal when dump access
b80c25f8
SP
617 the remote tape through RSH. Thanks to Christian Weisgerber
618 <naddy@mips.rhein-neckar.de> for providing the patch.
619
8d957ae7
SP
6205. Fixed a bug which was causing dump/restore to display
621 garbage characters instead of the remote host name.
622
2f9a0c5c 623Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
df172bbb 624=====================================================================
ae58c8da
SP
625
6261. Small fix in the dump man page. Thanks to Thorsten Kukuk
627 <kukuk@suse.de> for submitting the patch.
2ed89fda 628
a29c23cc
SP
6292. Fix for the exit code when using the size estimate option of
630 dump. Thanks to Matti Taskinen <mkt@rni.helsinki.fi> for
631 submitting the patch.
632
2e682895
SP
6333. Handle EINTR in atomical reads/writes in dump, which was causing
634 dump to fail on some systems. Thanks to Eric Jergensen
635 <eric@dvns.com> for reporting the bug and submitting the patch.
636
6374. Handle more than 16 characters for the device names in dumpdates.
638 (up to 255 now). Thanks to Rainer Clasen <bj@ncc.cicely.de> for
639 tracking down the problem and proposing the solution.
640
6415. Fixed a bug in dump which prevented the creation of the
642 dumpdates file when doing a 0-level dump without already
643 having a dumpdates file. Thanks to Patrik Schindler
644 <poc@pocnet.net> for reporting the bug.
645
6466. Changed the way dump 'S' flag reports the size estimate
647 from number of blocks into bytes (making it compatible
648 with the Solaris version, and simplifying things for
649 amanda users). Thanks to Jason L Tibbitts III
650 <tibbs@math.uh.edu> for reporting the bug.
651
0d0bc326
SP
6527. Fixed a compatibility problem in linux/alpha dump tape format.
653 Now the linux/alpha dump are (again) compatible with the
654 other dump formats. But this breaks compatibility with
655 older dumps made on alpha. Thanks to Mike Tibor
656 <tibor@lib.uaa.alaska.edu> for helping me in finding this bug.
657
cf9aab8e 658Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999)
2ed89fda
SP
659======================================================================
660
6611. Added a '--enable-kerberos' to configure.
5c1faba5 662
144a6db1 6632. Added a 'S' option to dump which determines the amount of space
5c729713 664 that is needed to perform the dump without actually doing it, similar
144a6db1
SP
665 to the Sun's ufsdump 'S' option. Patch contributed by Rob Cermak
666 <cermak@ahab.rutgers.edu>.
667
677ee424
SP
6683. Added a 'M' multi-volume option to dump and restore which enables
669 dumping to multiple files (useful when dumping to an ext2
670 partition to make several dump files in order to bypass the 2GB
671 file size limitation). The 'f' argument is treated as a prefix and
672 the output files will be named <prefix>001, <prefix>002 etc. With
673 the 'M' flag, restore automatically selects the right file without
674 asking to enter a new tape each time.
675
7fbb9b02 6764. Fixed a memory leak which was causing dump to grow very big
a29c23cc
SP
677 (270MB when dumping a 10GB filesystem...). Thanks to Jason
678 Fearon <jasonf@netrider.org.au> for reporting the bug.
7fbb9b02 679
27026010
SP
680Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
681======================================================================
5c1faba5
SP
682
6831. Make configure test if the system glob routines support
684 extended syntax (ALTDIRFUNC). If not, use the internal glob
a95c4c36
SP
685 routines instead of system ones. Thanks to Bernhard Sadlowski
686 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug
687 and helping me resolve this and other minor libc5 compiling
688 glitches.
08ebf8d7 689
c5886bd7
SP
6902. Fix a problem when dumping a ext2fs with the 'filetype'
691 feature enabled. Thanks to Patrick J. LoPresti
692 <patl@cag.lcs.mit.edu> for reporting the bug and to
693 Theodore Y. Ts'o <tytso@mit.edu> for providing the patch.
694
4267a8ad
SP
6953. Made the nodump flag work on directories. A directory which
696 has the nodump flag gets never dumped, regardless of its
697 contents.
698
c930abff
SP
6994. Integrate a patch from Jeremy Fitzhardinge <jeremy@goop.org>
700 which allows dump on an active ext3 filesystem. However, this
701 is a "quick and dirty" patch which enables backup of an ext3
702 filesystem through the ext2 compatibility (by ignoring the
703 NEEDS_RECOVERY bit). The journal file is not recognized and
704 it is dumped (it should not).
705
7065. Test the superblock compatibility flags when dumping, in order
707 to be sure that we know how to deal with specific features.
708
08ebf8d7
SP
709Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
710====================================================================
711
7121. Use lchown instead of chown, fixing a possible security problem
713 when restoring symlinks (a malicious user could use this
714 to deliberately corrupt the ownership of important system files).
715 Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
716 this and providing the patch.
ec387a12 717
c154548c
SP
718Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
719====================================================================
ec387a12 720
df9ae507
SP
7211. Put dump sources under CVS, added Id tags in all files so
722 one can use 'ident' on binary files.
723
7242. Added the dump/restore version in the usage text so one can
725 easily verify the version he is using.
ec387a12 726
3072400e
SP
7273. Small patch from Nuno Oliveira <nuno@eq.uc.pt> which fixes
728 a va_start/va_end problem on linux-ppc (always call va_start
729 va_end in pairs each time we use a vararg function).
730
fa58b58d
SP
7314. Added again the DT_* constants because old libc does not
732 contain them :(. Thanks to Eric Maisonobe <virnet@nat.fr>
733 for submitting the bug report.
734
f34aca37
SP
7355. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
736 this should enable dumping big (huge) filesystems.
737
7386. Added the RSH environment variable in order to be able to
0c62667d
SP
739 use a rsh replacement like ssh when doing remote backups (and
740 bypass the security limitations of rcmd). Now you can do remote
741 backups without being root (or making dump setuid root).
742
f34aca37 7437. Modified again the way dumpdates works. For incremental dumps,
60f5ede9
SP
744 we need to read dumpdates even if we are not using 'u' option.
745 Thanks to Bdale Garbee <bdale@gag.com> for his ideas on how
746 this should work.
747
8d4197bb
SP
748Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
749===================================================================
750
7511. Removed the 'k' flag from the restore 'about' text if kerberos
752 was not compiled in.
753
7542. Prototyped (f)setflags from e2fsprogs and corrected the calls
755 to them (fsetflags takes a char*, setflags an open fd!).
756
7573. (f)setflags is called only if the flags aren't empty. If the
758 file is a special file, a warning is printed, because changing
759 flags implies opening the device. Normally, a special file
760 should not have any flag... (Debian bug #29775, patch provided
761 by Abhijit Dasgupta <abhijit@ans.net>).
762
7634. Made possible to dump a file system not mentioned in /etc/fstab.
764 (Debian bug #11904, patch provided by Eirik Fuller <eirik@netcom.com>).
765
7665. Changed the default behaviour to not create dumpdates
767 unless 'u' option is specified. Removed the old "debian-patch"
768 which provided the same thing. (Debian bug #38136, #33818).
769
7706. Removed all those dump*announce, since they were getting old...
771
7727. Added warning messages if dumpdates does not exist and
773 when an inferior level dump does not exist (except for a level 0
774 dump).
775
7768. Debugged the glob calls in interactive mode: restore used a
777 dirent struct which was different from the /usr/include/dirent.h
778 one (this used to work, is it a glibc2 change?), so none of the
779 compat glob (which used /usr/include/dirent.h) or the system glob
780 worked. Restore use now the system dirent (and the system
781 DT_* constants), which are compatible with BSD ones.
782
7839. Added a configure flag (--with-dumpdatespath) to specify
784 the location of dumpdates file. By default, it is
785 /etc/dumpdates.
786
78710. Added the "AUTHOR" and "AVAILABILITY" sections and
788 included the current date/version in man pages.
789
79011. Corrected the estimation of remaining time when
791 the operator doesn't change the tapes quickly enough. This
792 was an old bug, I thought I corrected it, and discovered
793 that in fact it was corrected in two different places, so
794 the results canceled each other...
795
796Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
797===================================================================
ddd2ef55
SP
798
7991. Integrated multiple patches from RedHat, Debian and SuSE:
800
801 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
802 isn't specified.
803 - several fixes in the man pages.
804 - update the default tape device to /dev/st0.
805 - many updates for Linux Alpha (byte ordering, size_t etc).
806 - buffer overruns.
807 - use environment variable for TMPDIR (instead of /tmp).
808 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
809 - workaround egcs bug (RedHat bugs #4281 and #2989).
810 - wire $(OPT) throughout Makefile's.
811
8d4197bb
SP
8122. Upgrade the dump revision to 1, making possible to dump filesystems
813 made with e2fsprogs-1.15 or newer. Nothing seems to break...
ddd2ef55 814
8d4197bb
SP
8153. Fix some compile warnings, prototype all functions.
816
8174. Use glibc err/glob instead of internal compatibility
ddd2ef55
SP
818 routines (only if available).
819
8d4197bb
SP
8205. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
821 by Bernhard Sadlowski <sadlowsk@mathematik.uni-bielefeld.de>).
822
823Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
824======================================================================
b45f51d6
SP
825
8261. Integrated the changes from FreeBSD-3.1-RELEASE
827 (mostly bug fixes, buffer overruns, dump has now an "automatic
828 tape length calculation" flag, dump/restore can use kerberos now
829 (this is NOT tested), use environment variables for TAPE and
830 RMT etc.).
831
8322. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
833
8343. Corrected a bug in restore when using 'C' option with multi-volumes
835 tapes (files splited accros two tapes give "size changed" errors
836 when comparing).
837
8384. Corrected the long standing bug when dumping multiple tapes.
839 This works for me, needs further testing.
1227625a 840
8d4197bb
SP
841Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
842====================================================================
1227625a
SP
843
8441. Dump now runs correctly on kernels 2.1.x
845 Fix made by Gerald Peters <gapeters@worldnet.att.net>
846
847Changes between versions 0.4b2 and 0.4b3
848========================================
849
8501. Use realpath() if available
851
8522. Report statistics
853
854Changes between versions 0.4b1 and 0.4b2
855========================================
856
8571. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
858 the patch)
859
8602. Fixed restore to make it able to read FreeBSD 2.x dumps again
861
8623. Fixed configure.in to correctly handle --enable-rmt
863
864Changes between versions 0.3 and 0.4b1
865======================================
866
8671. Integrated the changes from 4.4BSD-Lite2
868
8692. Integrated the patches from Debian and Red Hat
870
8713. Portability changes: use the __u32, __u16, __s32, and __s16 types
872
8734. Changed dump to use the Ext2fs library to get block addresses. This
874 should solve the endianness problem on SparcLinux.
875
8765. Created a configure.in file (shamelessly stolen from the e2fsprogs
877 distribution's one) to use autoconf
878
8796. Fixed a few minor bugs
880
881Changes between versions 0.2e and 0.2f
882======================================
883
8841. Added the creation of named pipes (fifos) in restore.
885
8862. Added the -N flag in the restore manual page.
887
8883. Added the file kernel.patch which contains the llseek() optimization
889 patch for 1.2.x kernels.
890
8914. Fixed a bug in the restoration of symbolic links: owner and group were
892 not restored.
893
8945. Integrated some changes from FreeBSD 2.2.
895
8966. Added a call to ftruncate() after restoring each file to restore
897 correctly files ending by a hole.
898
899Changes between versions 0.2d and 0.2e
900======================================
901
9021. Fixed a bug in the "set owner/mode" process. Every file was restored
903 with owner = root (0) and group = root/wheel/whatever (0).
904
905Changes between versions 0.2c and 0.2d
906======================================
907
9081. Dump is now able to backup 2GB+ filesystems.
909
9102. Dump and restore can now be linked as static binaries.
911
912Changes between versions 0.2b and 0.2c
913======================================
914
9151. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
916
917Changes between versions 0.2a and 0.2b
918======================================
919
9201. Really fixed the bug that I should have corrected in 0.2a.
921
9222. Enabled optimization again.
923
924Changes between versions 0.2 and 0.2a
925=====================================
926
9271. Disabled the optimization during compilation.
928
929Changes between versions 0.1 and 0.2
930====================================
931
9321. Fixed a bug in fstab.c which caused a null pointer to be stored in
933 the fs_type field (actually, I modified the file fstab.c to make it
934 use the mntent functions).
935
9362. Dump and restore now use a 4.3 BSD compatible dump format. Backups
937 made by dump should be readable by the BSD restore and backups made
938 by the BSD dump should be readable by restore. Unfortunately, this
939 means that the dump format has changed between version 0.1 and version
940 0.2 :-(
941
9423. Dump is now able to backup a subtree, it is no longer limited to whole
943 filesystems like the BSD version.
944
9454. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
946 than 2 GB.
947
948Changes between versions 0.0 and 0.1
949====================================
950
9511. Now create links rdump and rrestore during the `make install' step.
952
9532. Linux port specific bugs added to the manual pages
954
9553. Incorrect estimation of the number of tapes blocks fixed when doing
956 incremental backups.
957
9584. Better ls-like format in restore in interactive mode.