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