]> git.wh0rd.org - dump.git/blob - CHANGES
1b98399bbc7067fb96c4d8a5671a722b0f15f36c
[dump.git] / CHANGES
1 $Id: CHANGES,v 1.20 1999/11/21 15:39:45 tiniou Exp $
2
3 Changes between versions 0.4b10 and 0.4b11 (released ????????????????)
4 ======================================================================
5
6 1. Added a '--enable-kerberos' to configure.
7
8 Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
9 ======================================================================
10
11 1. Make configure test if the system glob routines support
12 extended syntax (ALTDIRFUNC). If not, use the internal glob
13 routines instead of system ones. Thanks to Bernhard Sadlowski
14 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug
15 and helping me resolve this and other minor libc5 compiling
16 glitches.
17
18 2. Fix a problem when dumping a ext2fs with the 'filetype'
19 feature enabled. Thanks to Patrick J. LoPresti
20 <patl@cag.lcs.mit.edu> for reporting the bug and to
21 Theodore Y. Ts'o <tytso@mit.edu> for providing the patch.
22
23 3. Made the nodump flag work on directories. A directory which
24 has the nodump flag gets never dumped, regardless of its
25 contents.
26
27 4. Integrate a patch from Jeremy Fitzhardinge <jeremy@goop.org>
28 which allows dump on an active ext3 filesystem. However, this
29 is a "quick and dirty" patch which enables backup of an ext3
30 filesystem through the ext2 compatibility (by ignoring the
31 NEEDS_RECOVERY bit). The journal file is not recognized and
32 it is dumped (it should not).
33
34 5. Test the superblock compatibility flags when dumping, in order
35 to be sure that we know how to deal with specific features.
36
37 Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
38 ====================================================================
39
40 1. Use lchown instead of chown, fixing a possible security problem
41 when restoring symlinks (a malicious user could use this
42 to deliberately corrupt the ownership of important system files).
43 Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
44 this and providing the patch.
45
46 Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
47 ====================================================================
48
49 1. Put dump sources under CVS, added Id tags in all files so
50 one can use 'ident' on binary files.
51
52 2. Added the dump/restore version in the usage text so one can
53 easily verify the version he is using.
54
55 3. Small patch from Nuno Oliveira <nuno@eq.uc.pt> which fixes
56 a va_start/va_end problem on linux-ppc (always call va_start
57 va_end in pairs each time we use a vararg function).
58
59 4. Added again the DT_* constants because old libc does not
60 contain them :(. Thanks to Eric Maisonobe <virnet@nat.fr>
61 for submitting the bug report.
62
63 5. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
64 this should enable dumping big (huge) filesystems.
65
66 6. Added the RSH environment variable in order to be able to
67 use a rsh replacement like ssh when doing remote backups (and
68 bypass the security limitations of rcmd). Now you can do remote
69 backups without being root (or making dump setuid root).
70
71 7. Modified again the way dumpdates works. For incremental dumps,
72 we need to read dumpdates even if we are not using 'u' option.
73 Thanks to Bdale Garbee <bdale@gag.com> for his ideas on how
74 this should work.
75
76 Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
77 ===================================================================
78
79 1. Removed the 'k' flag from the restore 'about' text if kerberos
80 was not compiled in.
81
82 2. Prototyped (f)setflags from e2fsprogs and corrected the calls
83 to them (fsetflags takes a char*, setflags an open fd!).
84
85 3. (f)setflags is called only if the flags aren't empty. If the
86 file is a special file, a warning is printed, because changing
87 flags implies opening the device. Normally, a special file
88 should not have any flag... (Debian bug #29775, patch provided
89 by Abhijit Dasgupta <abhijit@ans.net>).
90
91 4. Made possible to dump a file system not mentioned in /etc/fstab.
92 (Debian bug #11904, patch provided by Eirik Fuller <eirik@netcom.com>).
93
94 5. Changed the default behaviour to not create dumpdates
95 unless 'u' option is specified. Removed the old "debian-patch"
96 which provided the same thing. (Debian bug #38136, #33818).
97
98 6. Removed all those dump*announce, since they were getting old...
99
100 7. Added warning messages if dumpdates does not exist and
101 when an inferior level dump does not exist (except for a level 0
102 dump).
103
104 8. Debugged the glob calls in interactive mode: restore used a
105 dirent struct which was different from the /usr/include/dirent.h
106 one (this used to work, is it a glibc2 change?), so none of the
107 compat glob (which used /usr/include/dirent.h) or the system glob
108 worked. Restore use now the system dirent (and the system
109 DT_* constants), which are compatible with BSD ones.
110
111 9. Added a configure flag (--with-dumpdatespath) to specify
112 the location of dumpdates file. By default, it is
113 /etc/dumpdates.
114
115 10. Added the "AUTHOR" and "AVAILABILITY" sections and
116 included the current date/version in man pages.
117
118 11. Corrected the estimation of remaining time when
119 the operator doesn't change the tapes quickly enough. This
120 was an old bug, I thought I corrected it, and discovered
121 that in fact it was corrected in two different places, so
122 the results canceled each other...
123
124 Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
125 ===================================================================
126
127 1. Integrated multiple patches from RedHat, Debian and SuSE:
128
129 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
130 isn't specified.
131 - several fixes in the man pages.
132 - update the default tape device to /dev/st0.
133 - many updates for Linux Alpha (byte ordering, size_t etc).
134 - buffer overruns.
135 - use environment variable for TMPDIR (instead of /tmp).
136 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
137 - workaround egcs bug (RedHat bugs #4281 and #2989).
138 - wire $(OPT) throughout Makefile's.
139
140 2. Upgrade the dump revision to 1, making possible to dump filesystems
141 made with e2fsprogs-1.15 or newer. Nothing seems to break...
142
143 3. Fix some compile warnings, prototype all functions.
144
145 4. Use glibc err/glob instead of internal compatibility
146 routines (only if available).
147
148 5. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
149 by Bernhard Sadlowski <sadlowsk@mathematik.uni-bielefeld.de>).
150
151 Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
152 ======================================================================
153
154 1. Integrated the changes from FreeBSD-3.1-RELEASE
155 (mostly bug fixes, buffer overruns, dump has now an "automatic
156 tape length calculation" flag, dump/restore can use kerberos now
157 (this is NOT tested), use environment variables for TAPE and
158 RMT etc.).
159
160 2. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
161
162 3. Corrected a bug in restore when using 'C' option with multi-volumes
163 tapes (files splited accros two tapes give "size changed" errors
164 when comparing).
165
166 4. Corrected the long standing bug when dumping multiple tapes.
167 This works for me, needs further testing.
168
169 Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
170 ====================================================================
171
172 1. Dump now runs correctly on kernels 2.1.x
173 Fix made by Gerald Peters <gapeters@worldnet.att.net>
174
175 Changes between versions 0.4b2 and 0.4b3
176 ========================================
177
178 1. Use realpath() if available
179
180 2. Report statistics
181
182 Changes between versions 0.4b1 and 0.4b2
183 ========================================
184
185 1. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
186 the patch)
187
188 2. Fixed restore to make it able to read FreeBSD 2.x dumps again
189
190 3. Fixed configure.in to correctly handle --enable-rmt
191
192 Changes between versions 0.3 and 0.4b1
193 ======================================
194
195 1. Integrated the changes from 4.4BSD-Lite2
196
197 2. Integrated the patches from Debian and Red Hat
198
199 3. Portability changes: use the __u32, __u16, __s32, and __s16 types
200
201 4. Changed dump to use the Ext2fs library to get block addresses. This
202 should solve the endianness problem on SparcLinux.
203
204 5. Created a configure.in file (shamelessly stolen from the e2fsprogs
205 distribution's one) to use autoconf
206
207 6. Fixed a few minor bugs
208
209 Changes between versions 0.2e and 0.2f
210 ======================================
211
212 1. Added the creation of named pipes (fifos) in restore.
213
214 2. Added the -N flag in the restore manual page.
215
216 3. Added the file kernel.patch which contains the llseek() optimization
217 patch for 1.2.x kernels.
218
219 4. Fixed a bug in the restoration of symbolic links: owner and group were
220 not restored.
221
222 5. Integrated some changes from FreeBSD 2.2.
223
224 6. Added a call to ftruncate() after restoring each file to restore
225 correctly files ending by a hole.
226
227 Changes between versions 0.2d and 0.2e
228 ======================================
229
230 1. Fixed a bug in the "set owner/mode" process. Every file was restored
231 with owner = root (0) and group = root/wheel/whatever (0).
232
233 Changes between versions 0.2c and 0.2d
234 ======================================
235
236 1. Dump is now able to backup 2GB+ filesystems.
237
238 2. Dump and restore can now be linked as static binaries.
239
240 Changes between versions 0.2b and 0.2c
241 ======================================
242
243 1. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
244
245 Changes between versions 0.2a and 0.2b
246 ======================================
247
248 1. Really fixed the bug that I should have corrected in 0.2a.
249
250 2. Enabled optimization again.
251
252 Changes between versions 0.2 and 0.2a
253 =====================================
254
255 1. Disabled the optimization during compilation.
256
257 Changes between versions 0.1 and 0.2
258 ====================================
259
260 1. Fixed a bug in fstab.c which caused a null pointer to be stored in
261 the fs_type field (actually, I modified the file fstab.c to make it
262 use the mntent functions).
263
264 2. Dump and restore now use a 4.3 BSD compatible dump format. Backups
265 made by dump should be readable by the BSD restore and backups made
266 by the BSD dump should be readable by restore. Unfortunately, this
267 means that the dump format has changed between version 0.1 and version
268 0.2 :-(
269
270 3. Dump is now able to backup a subtree, it is no longer limited to whole
271 filesystems like the BSD version.
272
273 4. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
274 than 2 GB.
275
276 Changes between versions 0.0 and 0.1
277 ====================================
278
279 1. Now create links rdump and rrestore during the `make install' step.
280
281 2. Linux port specific bugs added to the manual pages
282
283 3. Incorrect estimation of the number of tapes blocks fixed when doing
284 incremental backups.
285
286 4. Better ls-like format in restore in interactive mode.