Whamcloud - gitweb
Update for 1.29 release.
[tools/e2fsprogs.git] / resize / ChangeLog
1 2001-09-24  Theodore Tso  <tytso@mit.edu>
2
3         * Release of E2fsprogs 1.29
4
5 2001-08-31  Theodore Tso  <tytso@thunk.org>
6
7         * Release of E2fsprogs 1.28
8
9 2002-08-16  Theodore Ts'o  <tytso@mit.edu>
10
11         * resize2fs.c (inode_scan_and_fix): Add code to move the extended
12                 attribute block.
13         
14 2002-07-26  Theodore Ts'o  <tytso@mit.edu>
15
16         * resize2fs.c (block_mover): If there are no blocks to move,
17                 release the bmap table.  This significantly speeds up
18                 resize2fs when shrinking or expanding a filesystem by a
19                 very small number of blocks (which EVMS will do).
20
21 2002-05-28    <tytso@mit.edu>
22
23         * main.c (main): If the filesystem has errors or is not valid,
24                 then require an e2fsck -f run be done on the filesystem
25                 more.
26
27 2002-04-09    <tytso@snap.thunk.org>
28
29         * main.c (main): If resize_fs returns an error, don't print the
30                 message stating that the filesystem was resized.
31
32 2002-03-31    <tytso@mit.edu>
33
34         * main.c (main): If we are resizing a plain file which is smaller
35                 than the requested size, then we will attempt to
36                 transparently extend the filesize in a sparse fashion by
37                 writing a block at the end of the requested part of the
38                 filesystem.
39
40         * main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the
41                 function prototype of resize_fs() so that it can modify
42                 the new_size parameter with the actual new size of the
43                 filesystem after the resize operation.  (This can
44                 sometimes be less than the requested new size if there
45                 isn't enough space to create the necessary block group
46                 metadata for that last bit of disk space.)  Resize2fs now
47                 prints the actual new size of the filesystem when it finishes.
48
49 2002-03-08  Theodore Tso  <tytso@mit.edu>
50
51         * Release of E2fsprogs 1.27
52
53 2002-03-07  Theodore Tso  <tytso@mit.edu>
54
55         * resize2fs.c (process_block, inode_scan_and_fix, 
56                 check_and_change_inodes): Fix gcc -Wall complaints in
57                 debug code.
58
59         * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs.
60                 (From Philipp Thomas <pthomas@suse.de>)
61
62 2002-02-24  Theodore Tso  <tytso@mit.edu>
63
64         * Makefile.in (install): Remove any compressed man pages before
65                 installing the man pages.
66
67 2002-02-03  Theodore Tso  <tytso@thunk.org>
68
69         * Release of E2fsprogs 1.26
70
71 2001-09-20  Theodore Tso  <tytso@thunk.org>
72
73         * Release of E2fsprogs 1.25
74
75 2001-09-02  Theodore Tso  <tytso@thunk.org>
76
77         * Release of E2fsprogs 1.24a
78
79 2001-08-30  Theodore Tso  <tytso@thunk.org>
80
81         * Release of E2fsprogs 1.24
82
83 2001-08-15  Theodore Tso  <tytso@valinux.com>
84
85         * Release of E2fsprogs 1.23
86
87 2001-06-23  Theodore Tso  <tytso@valinux.com>
88
89         * Release of E2fsprogs 1.22
90
91 2001-06-15  Theodore Tso  <tytso@valinux.com>
92
93         * Release of E2fsprogs 1.21
94
95 2001-06-01  Theodore Tso  <tytso@valinux.com>
96
97         * Makefile.in: Move include/asm/types.h.in to
98                 lib/ext2fs/ext2_types.h.in.
99
100 2001-05-25  Theodore Tso  <tytso@valinux.com>
101
102         * Release of E2fsprogs 1.20
103
104 2001-05-14  Theodore Tso  <tytso@valinux.com>
105
106         * resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
107
108 2001-01-11    <tytso@snap.thunk.org>
109
110         * main.c (main): Use ext2fs_sync_device() instead of calling the
111                 BLKFLSBUF ioctl directly.
112
113         * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
114
115 2001-01-01    <tytso@snap.thunk.org>
116
117         * main.c (main): Replace use of struct ext2fs_sb with struct
118                 ext2_super_block.
119
120 2000-12-08    <tytso@snap.thunk.org>
121
122         * Makefile.in: Fix so that top-level "make check" works correctly.
123
124 2000-07-13    <tytso@valinux.com>
125
126         * Release of E2fsprogs 1.19
127
128 2000-07-05    <tytso@snap.thunk.org>
129
130         * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
131
132 2000-06-12  Theodore Ts'o  <tytso@valinux.com>
133
134         * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
135
136 2000-04-06  Theodore Ts'o  <tytso@valinux.com>
137
138         * Update copyright of files in preparation for release of
139                 resize2fs.  Also removed the (obsolete) beta-test check
140                 that had been in the code, as well as the old spec files
141                 used to package the separate distribution of resize2fs.
142
143         * Makefile.in: No longer build resize2fs.static, since there's no
144                 real point in it any more.
145
146 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
147
148         * main.c: For platforms that don't define optarg.h, manually
149                 define optarg and optind.
150
151 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
152
153         * resize2fs.h: Remove unneeded #include of linux/fs.h
154
155         * main.c: Fix gcc -Wall bug.  main() should return an int.
156
157 1999-11-19    <tytso@valinux.com>
158
159         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
160                 the source directory.
161
162 1999-11-10    <tytso@valinux.com>
163
164         * Release of E2fsprogs 1.18
165
166 1999-10-26    <tytso@valinux.com>
167
168         * Release of E2fsprogs 1.17
169
170 1999-10-22    <tytso@valinux.com>
171
172         * Release of E2fsprogs 1.16
173
174 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
175
176         * Release of E2fsprogs 1.15
177
178 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
179
180         * Release of E2fsprogs 1.14
181
182 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
183
184         * Release of E2fsprogs 1.13
185
186 1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
187
188         * Makefile.in: Updated dependencies.
189
190 1998-09-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
191
192         * main.c (main): Print a feedback message stating the new size of
193                 the filesystem when we're through.
194
195 1998-09-02  Theodore Ts'o  <tytso@rsts-11.mit.edu>
196
197         * resize2fs.c: Rename max to max_groups and max_dirs to avoid
198                 possible conflicts with a cpp macro named "max".
199
200 1998-07-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
201
202         * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
203
204 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
205
206         * Release of E2fsprogs 1.12
207
208 1998-06-10  Theodore Ts'o  <tytso@rsts-11.mit.edu>
209
210         * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t
211                 to avoid collision with LFS API.
212
213 1998-04-28  Theodore Ts'o  <tytso@rsts-11.mit.edu>
214
215         * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem
216                 instead of free().
217           (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate
218                 return type for comparison functions for qsort.
219
220 1998-04-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
221
222         * resize2fs.c (adjust_superblock): 
223         * extent.c (ext2fs_add_extent_entry): Update functions to
224                   pass the old size of the memory to be resized to
225                   ext2fs_resize_mem(). 
226
227 1998-03-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
228
229         * Makefile.in: Change to use new installation directory variables
230                 convention.  Fix uninstall rules to take $(DESTDIR) into
231                 account.  Remove cat8dir from the installdirs target,
232                 since modern man package don't necessarily put the cat
233                 directory in /usr/man/cat?.
234
235 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
236
237         * extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
238
239         * main.c (check_mount): Rename function argument to prevent -Wall
240                 warning. 
241
242 1998-03-24  Theodore Ts'o  <tytso@rsts-11.mit.edu>
243
244         * main.c (main): Check to make sure we can really resize this
245                 filesystem.  If there are compatible feature sets that we
246                 don't support, we need to abort.
247
248         * resize2fs.c: Change to use the new prototype required by
249                 block_iterate2 (which uses blkcnt_t for the blockcount).
250
251 1998-03-20  Theodore Ts'o  <tytso@rsts-11.mit.edu>
252
253         * resize2fs.c (inode_scan_and_fix): If we are expanding the
254                 filesystem, temporarily set
255                 rfs->old_fs->super->s_blocks_count to ultimate size of the
256                 filesystem, to avoid catching an error on the block
257                 iterator.
258
259 Mon Mar  9 12:02:47 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
260
261         * main.c: Use a local version.h file.
262
263 Sat Mar  7 18:18:04 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
264
265         * Makefile.in: Change the name of the complete source file that we
266                 built (that includes resize2fs) to be
267                 e2fsprogs-ALL-<version>.tar.gz.  Don't link with libuuid,
268                 since it's not needed.
269
270         * main.c (main): Add copyright notice.
271
272         * resize2fs.c (blocks_to_move): Create the meta_bmap using the old
273                 filesystem, not the new filesystem.  
274                 (get_new_block): Don't try checking the old block bitmap
275                 if the block we're testing is beyond the boundaries of the
276                 old filesystem.
277
278 Fri Feb 27 01:02:50 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
279
280         * Makefile.in: Add rule to build a static version of resize2fs.
281                 Update dependency rules.
282
283         * main.c: #include ../version.h, instead of using a hard-coded
284                 version string.
285
286 Tue Feb 24 15:22:52 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
287
288         * Change the progress function to return an errcode_t; this allows
289                 the progress function to return a error indicating a
290                 user-requested cancel.
291
292 1998-02-20  Theodore Y. Ts'o  <tytso@edt.mit.edu>
293
294         * main.c (check_mount, main): Resize2fs now checks the size of the
295                 partition, and uses this as a default new_size of the
296                 partition if one is not specified.  Resize2fs will not let
297                 you resize a mounted partition.
298
299         * resize2fs.c: Change how the progress function for the INODE_SCAN
300                 pass is performed, so that the maximum size is never zero.
301
302         * resize2fs.8.in: Updated man page.
303         
304 Mon Feb 16 17:13:01 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
305
306         * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c,
307                 ext2_inode_move.c: Major reoganization of how resizing
308                 works.  Functions in ext2_block_move.c, and
309                 ext2_inode_move.c moved into resize2fs.c.  Multiple passes
310                 in those two files also combined into a single inode
311                 scanning pass.  Made the inode table moving function
312                 better handling the case where it needs to abort
313                 mid-operation.  When moving blocks around, made the block
314                 allocation function preferentially avoid the old group
315                 descriptor blocks, to make resize2fs more robust.
316
317 Fri Feb 13 17:15:43 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
318
319         * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c,
320                 main.c: Reorganize how the progress functions are called.
321
322 Mon Jan 19 09:12:28 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
323
324         * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
325                 of the ext2-specific header files are in a flat directory.
326
327         * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
328                 resize2fs.h: Rename variables named "new" to "new_block",
329                 "new_inode", or "new_loc" to avoid C++ reserved word
330                 clash.
331         
332         * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
333                 sim_progress.c: Use ext2fs_get_memory(),
334                 ext2fs_free_memory(), et. al., instead of malloc() and
335                 free().
336         
337         * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
338                 all assignments from void * to be compatible with C++.
339         
340 Mon Dec 29 19:09:45 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
341
342         * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
343                 Change private to priv_data to avoid C++ namespace clash.
344
345 Mon Nov  3 14:45:06 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
346
347         * resize2fs.h: Remove STDC magic, since everyone is STDC these days.
348
349         * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include
350                 printf statements if RESIZE2FS_DEBUG is defined.
351
352         * main.c: Don't read in the bitmaps since resize2fs.c does that.
353
354 Sun Oct 19 20:40:42 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
355
356         * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
357
358 Wed Sep  3 17:31:49 1997  Theodore Y. Ts'o  <tytso@edt.mit.edu>
359
360         * resize2fs.h: Add #include for errno.h
361
362 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
363
364         * Release of E2fsprogs 1.11
365