Whamcloud - gitweb
Use Linux-kernel-style makefile output to make it easier to
[tools/e2fsprogs.git] / resize / ChangeLog
1 2004-11-30  Theodore Ts'o  <tytso@mit.edu>
2
3         * Makefile.in: Use Linux-kernel-style makefile output to make it
4                 easier to see errors/warnings.
5
6 2004-09-17  Theodore Ts'o  <tytso@mit.edu>
7
8         * resize2fs.c (check_and_change_inodes): Fix debugging printf to
9                 mask off the high 256 bits of dirent->name_len (which is
10                 where the file type information is stored).  (Addresses
11                 Debian Bug #271605)
12
13 2004-04-03  Theodore Ts'o  <tytso@mit.edu>
14
15         * Makefile.in: Update the modtime even if subst doesn't need to
16                 update the resize2fs man page, to avoid always re-running
17                 subst, especially since there are no dependencies on the
18                 man page.
19
20 2004-02-28  Theodore Ts'o  <tytso@mit.edu>
21
22         * Release of E2fsprogs 1.35
23
24 2003-12-07  Theodore Ts'o  <tytso@mit.edu>
25
26         * main.c, resize2fs.c: Fix gcc -Wall nitpicks.
27
28 2003-08-24  Theodore Ts'o  <tytso@mit.edu>
29
30         * resize2fs.8.in: Adjust description line so that apropos
31                 "ext2" or "ext3" will find the man page.  (Addresses
32                 Debian Bug #206845)
33
34 2003-08-01  Philipp Thomas <pthomas@suse.de>
35
36         * extent.c, resize2fs.c, sim_progress.c: ext2fs_getmem(),
37                 ext2fs_free_mem(), and ext2fs_resize_mem() all now take a
38                 'void *' instead of a 'void **' in order to avoid pointer
39                 aliasing problems with GCC 3.x.
40
41 2003-07-25  Theodore Ts'o  <tytso@mit.edu>
42
43         * Release of E2fsprogs 1.34
44
45 2003-07-08  Theodore Ts'o  <tytso@mit.edu>
46
47         * main.c (main): Round the default size of the filesystem to be an
48                 even multiple of the pagesize to work around a potential
49                 Linux kernel bug.
50
51 2003-06-24    <tytso@snap.thunk.org>
52
53         * resize2fs.c (block_mover): Don't move blocks associated with the
54                 bad blocks inode.  Instead, just remove them from the
55                 badblocks list.  (Note this means that shrinking and then
56                 enlarging a filesystem is not a reversible operation;
57                 information about bad blocks in the part of the filesystem
58                 which is to be chopped off is discarded.)
59
60 2003-06-08  Theodore Ts'o  <tytso@mit.edu>
61
62         * resize2fs.8.in: Make explicit that you need to run resize2fs
63                 after using fdisk to adjust the partition size when
64                 expanding the filesystem.  (Addresses Debian Bug #195616)
65
66 2003-05-13  root  <tytso@mit.edu>
67
68         * main.c (main): Add the ability to specify units to the size
69                 parameter, and make the error and information messages
70                 display explicitly the blocksize used by the filesystem,
71                 to avoid confusion.  (Addresses Debian bug: #189814)
72
73 2003-05-03  Theodore Ts'o  <tytso@mit.edu>
74
75         * main.c (main): Add calls to setup functions for NLS support.
76
77         * Makefile.in: Add $(LIBINTL) to the link line so we can support
78                 using the internal gettext library.
79
80         * resize2fs.h: Add #ifndef protection around LOCALEDIR definition.
81
82 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
83
84         * Release of E2fsprogs 1.33
85
86 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
87
88         * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on
89                 Darwin systems when building with shared libraries.
90
91 2003-03-06    <tytso@mit.edu>
92
93         * resize2fs.c (blocks_to_move): Bug fix; we were incorrectly
94                 moving the block and inode bitmaps for sparse superblock
95                 filesystems.  (Address Debian bug #174766)
96
97 2002-11-09  Theodore Ts'o  <tytso@mit.edu>
98
99         * Release of E2fsprogs 1.32
100
101 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
102
103         * Release of E2fsprogs 1.31
104
105 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
106
107         * Release of E2fsprogs 1.30
108
109 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
110
111         * resize2fs.c (inode_scan_and_fix, check_and_change_inodes): When
112                 moving an inode, set the ctime field so that people using
113                 dump/restore will backup the changed inode.  Also update
114                 the mtime and ctime of directories which get updated when
115                 we need to move an inode.
116
117 2002-10-30  Theodore Ts'o  <tytso@mit.edu>
118
119         * Makefile.in (install): Search all compression extensions when
120                 deleting old man pages.
121
122         * resize2fs.c (adjust_superblock, mark_table_blocks,
123                 blocks_to_move): Add support for resizing filesystems that
124                 use the meta block group layout.
125
126         * main.c (main): Fixed bug that erroneously (and
127                 needlessly) checked the incompat feature flag field
128                 against the supported ro_compat feature set.
129
130 2002-10-03  Theodore Ts'o  <tytso@mit.edu>
131
132         * resize2fs.8.in: Fix typo in man page.
133
134 2001-09-24  Theodore Tso  <tytso@mit.edu>
135
136         * Release of E2fsprogs 1.29
137
138 2001-08-31  Theodore Tso  <tytso@thunk.org>
139
140         * Release of E2fsprogs 1.28
141
142 2002-08-16  Theodore Ts'o  <tytso@mit.edu>
143
144         * resize2fs.c (inode_scan_and_fix): Add code to move the extended
145                 attribute block.
146         
147 2002-07-26  Theodore Ts'o  <tytso@mit.edu>
148
149         * resize2fs.c (block_mover): If there are no blocks to move,
150                 release the bmap table.  This significantly speeds up
151                 resize2fs when shrinking or expanding a filesystem by a
152                 very small number of blocks (which EVMS will do).
153
154 2002-05-28    <tytso@mit.edu>
155
156         * main.c (main): If the filesystem has errors or is not valid,
157                 then require an e2fsck -f run be done on the filesystem
158                 more.
159
160 2002-04-09    <tytso@snap.thunk.org>
161
162         * main.c (main): If resize_fs returns an error, don't print the
163                 message stating that the filesystem was resized.
164
165 2002-03-31    <tytso@mit.edu>
166
167         * main.c (main): If we are resizing a plain file which is smaller
168                 than the requested size, then we will attempt to
169                 transparently extend the filesize in a sparse fashion by
170                 writing a block at the end of the requested part of the
171                 filesystem.
172
173         * main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the
174                 function prototype of resize_fs() so that it can modify
175                 the new_size parameter with the actual new size of the
176                 filesystem after the resize operation.  (This can
177                 sometimes be less than the requested new size if there
178                 isn't enough space to create the necessary block group
179                 metadata for that last bit of disk space.)  Resize2fs now
180                 prints the actual new size of the filesystem when it finishes.
181
182 2002-03-08  Theodore Tso  <tytso@mit.edu>
183
184         * Release of E2fsprogs 1.27
185
186 2002-03-07  Theodore Tso  <tytso@mit.edu>
187
188         * resize2fs.c (process_block, inode_scan_and_fix, 
189                 check_and_change_inodes): Fix gcc -Wall complaints in
190                 debug code.
191
192         * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs.
193                 (From Philipp Thomas <pthomas@suse.de>)
194
195 2002-02-24  Theodore Tso  <tytso@mit.edu>
196
197         * Makefile.in (install): Remove any compressed man pages before
198                 installing the man pages.
199
200 2002-02-03  Theodore Tso  <tytso@thunk.org>
201
202         * Release of E2fsprogs 1.26
203
204 2001-09-20  Theodore Tso  <tytso@thunk.org>
205
206         * Release of E2fsprogs 1.25
207
208 2001-09-02  Theodore Tso  <tytso@thunk.org>
209
210         * Release of E2fsprogs 1.24a
211
212 2001-08-30  Theodore Tso  <tytso@thunk.org>
213
214         * Release of E2fsprogs 1.24
215
216 2001-08-15  Theodore Tso  <tytso@valinux.com>
217
218         * Release of E2fsprogs 1.23
219
220 2001-06-23  Theodore Tso  <tytso@valinux.com>
221
222         * Release of E2fsprogs 1.22
223
224 2001-06-15  Theodore Tso  <tytso@valinux.com>
225
226         * Release of E2fsprogs 1.21
227
228 2001-06-01  Theodore Tso  <tytso@valinux.com>
229
230         * Makefile.in: Move include/asm/types.h.in to
231                 lib/ext2fs/ext2_types.h.in.
232
233 2001-05-25  Theodore Tso  <tytso@valinux.com>
234
235         * Release of E2fsprogs 1.20
236
237 2001-05-14  Theodore Tso  <tytso@valinux.com>
238
239         * resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
240
241 2001-01-11    <tytso@snap.thunk.org>
242
243         * main.c (main): Use ext2fs_sync_device() instead of calling the
244                 BLKFLSBUF ioctl directly.
245
246         * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
247
248 2001-01-01    <tytso@snap.thunk.org>
249
250         * main.c (main): Replace use of struct ext2fs_sb with struct
251                 ext2_super_block.
252
253 2000-12-08    <tytso@snap.thunk.org>
254
255         * Makefile.in: Fix so that top-level "make check" works correctly.
256
257 2000-07-13    <tytso@valinux.com>
258
259         * Release of E2fsprogs 1.19
260
261 2000-07-05    <tytso@snap.thunk.org>
262
263         * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
264
265 2000-06-12  Theodore Ts'o  <tytso@valinux.com>
266
267         * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
268
269 2000-04-06  Theodore Ts'o  <tytso@valinux.com>
270
271         * Update copyright of files in preparation for release of
272                 resize2fs.  Also removed the (obsolete) beta-test check
273                 that had been in the code, as well as the old spec files
274                 used to package the separate distribution of resize2fs.
275
276         * Makefile.in: No longer build resize2fs.static, since there's no
277                 real point in it any more.
278
279 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
280
281         * main.c: For platforms that don't define optarg.h, manually
282                 define optarg and optind.
283
284 2000-02-02  Theodore Ts'o  <tytso@valinux.com>
285
286         * resize2fs.h: Remove unneeded #include of linux/fs.h
287
288         * main.c: Fix gcc -Wall bug.  main() should return an int.
289
290 1999-11-19    <tytso@valinux.com>
291
292         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
293                 the source directory.
294
295 1999-11-10    <tytso@valinux.com>
296
297         * Release of E2fsprogs 1.18
298
299 1999-10-26    <tytso@valinux.com>
300
301         * Release of E2fsprogs 1.17
302
303 1999-10-22    <tytso@valinux.com>
304
305         * Release of E2fsprogs 1.16
306
307 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
308
309         * Release of E2fsprogs 1.15
310
311 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
312
313         * Release of E2fsprogs 1.14
314
315 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
316
317         * Release of E2fsprogs 1.13
318
319 1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
320
321         * Makefile.in: Updated dependencies.
322
323 1998-09-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
324
325         * main.c (main): Print a feedback message stating the new size of
326                 the filesystem when we're through.
327
328 1998-09-02  Theodore Ts'o  <tytso@rsts-11.mit.edu>
329
330         * resize2fs.c: Rename max to max_groups and max_dirs to avoid
331                 possible conflicts with a cpp macro named "max".
332
333 1998-07-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
334
335         * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
336
337 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
338
339         * Release of E2fsprogs 1.12
340
341 1998-06-10  Theodore Ts'o  <tytso@rsts-11.mit.edu>
342
343         * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t
344                 to avoid collision with LFS API.
345
346 1998-04-28  Theodore Ts'o  <tytso@rsts-11.mit.edu>
347
348         * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem
349                 instead of free().
350           (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate
351                 return type for comparison functions for qsort.
352
353 1998-04-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
354
355         * resize2fs.c (adjust_superblock): 
356         * extent.c (ext2fs_add_extent_entry): Update functions to
357                   pass the old size of the memory to be resized to
358                   ext2fs_resize_mem(). 
359
360 1998-03-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
361
362         * Makefile.in: Change to use new installation directory variables
363                 convention.  Fix uninstall rules to take $(DESTDIR) into
364                 account.  Remove cat8dir from the installdirs target,
365                 since modern man package don't necessarily put the cat
366                 directory in /usr/man/cat?.
367
368 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
369
370         * extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
371
372         * main.c (check_mount): Rename function argument to prevent -Wall
373                 warning. 
374
375 1998-03-24  Theodore Ts'o  <tytso@rsts-11.mit.edu>
376
377         * main.c (main): Check to make sure we can really resize this
378                 filesystem.  If there are compatible feature sets that we
379                 don't support, we need to abort.
380
381         * resize2fs.c: Change to use the new prototype required by
382                 block_iterate2 (which uses blkcnt_t for the blockcount).
383
384 1998-03-20  Theodore Ts'o  <tytso@rsts-11.mit.edu>
385
386         * resize2fs.c (inode_scan_and_fix): If we are expanding the
387                 filesystem, temporarily set
388                 rfs->old_fs->super->s_blocks_count to ultimate size of the
389                 filesystem, to avoid catching an error on the block
390                 iterator.
391
392 Mon Mar  9 12:02:47 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
393
394         * main.c: Use a local version.h file.
395
396 Sat Mar  7 18:18:04 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
397
398         * Makefile.in: Change the name of the complete source file that we
399                 built (that includes resize2fs) to be
400                 e2fsprogs-ALL-<version>.tar.gz.  Don't link with libuuid,
401                 since it's not needed.
402
403         * main.c (main): Add copyright notice.
404
405         * resize2fs.c (blocks_to_move): Create the meta_bmap using the old
406                 filesystem, not the new filesystem.  
407                 (get_new_block): Don't try checking the old block bitmap
408                 if the block we're testing is beyond the boundaries of the
409                 old filesystem.
410
411 Fri Feb 27 01:02:50 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
412
413         * Makefile.in: Add rule to build a static version of resize2fs.
414                 Update dependency rules.
415
416         * main.c: #include ../version.h, instead of using a hard-coded
417                 version string.
418
419 Tue Feb 24 15:22:52 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
420
421         * Change the progress function to return an errcode_t; this allows
422                 the progress function to return a error indicating a
423                 user-requested cancel.
424
425 1998-02-20  Theodore Y. Ts'o  <tytso@edt.mit.edu>
426
427         * main.c (check_mount, main): Resize2fs now checks the size of the
428                 partition, and uses this as a default new_size of the
429                 partition if one is not specified.  Resize2fs will not let
430                 you resize a mounted partition.
431
432         * resize2fs.c: Change how the progress function for the INODE_SCAN
433                 pass is performed, so that the maximum size is never zero.
434
435         * resize2fs.8.in: Updated man page.
436         
437 Mon Feb 16 17:13:01 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
438
439         * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c,
440                 ext2_inode_move.c: Major reoganization of how resizing
441                 works.  Functions in ext2_block_move.c, and
442                 ext2_inode_move.c moved into resize2fs.c.  Multiple passes
443                 in those two files also combined into a single inode
444                 scanning pass.  Made the inode table moving function
445                 better handling the case where it needs to abort
446                 mid-operation.  When moving blocks around, made the block
447                 allocation function preferentially avoid the old group
448                 descriptor blocks, to make resize2fs more robust.
449
450 Fri Feb 13 17:15:43 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
451
452         * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c,
453                 main.c: Reorganize how the progress functions are called.
454
455 Mon Jan 19 09:12:28 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
456
457         * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
458                 of the ext2-specific header files are in a flat directory.
459
460         * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
461                 resize2fs.h: Rename variables named "new" to "new_block",
462                 "new_inode", or "new_loc" to avoid C++ reserved word
463                 clash.
464         
465         * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
466                 sim_progress.c: Use ext2fs_get_memory(),
467                 ext2fs_free_memory(), et. al., instead of malloc() and
468                 free().
469         
470         * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
471                 all assignments from void * to be compatible with C++.
472         
473 Mon Dec 29 19:09:45 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
474
475         * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
476                 Change private to priv_data to avoid C++ namespace clash.
477
478 Mon Nov  3 14:45:06 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
479
480         * resize2fs.h: Remove STDC magic, since everyone is STDC these days.
481
482         * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include
483                 printf statements if RESIZE2FS_DEBUG is defined.
484
485         * main.c: Don't read in the bitmaps since resize2fs.c does that.
486
487 Sun Oct 19 20:40:42 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
488
489         * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
490
491 Wed Sep  3 17:31:49 1997  Theodore Y. Ts'o  <tytso@edt.mit.edu>
492
493         * resize2fs.h: Add #include for errno.h
494
495 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
496
497         * Release of E2fsprogs 1.11
498