]> git.wh0rd.org - dump.git/blame - CHANGES
QFA fix (do not output directories in QFA file).
[dump.git] / CHANGES
CommitLineData
35952b8f
SP
1$Id: CHANGES,v 1.163 2002/02/21 09:25:31 stelian Exp $
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
f06477da
SP
10Changes between versions 0.4b26 and 0.4b27 (released February 15, 2002)
11=======================================================================
95d326c0
SP
12
131. Fixed behaviour of dump when exceeding resource limits
14 (SIGXFSZ treatment).
9688d7da 15
05f23c0c
SP
162. Added the -L flag to restore to allow the user to specify a
17 maximal allowed number of miscompares when using restore
18 with the -C option to check the backup.
19
203. Detailed the manual entry for the -N option of restore.
21
40df6a0e
SP
224. Added the -a flag to restore to make able doing unattended
23 restores in -i or -x mode (automatically walks through the
24 multiple dump volumes).
25
e51470bf
SP
265. Extended the QFA mode to work with local files and/or
27 remote tapes and files. This way, restore can know in advance
28 the tape number and the offset for the inodes to extract and
29 can minimize the extraction time by seeking directly to the
30 good tape/offset.
31
326. Added the -A <archive> option to both dump and restore,
33 which makes dump to archive a dump table-of-contents in
34 the specified file to be used by restore to determine
35 whether a file is in the dump file that is being restored.
36 (the archive file syntax is also compatible with the
37 Solaris ufsdump generated one).
103122b3 38
78daec31
SP
397. Small fix in restore making it able to read some (broken ?)
40 Solaris ufsdump tapes.
41
633963a2
SP
428. Fixed dump to correctly recognise the root filesystem when using
43 ext2 disk labels (LABEL=/). Thanks to John Yu <jky@it.bu.edu>
44 for reporting this bug.
45
fe0e0285
SP
469. Added the -P <file> option to restore to create a
47 Quick File Access file from an already made dump. Patch
48 contributed by Uwe Gohlke <uwe@ugsoft.de>.
49
5010. Made restore compile and run on Solaris, making it a
51 possible replacement for the standard ufsrestore. Port was
52 contributed by Uwe Gohlke <uwe@ugsoft.de>.
53
490aeb91
SP
54Changes between versions 0.4b25 and 0.4b26 (released January 7, 2002)
55=====================================================================
9688d7da
SP
56
571. Added a set of backup scripts from Eugenio Diaz
58 <getnito@yahoo.com> in the examples section. It features
59 automatic (cron based) full and incremental dumping of
60 several filesystems on a separate filesystem.
989f348a 61
5f918de7
SP
622. Fixed a off-by-one miscalculation which disabled dumping
63 a one letter subdirectory. Thanks to Chris Siebenmann
64 <cks@utcc.utoronto.ca> for reporting the bug.
65
ab28ebd4
SP
663. Fixed several restore bugs occuring when trying to
67 restore some missing files on the tape. Thanks to Chris
68 Siebenmann <cks@utcc.utoronto.ca> for reporting the bug.
69
e95b2aff
SP
704. Fixed --with-ldopts configure argument passing, installing from
71 a separate object directory, makefile cleanups contributed
72 by <splite@purdue.edu>.
73
8096304e
SP
745. Fix a bug which could caused, in some conditions, the highest
75 number inode of a filesystem, to not be dumped. Many thanks
76 to Chris Siebenmann <cks@utcc.utoronto.ca> for helping me
77 chase this bug.
78
bf8ee3da
SP
79Changes between versions 0.4b24 and 0.4b25 (released November 17, 2001)
80=======================================================================
989f348a
SP
81
821. Added a mini howto from Patrick Walsh in the examples
83 directory.
3dd5ecd7 84
b82d31dc
SP
852. Minor man pages syntax corrections. Thanks to
86 Chris Danis <screechco@home.com> for reporting the bugs.
87
883. Added a script from David B. Peterson <dave@toppledwagon.com>
89 to the examples section. It features dumping several
90 filesystems to a remote tape drive upon ssh.
91
924. Added a patch provided by Richard Jones <rich@annexia.org>
93 which allows BRADEMAX (number of read errors tolerated by
94 dump) to be adjusted using the -I option.
95
f9e97496
SP
965. Fixed a bug which disabled doing "restore -C -f -". Thanks
97 to Clemens Stiglechner <a9401816@unet.univie.ac.at> for the
98 patch.
99
80dea635
SP
1006. Add the -l option to restore to specify if, when doing a
101 remote restore, the file used to access the backup is a
102 regular file (the defaults being a tape drive). Restore needs
103 to know this information when reading a remote compressed
104 dump. Previously, this information was autodetected, but
105 the autodetection code fails (with ioctl: Inappropriate ioctl
3195bc1f
SP
106 for device) when using a non Linux remote box. Thanks to
107 many users and especially to Eros Albertazzi
108 <eros@lamel.bo.cnr.it> for reporting this.
109
a7556ed9
SP
1107. Found a workaroung for the dump deadlock problem (3 childs
111 stuck in pause(), father in read()). The workaround seems
112 to work for me and several beta-testers. If it doesn't work
113 for you, please report back.
132daf88
SP
114
1158. Updated the RPM spec file (BuildPrereq, URL etc).
116
68da8d85
SP
117Changes between versions 0.4b23 and 0.4b24 (released September 12, 2001)
118========================================================================
3dd5ecd7 119
f48a055e
SP
1201. Fixed the permissions of a newly created QFA file by dump.
121
1222. Cleaned up the source of dump (the external variables
123 definition was a complete mess, making possible to have
124 objects overlap).
6d9ffa3e 125
e46507f2
SP
1263. Fixed restore to use the full tape volume path when doing
127 a compare (since it changes the working directory to the
128 filesystem being compared in the process).
129
e084ba00
SP
1304. Added the -q option to dump which makes dump abort
131 whenever it needs operator attention. It should be
132 easier to use dump in scripts with this option.
133
8cef350e
SP
1345. Detect the use of incompatible options to dump and
135 refuse them (like -a and -B options together).
136
88ef261e
SP
1376. Added bzip2 compression to dump/restore (use option -j level
138 to select it). Note that you will need a restore version
139 >= 0.4b24 in order to restore a bzip2 compressed dump.
140 The same warning as for the zlib compression applies:
141 the tape format of a bzip2 dump is not compatible with the
142 original BSD tape format.
143
1df5c692
SP
1447. Fixed a overflow problem in dump corrupting the dump when
145 very large files were encountered. Thanks to Vladimir Nadvornik
146 for the bug report.
147
103245b6
SP
1488. Added a ioctl(BLKFLSBUF) in dump which should flush the
149 kernel buffer/page cache before starting the dump, helping
150 a bit those who use dump on mounted filesystems. Thanks to
151 John Yu <jky@it.bu.edu> and to Theodore T'so <tytso@mit.edu>
152 for this suggestion.
caea5c76
SP
153
1549. Updated the RPM spec file following the RedHat changes
155 (dynamically linked binaries now in /usr/sbin etc).
156
8b7882a8
SP
15710. Added a patch from Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
158 which enables restore to recognise multi volume compressed dumps
159 done on CD. Included his scripts for dump (which pipe the dump
160 output directly into cdrecord) and restore. There is now
161 possible to to backups to CD on the fly!
162
3a1a7e1c
SP
163Changes between versions 0.4b22 and 0.4b23 (released July 20, 2001)
164===================================================================
6d9ffa3e
SP
165
1661. Fixed a buffer overflow in restore/tape.c. Patch provided by
167 Marcus Meissner (Caldera International Security Dept.).
fa7fb417 168
5a7167e9
SP
1692. Implement the Sun rmt extended protocol. Patch submitted
170 by Ian Gordon <iangordon@users.sourceforge.net>.
171
e4a8bde4
SP
1723. Check for the e2fsprogs header <ext2fs/ext2_fs.h> instead of
173 the linux kernel header. This ensures that dump always has the
174 latest version of this file. Patch submitted by
175 Andreas Dilger <adilger@turbolinux.com>.
176
8bfad78a
SP
1774. Report any filesystem present in either /etc/fstab with a
178 positive passno or /etc/dumpdates in dump -w output.
179 Patch submitted by Andreas Dilger <adilger@turbolinux.com>.
180
ad922073
SP
1815. Fixed the looping problem in dump introduced in the
182 previous version.
183
e7850aac
SP
1846. Changed the -B option of dump to limit the size of
185 _compressed_ output per volume if compression is on.
186 Patch contributed by Helmut Jarausch
b0522d37
SP
187 <jarausch@igpm.rwth-aachen.de>. Note however that, since
188 it is impossible to predict the size of the compressed
189 data before doing the compression, the -B limit is a bit
190 conservative.
e7850aac 191
5bbb0926
SP
1927. Fixed a bug in reading the operator typed file/tape path for
193 the next volume in restore.
194
c534413c
SP
1958. Implemented a "-F script" option to restore which permits the
196 user to specify a script which will be launched at the
197 beginning of each tape, useful for automatic programming of
198 tape changers for example. See the restore man page for the
199 script parameters and return codes.
200
b8f7cbe6
SP
2019. Small fix for the QFA routines provided by Uwe Gohlke
202 <uwe@ugsoft.de>, and some recommendations for QFA uses in
203 the man pages.
204
651fb4a5
SP
20510. Fixed the multivolume restoring where making a mistake
206 to the 'Mount next tape' prompt caused several blocks to
207 be lost.
208
6d732772
SP
20911. Enhanced the -e option of dump to take as a parameter a
210 comma separated list of inode numbers.
211
21212. Added the -E option to dump which specify a file containing
213 inode numbers to exclude from the dump.
214
e7979078
SP
21513. Fixed the compressed multi-volume dump + restore.
216
9081ea90
SP
217Changes between versions 0.4b21 and 0.4b22 (released May 12, 2001)
218==================================================================
fa7fb417 219
90aa4874 2201. Made dump report the number of blocks dumped per volume.
fa7fb417 221 Thanks to Kenneth Porter <shiva@well.com> for the suggestion.
58d85348 222
90aa4874
SP
2232. Fix a bug in dump where waiting too much at the 'change volumes'
224 question caused the volume to be rewritten. Thanks to
225 Graham Reed <greed@users.sourceforge.net> for reporting the
226 bug and providing a patch.
227
a01aa5e8 2283. Added a compression option to dump, contributed by Jerry
401a4d13 229 Peters <gapeters@worldnet.att.net>.
a01aa5e8 230
2b747532
SP
231 WARNING: the compression works only on files/pipes and
232 drives supporting variable block size.
a01aa5e8
SP
233
234 WARNING2: tapes created using the compression feature are
235 incompatible with the standard dump tape format, and a
236 version of restore >= 0.4b22 will be needed for extraction.
237
401a4d13
SP
2384. Fixed some compilation problems for glibc 2.2.2 and 64 bit
239 architectures. Thanks to Paul Slootman <paul@debian.org> for
240 the patch and to Bdale Garbee <bdale@gag.com> for forwarding
241 it upstream.
242
43460f04 2435. Many cleanups (CPP defines, const char warnings, check of
43ef843b
SP
244 ext2fs COMPAT flags, time_t cleanups, added libext2 version
245 in dump usage text) by Andreas Dilger <adilger@turbolinux.com>.
43460f04 246
60d46c35
SP
2476. Made --prefix option work in configure. All the install path
248 are now based on the configure parameters.
249
35b24fb7
SP
2507. Added the Quick File Access mode in dump/restore, contributed
251 by Uwe Gohlke <uwe@ugsoft.de>. In this mode, dump stores in
252 a file tape position for each inode, and this file is used by
253 restore (if called with parameter Q and the filename)
254 to directly position the tape at the file restore is currently
255 working on. This saves hours when restoring single files from
256 large backups, saves the tapes and the drive's head. Use
257 --enable-qfa option of configure to compile in the QFA support.
258
a94ecd11
SP
2598. Added the possibility to dump several files and directories
260 in a single invocation of dump. Thanks to Uwe Gohlke
261 <uwe@ugsoft.de> for implementing this option.
262
cfa03414
SP
2639. Fixed the dumping and restoring of files with holes
264 (files ending with holes didn't get dumped or restored
265 correctly).
266
700b236e
SP
26710. Fixed a socket descriptor leak in dump, which leaved opened
268 3 file descriptors per dump process (and there is one dump
269 process per tape).
270
95c74f38
SP
27111. Fixed dump large file system support, by explicit use of
272 open64/lseek64/etc functions (explicit use needed because
273 e2fsprogs libraries don't behave well when compiled with
274 FILE_OFFSET_BITS=64).
275
35e850a4
SP
276Changes between versions 0.4b20 and 0.4b21 (released January 13, 2001)
277======================================================================
58d85348
SP
278
2791. Fixed some bugs in the dump -w|-W logic introduced by
280 the previous version. Thanks to Andreas Dilger
281 <adilger@turbolinux.com> for his help on this one.
1099d48c 282
a23c5022
SP
2832. Fixed again a compilation problem when using old e2fs
284 headers (filesystem label related). Thanks to many users
285 who reported this stupid error.
286
a1158276 2873. Fixed a build problem on old lib5 based systems dealing with
f1266a2f
SP
288 _PATH_MNTTAB being undefined. Thanks to John Adams
289 <johna@onevista.com> for reporting the bug.
a1158276 290
42bcc624
SP
2914. Improved the error detection in restore when creating
292 the temporary files in TMPDIR. Now restore will corectly
293 report a 'no space left on device' error instead of
294 strange errors which could imply an archive corruption.
295 Thanks to Gabriel Somlo <somlo@cs.colostate.edu> and
296 bgjenero <bgjenero@sympatico.ca> for reporting the bug.
297
88f15c1b
SP
2985. Added the throughput information in dump's progression
299 messages. Thanks to Andreas Dilger <adilger@turbolinux.com>
300 for the patch.
301
0bd5aa90
SP
3026. Use libext2fs's inode scanning routines, which are particularly
303 robust when dealing with errors (especially when having some
304 bad blocks on the filesystem). Many thanks to Colin
305 <colin@horizon.com> for reporting the bug, investigating
306 the issues, finding a workaround, writing the patch and
307 fully testing it... (of course, if this patch will break
308 anything, he is to blame for :-)).
309
7ae7e2fd 3107. Made dump and restore LFS aware. Dump can dump a filesystem
d6967896
SP
311 containing large files, generate a large file on output and
312 restore can restore them. This feature is not enabled by
313 default, use --enable-largefile option of configure to enable
314 it (you need to have a LFS aware glibc though). Thanks to
315 Andrea Arcangeli <andrea@suse.de> for submitting the patch,
316 and to Theodore T'so <tytso@valinux.com> for his always
317 useful thoughts.
318
7ae7e2fd
SP
3198. Made dump ask upon a tape write error if it should rewrite
320 the current volume (assume this is a bad tape) or if it should
321 assume an end-of-tape condition (useful for tape drives which
322 behaves badly at the end of the tape). Thanks to Andreas
323 Dilger <adilger@turbolinux.com> for the suggestion.
324
e93e901d
SP
325Changes between versions 0.4b19 and 0.4b20 (released November 10, 2000)
326=======================================================================
1099d48c 327
bd731171
SP
3281. Fixed a small compilation problem due to a change
329 in the definintion of the struct sigaction in
330 glibc 2.0 / libc5. Thanks to Gunther Schlegel
331 <schlegel@riege.de> for reporting the bug and to
332 Dave Platt <dplatt@snulbug.mtview.ca.us> for suggesting
333 a fix.
1099d48c
SP
334
3352. Modified the label and uuid analysis in order to be
336 self-contained (independant of kernel/libc headers). This
337 should fix the compile with older kernel/libc headers and
338 will preserve the functionality. Thanks to Bernhard Erdmann
339 <bernhard.erdmann@gmx.de> for reporting the bug.
340
1cd75c4c
SP
3413. The 'exclude inode' option, if applied to a directory
342 inode, excludes now correctly all the leaves of this
343 directory. Thanks to John R. Dennison
344 <gerdesas@users.sourceforge.net> for reporting the bug.
f1d86882 345
aec13b2a
SP
3464. Fixed the '-e' option to disable the possibility
347 to exclude the root inode (which causes the dumps to
348 be unreadable by restore). Prevented array overflow
349 when multiple -e options are used.
350
8c363e9a
SP
3515. Fixed dump to correctly interpret a filesystem argument
352 which is a mountpoint and it is not an absolute path
353 (as specified in the fstab). Thanks to Bernhard R. Erdmann
354 <be@berdmann.de> for reporting the bug.
355
abc63c56
SP
3566. Made dump able to backup files larger than 2 GB. Note that
357 dump still doesn't cope with files larger than 4 GB.
358
2c168f5f
SP
3597. Restore the real uid and gid before invoking an external
360 RSH program (big hole when dump or restore is suid root!).
361
6169d840
SP
3628. Get the values for the default tape device and the location
363 of fstab file from the system headers. Thanks to
364 Andreas Dilger <adilger@turbolinux.com> for the patch.
365
51b01afe
SP
3669. Made dump -w|-W report all recognized filesystems
367 present in either /etc/fstab or /etc/dumpdates, and present
368 the list in the same order as in fstab file. Thanks
369 to Andreas Dilger <adilger@turbolinux.com> for the patch.
370
4f4eee3d
SP
37110. Made dump's -a (automatic end of tape detection) the
372 default. Specifying one of -B, -c, -d or -s options will
373 override the EOM detection. Thanks to Andreas Dilger
374 <adilger@turbolinux.com> for the patch.
375
95cd8801
SP
37611. Save the ext2 filesystem label into the dump volume label.
377 Specifying a volume label on the command line (-L option)
378 will override this feature. Thanks to Andreas Dilger
379 <adilger@turbolinux.com> for the patch.
380
d56b7aa4
SP
381Changes between versions 0.4b18 and 0.4b19 (released August 20, 2000)
382=====================================================================
f1d86882
SP
383
3841. Fixed the signal handling in dump (which I broke in 0.4b17)
385 which was causing several strange dump failures (dump
386 hanged or segmentation faults etc).
ddf0df5b 387
65bceb9b
SP
3882. Specified the default blocksize in the dump man page.
389
57b19d7f
SP
3903. Changed two info messages of restore to be written on stdout
391 instead of stderr in order to leave stderr only for errors
392 or warnings. Thanks to Stephen Atwell
393 <satwell@urbana.css.mot.com> for the suggestion.
394
4f94452b
SP
3954. Corrected an off by one calculation which prevented
396 dumping a directory having a 1 character name length.
397 Thanks to Bernhard Erdmann <bernhard.erdmann@gmx.de>
398 for reporting the bug.
399
79e31865
SP
4005. Reinforce dump in order to allow only level 0 and no
401 -u option when dumping a subdirectory, and document
402 this in the man page. Thanks to Bernhard Erdmann
403 <bernhard.erdmann@gmx.de> for reporting the bug.
404
9be511dc
SP
4056. Fixed a small harmless bug in restore which caused
406 in some conditions hard links to be restored several
407 times (therefore generation some warning messages).
408 Thanks to Kenneth Porter <shiva@well.com> for
409 reporting the bug.
410
3e815572 4117. Updated the RPM spec file to the latest RedHat version,
1d568d1b 412 providing FHS packaging and other cosmetic changes.
1099d48c 413 You will need RPM version >= 3.0.5 in order to build the RPM.
1d568d1b 414
3e815572
SP
4158. Updated the configure script to check for libtermcap
416 before checking for libreadline, because we need this
417 library in order to compile the readline support.
418
8954518f
SP
4199. Made dump understand the LABEL= and UUID= notation
420 both in /etc/fstab and on the command line. Note that
421 you will need the /proc filesystem in order to use
422 these notations. Thanks to Erik Troan <ewt@redhat.com>
423 for providing the patch.
424
8cca05cc
SP
425Changes between versions 0.4b17 and 0.4b18 (released June 30, 2000)
426===================================================================
ddf0df5b
SP
427
4281. Fixed a potential buffer overflow in restore. Thanks
429 to Stan Bubrouski <satan@fastdial.net> for reporting
430 the bug.
30a43325 431
64bb207a
SP
4322. Fixed a readline-related bug which prevented
433 'cat DUMPFILE | restore -i -f -' from working. Thanks
434 to Charles Karney <karney@users.sourceforge.net>
435 for the bug report.
436
d572dbfd
SP
4373. Changed a few "panic" into "exit", causing restore to
438 be more stable against some attacks (like the last one
439 reported on Bugtraq, although the last version of restore
440 was not vulnerable - just dumped core). Thanks to
441 Andreas Hasenack <andreas@conectiva.com.br> for reporting
442 the bugs to me.
443
882090d1
SP
4444. Removed the suid-root bit on dump and restore in the
445 default build (and generated RPMs). It should be safer
446 now. Users who need the suid-root capabilities in order
447 to make network backups should read first the man page
448 of dump and enable the suid bit manually.
449
5e04cc92
SP
4505. Added -ltermcap to the compile parameters for restore
451 when using readline support, in order to make the compile
452 process work on some systems (SuSE ?). Thanks to
453 Patrik Schindler <poc@pocnet.net> for reporting the bug.
454
ac443b63 455Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000)
30a43325
SP
456====================================================================
457
4581. The -F script is called now *only* at the end of a tape,
49023a9d 459 not at the end of the dump. Thanks to Christian Haul
30a43325
SP
460 <haul@informatik.tu-darmstadt.de> for the bug report.
461
d8574d45
SP
462 Normally, the device name and the current volume number
463 are passed on the command line of the script. However,
464 if you want the old style script (with no arguments
465 passed on the command line), you can enable it in
466 configure with the --enable-oldstylefscript.
467
30a43325
SP
4682. Use posix signal handling to preserve dump functionality
469 with libc5. Thanks to Jeff Johnson <jbj@redhat.com> for
470 the patch.
d65ed175 471
3d78f5f2
SP
4723. Made the exit code of restore in case of a 'C'ompare
473 command reflect the result of the compare. An exit status
474 of 0 means the dump archive is correct, 1 means tape errors,
d8574d45
SP
475 2 means that some files were modified. Thanks to Kenneth Porter
476 <shiva@well.com> for the suggestion.
3d78f5f2 477
d8574d45 4784. Made (finally) quotes work in interactive restore.
386d48c0 479
a110deb5 4805. Small fixes in order to allow dump to compile with a
d8574d45
SP
481 really old e2fsprogs version. Thanks to Ian Zimmerman
482 <itz@speakeasy.org> for the bug report.
a110deb5 483
c38e5b6a
SP
4846. Add GNU readline capabilities to interactive restore.
485 Use configure's --enable-readline flag to enable this feature.
d8574d45
SP
486 Thanks to Patrik Schindler <poc@pocnet.net> for the
487 suggestion.
488
4897. Do the compare on the fly in restore 'C' mode (this will
490 allow not to exhaust the available /tmp space when
491 ccmparing large files). Thanks to Kenneth Porter
492 <shiva@well.com> for the suggestion.
c38e5b6a 493
107a347c
SP
494Changes between versions 0.4b15 and 0.4b16 (released March 11, 2000)
495====================================================================
d65ed175
SP
496
4971. Fixed some several duplicate 'DUMP: DUMP:' in the
498 output of dump.
d3393043 499
cbc94239
SP
5002. Corrected the estimation of blocks to dump. Note that
501 this is still wrong for large directory inodes, due
502 to the size of a BSD directory entry on the tape
503 (estimation is based on the size of the ext2 directory,
504 which is smaller because it doesn't contain the null
505 character at the end).
506
5073. Made dump report the total number of MB written to
508 tape at the end of run. Thanks to W. Reilly Cooley
509 <wcooley@nakedape.cc> for the patch.
510
08db2b86
SP
5114. Added the -X option to restore giving the possibility
512 to read the names of the files to be extracted/listed
1a05d45d
SP
513 from a text file (in addition of the command line).
514 Thanks to Dejan Muhamedagic <dejan@quant-x.com> for the
515 patch.
08db2b86 516
365a7c7c
SP
5175. Added the device name and the current volume number
518 as arguments to the end of tape script (dump -F option).
519
24ea1fb9
SP
5206. Made the multi-volume dump work again (after having
521 broken it in 0.4b15).
522
2f7e72ce
SP
523Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000)
524===================================================================
d3393043
SP
525
5261. Added a prompt command in interactive restore mode. Thanks
527 to Andreas Dilger <adilger@home.com> for the patch.
d6f78b13 528
92a9bf12
SP
5292. Fixed a buffer overflow problem in dump (caused by
530 not checking the size of the filesystem parameter).
531 Thanks to Kim Yong-jun <loveyou@hackerslab.org> for
532 reporting this on Bugtraq (and to several dump users
533 who forwarded me his mail).
534
0d7af9c5
SP
5353. Added the '-F script' option to dump in order to
536 launch a script at the end of each tape (to be used
537 with a tape changer, or to notify the sysadmin by
538 pager etc.).
539
5404. Fixed a bug in restore compare code caused by the changes
541 I made in 0.4b14.
542
5435. Fixed the treatment of options using the old BSD syntax
544 in both dump and restore.
545
688653ea
SP
546Changes between versions 0.4b13 and 0.4b14 (released February 10, 2000)
547=======================================================================
d6f78b13
SP
548
5491. Fixed a bug in dump which may have caused invalid deleted
550 directories to be dumped out if they were deleted after the
551 mapping pass. This could occure on active filesystem and lead
552 to heap corruption (causing dump malfunction in many possible ways).
553 Thanks to Jan Sanislo <oystr@cs.washington.edu> for finding this
554 bug and submitting the patch.
ae58c8da 555
a2c9bd28
SP
5562. Fixed the handling of the filesystem parameter in dump. A
557 '/mnt/disk' parameter caused the disk contents to be dumped,
558 but a '/mnt/disk/' parameter caused the mountpoint directory
559 to be dumped (generally an empty directory).
560
5613. Improved the output of dump in order to tell which directory
562 it is currently dumping (when dumping a subtree).
563
20c345aa
SP
5644. Added the '-e' exclude inode option to dump. Thanks to
565 Isaac Chuang <ike@isl.stanford.edu> for contributing with the patch.
566
d8476fa5
SP
5675. Added a REPORTING-BUGS file in order to provide a guide
568 on how to correctly report a bug in dump/restore.
569
c60338a5
SP
5706. Fixed a restore problem when restoring a hard link to an inode
571 having the immutable or append-only attribute set. Thanks to
572 Ambrose Li <acli@mingpaoxpress.com> for submitting the patch.
573
8eb05297
SP
5747. Fixed a compatibility problem between dumps made on little
575 endian machines (the format was correct) and big endian
576 machines (the format was incorrect). This fix break the
577 compatibility with the older dumps made on big endian
578 machines (sparc, m86k, ppc etc). For the first time in
579 linux dump's history (I believe), the dumps made by *BSD,
580 Linux/alpha, Linux/sparc and Linux/x86 are compatible,
581 so interchangeable. Thanks to Rob Cermak
582 <cermak@ahab.rutgers.edu> for submitting the bug and
583 helping me test the fix.
584
5858. Fixed the way dump reports the remaining percent/time, if
586 the number of blocks actually dumped exceeds the estimated
587 number of blocks. Thanks to Jean-Paul van der Jagt
588 <jeanpaul@dutepp0.et.tudelft.nl> for reporting the bug.
589
d4b74b5c
SP
590Changes between versions 0.4b12 and 0.4b13 (released January 21, 2000)
591======================================================================
2f9a0c5c
SP
592
5931. Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
594 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug.
595
6dda05e4
SP
5962. Removed the requirement to build the RPM as root from the
597 spec file. Thanks to Christian Weisgerber
598 <naddy@mips.rhein-neckar.de> for submitting this.
599
8d957ae7 6003. Fixed a bug in dump related to the 'filetype' feature of ext2fs,
f346e363
SP
601 causing dump to block when dumping really huge filesystems.
602 Many thanks to Patrik Schindler <poc@pocnet.net> for
603 helping me find this bug.
604
8d957ae7 6054. Fixed the treatment for an interrupt signal when dump access
b80c25f8
SP
606 the remote tape through RSH. Thanks to Christian Weisgerber
607 <naddy@mips.rhein-neckar.de> for providing the patch.
608
8d957ae7
SP
6095. Fixed a bug which was causing dump/restore to display
610 garbage characters instead of the remote host name.
611
2f9a0c5c 612Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
df172bbb 613=====================================================================
ae58c8da
SP
614
6151. Small fix in the dump man page. Thanks to Thorsten Kukuk
616 <kukuk@suse.de> for submitting the patch.
2ed89fda 617
a29c23cc
SP
6182. Fix for the exit code when using the size estimate option of
619 dump. Thanks to Matti Taskinen <mkt@rni.helsinki.fi> for
620 submitting the patch.
621
2e682895
SP
6223. Handle EINTR in atomical reads/writes in dump, which was causing
623 dump to fail on some systems. Thanks to Eric Jergensen
624 <eric@dvns.com> for reporting the bug and submitting the patch.
625
6264. Handle more than 16 characters for the device names in dumpdates.
627 (up to 255 now). Thanks to Rainer Clasen <bj@ncc.cicely.de> for
628 tracking down the problem and proposing the solution.
629
6305. Fixed a bug in dump which prevented the creation of the
631 dumpdates file when doing a 0-level dump without already
632 having a dumpdates file. Thanks to Patrik Schindler
633 <poc@pocnet.net> for reporting the bug.
634
6356. Changed the way dump 'S' flag reports the size estimate
636 from number of blocks into bytes (making it compatible
637 with the Solaris version, and simplifying things for
638 amanda users). Thanks to Jason L Tibbitts III
639 <tibbs@math.uh.edu> for reporting the bug.
640
0d0bc326
SP
6417. Fixed a compatibility problem in linux/alpha dump tape format.
642 Now the linux/alpha dump are (again) compatible with the
643 other dump formats. But this breaks compatibility with
644 older dumps made on alpha. Thanks to Mike Tibor
645 <tibor@lib.uaa.alaska.edu> for helping me in finding this bug.
646
cf9aab8e 647Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999)
2ed89fda
SP
648======================================================================
649
6501. Added a '--enable-kerberos' to configure.
5c1faba5 651
144a6db1 6522. Added a 'S' option to dump which determines the amount of space
5c729713 653 that is needed to perform the dump without actually doing it, similar
144a6db1
SP
654 to the Sun's ufsdump 'S' option. Patch contributed by Rob Cermak
655 <cermak@ahab.rutgers.edu>.
656
677ee424
SP
6573. Added a 'M' multi-volume option to dump and restore which enables
658 dumping to multiple files (useful when dumping to an ext2
659 partition to make several dump files in order to bypass the 2GB
660 file size limitation). The 'f' argument is treated as a prefix and
661 the output files will be named <prefix>001, <prefix>002 etc. With
662 the 'M' flag, restore automatically selects the right file without
663 asking to enter a new tape each time.
664
7fbb9b02 6654. Fixed a memory leak which was causing dump to grow very big
a29c23cc
SP
666 (270MB when dumping a 10GB filesystem...). Thanks to Jason
667 Fearon <jasonf@netrider.org.au> for reporting the bug.
7fbb9b02 668
27026010
SP
669Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
670======================================================================
5c1faba5
SP
671
6721. Make configure test if the system glob routines support
673 extended syntax (ALTDIRFUNC). If not, use the internal glob
a95c4c36
SP
674 routines instead of system ones. Thanks to Bernhard Sadlowski
675 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug
676 and helping me resolve this and other minor libc5 compiling
677 glitches.
08ebf8d7 678
c5886bd7
SP
6792. Fix a problem when dumping a ext2fs with the 'filetype'
680 feature enabled. Thanks to Patrick J. LoPresti
681 <patl@cag.lcs.mit.edu> for reporting the bug and to
682 Theodore Y. Ts'o <tytso@mit.edu> for providing the patch.
683
4267a8ad
SP
6843. Made the nodump flag work on directories. A directory which
685 has the nodump flag gets never dumped, regardless of its
686 contents.
687
c930abff
SP
6884. Integrate a patch from Jeremy Fitzhardinge <jeremy@goop.org>
689 which allows dump on an active ext3 filesystem. However, this
690 is a "quick and dirty" patch which enables backup of an ext3
691 filesystem through the ext2 compatibility (by ignoring the
692 NEEDS_RECOVERY bit). The journal file is not recognized and
693 it is dumped (it should not).
694
6955. Test the superblock compatibility flags when dumping, in order
696 to be sure that we know how to deal with specific features.
697
08ebf8d7
SP
698Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
699====================================================================
700
7011. Use lchown instead of chown, fixing a possible security problem
702 when restoring symlinks (a malicious user could use this
703 to deliberately corrupt the ownership of important system files).
704 Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
705 this and providing the patch.
ec387a12 706
c154548c
SP
707Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
708====================================================================
ec387a12 709
df9ae507
SP
7101. Put dump sources under CVS, added Id tags in all files so
711 one can use 'ident' on binary files.
712
7132. Added the dump/restore version in the usage text so one can
714 easily verify the version he is using.
ec387a12 715
3072400e
SP
7163. Small patch from Nuno Oliveira <nuno@eq.uc.pt> which fixes
717 a va_start/va_end problem on linux-ppc (always call va_start
718 va_end in pairs each time we use a vararg function).
719
fa58b58d
SP
7204. Added again the DT_* constants because old libc does not
721 contain them :(. Thanks to Eric Maisonobe <virnet@nat.fr>
722 for submitting the bug report.
723
f34aca37
SP
7245. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
725 this should enable dumping big (huge) filesystems.
726
7276. Added the RSH environment variable in order to be able to
0c62667d
SP
728 use a rsh replacement like ssh when doing remote backups (and
729 bypass the security limitations of rcmd). Now you can do remote
730 backups without being root (or making dump setuid root).
731
f34aca37 7327. Modified again the way dumpdates works. For incremental dumps,
60f5ede9
SP
733 we need to read dumpdates even if we are not using 'u' option.
734 Thanks to Bdale Garbee <bdale@gag.com> for his ideas on how
735 this should work.
736
8d4197bb
SP
737Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
738===================================================================
739
7401. Removed the 'k' flag from the restore 'about' text if kerberos
741 was not compiled in.
742
7432. Prototyped (f)setflags from e2fsprogs and corrected the calls
744 to them (fsetflags takes a char*, setflags an open fd!).
745
7463. (f)setflags is called only if the flags aren't empty. If the
747 file is a special file, a warning is printed, because changing
748 flags implies opening the device. Normally, a special file
749 should not have any flag... (Debian bug #29775, patch provided
750 by Abhijit Dasgupta <abhijit@ans.net>).
751
7524. Made possible to dump a file system not mentioned in /etc/fstab.
753 (Debian bug #11904, patch provided by Eirik Fuller <eirik@netcom.com>).
754
7555. Changed the default behaviour to not create dumpdates
756 unless 'u' option is specified. Removed the old "debian-patch"
757 which provided the same thing. (Debian bug #38136, #33818).
758
7596. Removed all those dump*announce, since they were getting old...
760
7617. Added warning messages if dumpdates does not exist and
762 when an inferior level dump does not exist (except for a level 0
763 dump).
764
7658. Debugged the glob calls in interactive mode: restore used a
766 dirent struct which was different from the /usr/include/dirent.h
767 one (this used to work, is it a glibc2 change?), so none of the
768 compat glob (which used /usr/include/dirent.h) or the system glob
769 worked. Restore use now the system dirent (and the system
770 DT_* constants), which are compatible with BSD ones.
771
7729. Added a configure flag (--with-dumpdatespath) to specify
773 the location of dumpdates file. By default, it is
774 /etc/dumpdates.
775
77610. Added the "AUTHOR" and "AVAILABILITY" sections and
777 included the current date/version in man pages.
778
77911. Corrected the estimation of remaining time when
780 the operator doesn't change the tapes quickly enough. This
781 was an old bug, I thought I corrected it, and discovered
782 that in fact it was corrected in two different places, so
783 the results canceled each other...
784
785Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
786===================================================================
ddd2ef55
SP
787
7881. Integrated multiple patches from RedHat, Debian and SuSE:
789
790 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
791 isn't specified.
792 - several fixes in the man pages.
793 - update the default tape device to /dev/st0.
794 - many updates for Linux Alpha (byte ordering, size_t etc).
795 - buffer overruns.
796 - use environment variable for TMPDIR (instead of /tmp).
797 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
798 - workaround egcs bug (RedHat bugs #4281 and #2989).
799 - wire $(OPT) throughout Makefile's.
800
8d4197bb
SP
8012. Upgrade the dump revision to 1, making possible to dump filesystems
802 made with e2fsprogs-1.15 or newer. Nothing seems to break...
ddd2ef55 803
8d4197bb
SP
8043. Fix some compile warnings, prototype all functions.
805
8064. Use glibc err/glob instead of internal compatibility
ddd2ef55
SP
807 routines (only if available).
808
8d4197bb
SP
8095. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
810 by Bernhard Sadlowski <sadlowsk@mathematik.uni-bielefeld.de>).
811
812Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
813======================================================================
b45f51d6
SP
814
8151. Integrated the changes from FreeBSD-3.1-RELEASE
816 (mostly bug fixes, buffer overruns, dump has now an "automatic
817 tape length calculation" flag, dump/restore can use kerberos now
818 (this is NOT tested), use environment variables for TAPE and
819 RMT etc.).
820
8212. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
822
8233. Corrected a bug in restore when using 'C' option with multi-volumes
824 tapes (files splited accros two tapes give "size changed" errors
825 when comparing).
826
8274. Corrected the long standing bug when dumping multiple tapes.
828 This works for me, needs further testing.
1227625a 829
8d4197bb
SP
830Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
831====================================================================
1227625a
SP
832
8331. Dump now runs correctly on kernels 2.1.x
834 Fix made by Gerald Peters <gapeters@worldnet.att.net>
835
836Changes between versions 0.4b2 and 0.4b3
837========================================
838
8391. Use realpath() if available
840
8412. Report statistics
842
843Changes between versions 0.4b1 and 0.4b2
844========================================
845
8461. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
847 the patch)
848
8492. Fixed restore to make it able to read FreeBSD 2.x dumps again
850
8513. Fixed configure.in to correctly handle --enable-rmt
852
853Changes between versions 0.3 and 0.4b1
854======================================
855
8561. Integrated the changes from 4.4BSD-Lite2
857
8582. Integrated the patches from Debian and Red Hat
859
8603. Portability changes: use the __u32, __u16, __s32, and __s16 types
861
8624. Changed dump to use the Ext2fs library to get block addresses. This
863 should solve the endianness problem on SparcLinux.
864
8655. Created a configure.in file (shamelessly stolen from the e2fsprogs
866 distribution's one) to use autoconf
867
8686. Fixed a few minor bugs
869
870Changes between versions 0.2e and 0.2f
871======================================
872
8731. Added the creation of named pipes (fifos) in restore.
874
8752. Added the -N flag in the restore manual page.
876
8773. Added the file kernel.patch which contains the llseek() optimization
878 patch for 1.2.x kernels.
879
8804. Fixed a bug in the restoration of symbolic links: owner and group were
881 not restored.
882
8835. Integrated some changes from FreeBSD 2.2.
884
8856. Added a call to ftruncate() after restoring each file to restore
886 correctly files ending by a hole.
887
888Changes between versions 0.2d and 0.2e
889======================================
890
8911. Fixed a bug in the "set owner/mode" process. Every file was restored
892 with owner = root (0) and group = root/wheel/whatever (0).
893
894Changes between versions 0.2c and 0.2d
895======================================
896
8971. Dump is now able to backup 2GB+ filesystems.
898
8992. Dump and restore can now be linked as static binaries.
900
901Changes between versions 0.2b and 0.2c
902======================================
903
9041. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
905
906Changes between versions 0.2a and 0.2b
907======================================
908
9091. Really fixed the bug that I should have corrected in 0.2a.
910
9112. Enabled optimization again.
912
913Changes between versions 0.2 and 0.2a
914=====================================
915
9161. Disabled the optimization during compilation.
917
918Changes between versions 0.1 and 0.2
919====================================
920
9211. Fixed a bug in fstab.c which caused a null pointer to be stored in
922 the fs_type field (actually, I modified the file fstab.c to make it
923 use the mntent functions).
924
9252. Dump and restore now use a 4.3 BSD compatible dump format. Backups
926 made by dump should be readable by the BSD restore and backups made
927 by the BSD dump should be readable by restore. Unfortunately, this
928 means that the dump format has changed between version 0.1 and version
929 0.2 :-(
930
9313. Dump is now able to backup a subtree, it is no longer limited to whole
932 filesystems like the BSD version.
933
9344. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
935 than 2 GB.
936
937Changes between versions 0.0 and 0.1
938====================================
939
9401. Now create links rdump and rrestore during the `make install' step.
941
9422. Linux port specific bugs added to the manual pages
943
9443. Incorrect estimation of the number of tapes blocks fixed when doing
945 incremental backups.
946
9474. Better ls-like format in restore in interactive mode.