]> git.wh0rd.org - dump.git/blame - CHANGES
Made dump work with new Linux 2.5 EOT early warning semantics.
[dump.git] / CHANGES
CommitLineData
61e9d4ff 1$Id: CHANGES,v 1.226 2003/04/09 10:42:56 stelian Exp $
ed194aec
SP
2
3Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
4=======================================================================
5
61. Fixed the INSTALL file to reflect the actual install paths.
7 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
8 reporting the bug.
4bb009da 9
d3e542e7
SP
102. Fixed the configure script to only check for headers presence
11 instead of trying to compile them. This should fix issues
12 with old build environments. Thanks to Kari Lempiainen
13 <kari@funky.pp.fi> for reporting the bug.
14
1176b3c1
SP
153. Fixed restore to correctly ignore sockets when comparing
16 a dump (as socket cannot be properly restored anyway). Thanks
2d32c89c
SP
17 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
18
194. Fixed restore to correctly access the archive file (-A argument)
20 even when using a remote tape. Thanks to Fabrice Bellet
21 <fabrice@bellet.info> for reporting the bug.
1176b3c1 22
900bffdb
SP
235. Fixed (again) handling of long (largefile) seeks in rmt.
24 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
25 the bug.
26
6d834d25
SP
276. Fixed restore corner case when dealing with large block sizes
28 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
29 <fabrice@bellet.info> for reporting the bug.
30
cdef84ca
SP
317. Fixed a bug preventing dump to access a filesystem having
32 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
33 for reporting the bug.
34
3458b64d
SP
358. Made dump store dump dates using explicit timezones, fixing a
36 problem with incremental dumps if the timezone is modified
37 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
38 the bug report and the patch.
39
2be77799
SP
409. Fixed a bug encountered when dumping individual files (not full
41 filesystems or directories) and dangling symbolic links happen
42 to be in the list of files. For as far as dump is concerned,
43 dangling symbolic links are allowed, and are dumped as is.
44 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
45 bug and providing the fix.
46
c3f69f06
SP
4710. Fixed open and creation modes and permissions for QFA and
48 table-of-contents files in dump and restore. Thanks to
49 Philippe Troin <phil@fifi.org> for the patch.
50
5111. Fixed the archive file descriptor handling enabling it to be 0.
52 This can happen in some cases when shell redirections are used.
53 Thanks to Philippe Troin <phil@fifi.org> for the patch.
54
5512. Delayed the opening of archive file until after suid had been
56 dropped (fixing a possible security issue if dump is suid).
57 Thanks to Philippe Troin <phil@fifi.org> for the patch.
58
5913. Fixed the 'S' command handling in the rmt client part.
60 Thanks to Philippe Troin <phil@fifi.org> for the patch.
61
6214. Modified the end-of-tape script handling to print out statistics
63 (and stop the timer) before launching the eot script. Also, the eot
64 script does not get run anymore when using -M (which makes sense) or
65 when multiple tapes are listed on the command line
66 (-f tape0,tape1,tapen) (which also makes sense).
67 Thanks to Philippe Troin <phil@fifi.org> for the patch.
68
e1abc9ce
SP
6915. Relicensed dump/restore under the 'revised' BSD license, as per
70 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
71
206f768c
SP
7216. Added LZO compression to dump. This new compression method has
73 the advantage of being super fast, thus not killing tape streaming
74 on slow machines. Thanks to Helmut Jarausch
75 <jarausch@igpm.rwth-aachen.de> for the patch and to
76 Markus Oberhumer <markus@oberhumer.com> for giving special permission
77 to include his miniLZO project (GPL licensed) in dump/restore.
78
e2392789
SP
7917. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
80 <ant@notatla.demon.co.uk> for reporting the bugs.
81
cdfe1392
SP
8218. Added a special rmt version which can do encryption when writing
83 to tape. Read examples/encrypted_rmt/README for details on
84 how to enable and configure it. Thanks to Ken Lalonde
85 <ken@globalremit.com> for the patch.
86
61e9d4ff
SP
8719. Made dump work with 2.5 kernel end of tape early warning semantics.
88 Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
89
cbdba727 90Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
4bb009da
SP
91=======================================================================
92
931. Added a note in the restore man page clarifying the question
94 'set the permissions on the current directory ?' asked by
95 restore at the end of treatment in -i and -x modes.
d86089d1 96
c898ca7a
SP
972. Fixed the endianess issues when reading compressed tapes.
98 Thanks to Dark Force <daq4th@users.sourceforge.net> for
99 reporting this bug and providing test cases.
100
a028bdc8
SP
1013. Fixed the "ACL won't be dumped" warning message (which showed
102 an extra, unrelated error message). Thanks to Dragan Krnic
103 <dkrnic@lycos.com> for reporting this bug.
104
a8a6a503 1054. Made dump look first into /etc/mtab, then into /etc/fstab
1a886de8
SP
106 when searching for filesystem paths. Also fixed some problems
107 caused by binding mounts or multiple block device mounts.
108 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
a8a6a503
SP
109 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
110 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
111 and #160305, Sourceforge bugs #618699 and #679832).
1a886de8 112
3211c85b
SP
1135. Made dump's -I option accept the value '0' meaning all the
114 read errors will be ignored. This can be useful when running
115 dump from unattended sessions (like cron jobs). Thanks to
116 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
117
7fcd6df5
SP
1186. Fixed the output of dump to indicate 'blocks' instead of
119 'tape blocks' in the various messages (blocks are always
120 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
121 made it clearly print the current blocksize at the start of
122 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
123 the suggestions.
124
5bf65105
SP
1257. Made rmt understand long (largefiles) seeks.
126
dbb649e8
SP
1278. Fixed build with very old versions of libext2fs, where
128 EXT2_FT_* constants were undefined.
129
c92d83ae
SP
1309. Made dump accept the dumpdates path on the command line
131 (-D file option) instead of using only the hardcoded one.
132 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
133 suggestion.
134
1daf06b9
SP
13510. Enabled rmt, LFS, readline, QFA options by default in
136 ./configure. Updated the configure process (new versions
137 of config.guess, config.sub etc).
138
51c11d00
SP
139Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
140=======================================================================
d86089d1
SP
141
1421. Changed dump to use fcntl(F_SETLK) style locking instead
143 of flock() when locking the dumpdates file. With the old
144 locking scheme, a local user having read rights on the
145 dumpdates file could be able to do a Denial of Service attack
146 on dump. In order to lock the dumpdates file with the new
147 scheme, the user would need to have write access on the file.
148 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
149 reporting the bug (originally a bugtraq post).
ba3af39e 150
2f562f4e
SP
1512. Fixed interactive 'ls' which caused spurious errors warnings
152 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
153 <jorgen_ostling@users.sourceforge.net> for reporting this
154 bug.
155
1c736b78
SP
1563. Fixed dump's estimate when dealing with sparse inodes.
157
876861d2
SP
1584. Modified dump to allow setting a blocksize bigger than 32kB
159 (raised the limit to 1024kB), because newer hardware needs
160 this for proper operation. Thanks to Dirk Traenapp
161 <dtraenapp@users.sourceforge.net> for reporting this.
162
b8d848c9
SP
1635. Fixed a bug causing Dump to stop and report an error if an
164 inode number in the exclude file was followed by some amount
165 of whitespace. Thanks to Jeffrey Sofferin
166 <sofferin@users.sourceforge.net> for reporting this bug.
167
e531c442
SP
1686. Fixed a bug which caused restore, in some particular cases,
169 to ask some 'scary' questions and leave a bunch of RSTTMP
170 directories behind when restoring incremental tapes. Thanks
171 to Philippe Troin <phil@fifi.org> for reporting this bug and
172 providing the test cases.
173
c993d83a
SP
1747. Changed the wording when inodes are excluded from dump:
175 replaced 'Added inode 7 to exclude list' with
176 'Excluding inode 7 (resize inode) from dump', as suggested
177 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
178
cbc7fd6a 179Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
ba3af39e
SP
180===================================================================
181
1821. Fixed rmt open flags transmission (GNU's symbolic syntax over
183 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
184 <eros@lamel.bo.cnr.it> for reporting the bug.
35952b8f 185
4095abc0
SP
186Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
187===================================================================
aa1b1e7f
SP
188
1891. Made dump print out the ext2 logical block number in case of a read
190 error, which can be given as an argument to debugfs' ncheck command,
191 in order to find out the affected inode. Added note about this
192 usage in dump's man page.
ed7c25a3
SP
193
1942. Fixed a problem in restore when reading tapes written on big
195 endian machines with very old versions of dump. The patch was
196 contributed by George Helffrich <george@geology.bristol.ac.uk>.
f75cc889
SP
197
1983. Fixed the tape length calculation when using large tapes
199 and compression. Thanks to Georg Lippold
200 <g_lippold@sourceforge.net> for reporting the bug.
a9c5ed48
SP
201
2024. Added a new set of examples in dump_on_cd_2 directory, based
203 on dump_on_cd examples but somewhat enhanced, supporting DVD
204 media, and localized in english and german. Thanks to
205 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
206
9ca70cf6
SP
2075. Made dump save 32 bit UID/GID. Internally, this was achieved
208 by switching from the old BSD inode format to the new BSD
209 inode format, which means that the tape format was changed.
210 However, since all restore versions out there should
211 transparently support both inode formats, the change should
212 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
213 reporting the bug.
a18d5997
SP
214
2156. Fixed a lot of warnings in the code shown when compiling
216 with 'gcc -W'. Thanks to Matthias Andree
217 <matthias.andree@stud.uni-dortmund.de> for reporting this.
218
2a2e321d
SP
2197. Fixed a small markup bug in the dump man page. Thanks to
220 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
221 patch.
222
153f9a83
SP
2238. Rewrote entirely the man pages using the tmac.an macro
224 package (Linux man page format) instead of the original BSD
225 format. They should be now cleaner and easier to modify.
226
cf88ef4c
SP
227Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
228==================================================================
d24dc8af
SP
229
2301. Fixed a problem in the rmt ioctl command, where ioctl's issued from
231 non Linux clients were misinterpreted. The description of the problem
232 (incompatible numbering in Linux mtio opcodes) is documented at
233 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
234