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