blob: 4003b666e4f640a25c0eb5ec4e67c1ca5aa5ab89 [file] [log] [blame]
Theodore Ts'o9c7ec172003-07-26 01:03:34 -040012003-07-25 Theodore Ts'o <tytso@mit.edu>
2
3 * Release of E2fsprogs 1.34
4
Theodore Ts'oa7ccdff2003-07-08 18:03:48 -040052003-07-08 Theodore Ts'o <tytso@mit.edu>
6
7 * main.c (main): Round the default size of the filesystem to be an
8 even multiple of the pagesize to work around a potential
9 Linux kernel bug.
10
Theodore Ts'o7d7bdd52003-06-24 17:34:02 -0400112003-06-24 <tytso@snap.thunk.org>
12
13 * resize2fs.c (block_mover): Don't move blocks associated with the
14 bad blocks inode. Instead, just remove them from the
15 badblocks list. (Note this means that shrinking and then
16 enlarging a filesystem is not a reversible operation;
17 information about bad blocks in the part of the filesystem
18 which is to be chopped off is discarded.)
19
Theodore Ts'o23658ff2003-06-08 20:32:46 -0400202003-06-08 Theodore Ts'o <tytso@mit.edu>
21
22 * resize2fs.8.in: Make explicit that you need to run resize2fs
23 after using fdisk to adjust the partition size when
24 expanding the filesystem. (Addresses Debian Bug #195616)
25
Theodore Ts'o792a0882003-05-13 23:32:59 -0400262003-05-13 root <tytso@mit.edu>
27
28 * main.c (main): Add the ability to specify units to the size
29 parameter, and make the error and information messages
30 display explicitly the blocksize used by the filesystem,
31 to avoid confusion. (Addresses Debian bug: #189814)
32
Theodore Ts'oa04eba32003-05-03 16:35:17 -0400332003-05-03 Theodore Ts'o <tytso@mit.edu>
34
Theodore Ts'oddc32a02003-05-03 18:45:55 -040035 * main.c (main): Add calls to setup functions for NLS support.
36
Theodore Ts'oa04eba32003-05-03 16:35:17 -040037 * Makefile.in: Add $(LIBINTL) to the link line so we can support
38 using the internal gettext library.
39
40 * resize2fs.h: Add #ifndef protection around LOCALEDIR definition.
41
Theodore Ts'oafb6d702003-04-21 16:12:34 -0400422003-04-21 Theodore Ts'o <tytso@mit.edu>
43
Theodore Ts'o71df0dc2003-04-21 16:17:09 -040044 * Release of E2fsprogs 1.33
45
462003-04-21 Theodore Ts'o <tytso@mit.edu>
47
Theodore Ts'oafb6d702003-04-21 16:12:34 -040048 * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on
49 Darwin systems when building with shared libraries.
50
Theodore Ts'o424cb7b2003-03-06 12:22:52 -0500512003-03-06 <tytso@mit.edu>
52
53 * resize2fs.c (blocks_to_move): Bug fix; we were incorrectly
54 moving the block and inode bitmaps for sparse superblock
55 filesystems. (Address Debian bug #174766)
56
Theodore Ts'o38513012002-11-09 15:00:56 -0500572002-11-09 Theodore Ts'o <tytso@mit.edu>
58
59 * Release of E2fsprogs 1.32
60
Theodore Ts'oae65b292002-11-08 20:08:48 -0500612002-11-08 Theodore Ts'o <tytso@mit.edu>
62
63 * Release of E2fsprogs 1.31
64
Theodore Ts'o085d2a82002-10-31 19:56:56 -0500652002-10-31 Theodore Ts'o <tytso@mit.edu>
66
Theodore Ts'o5d823a42002-11-01 02:13:53 -050067 * Release of E2fsprogs 1.30
68
692002-10-31 Theodore Ts'o <tytso@mit.edu>
70
Theodore Ts'o085d2a82002-10-31 19:56:56 -050071 * resize2fs.c (inode_scan_and_fix, check_and_change_inodes): When
72 moving an inode, set the ctime field so that people using
73 dump/restore will backup the changed inode. Also update
74 the mtime and ctime of directories which get updated when
75 we need to move an inode.
76
Theodore Ts'o76dd5e52002-10-30 23:07:21 -0500772002-10-30 Theodore Ts'o <tytso@mit.edu>
78
Theodore Ts'o482afc42002-10-31 03:32:34 -050079 * Makefile.in (install): Search all compression extensions when
80 deleting old man pages.
81
Theodore Ts'o76dd5e52002-10-30 23:07:21 -050082 * resize2fs.c (adjust_superblock, mark_table_blocks,
83 blocks_to_move): Add support for resizing filesystems that
84 use the meta block group layout.
85
86 * main.c (main): Fixed bug that erroneously (and
87 needlessly) checked the incompat feature flag field
88 against the supported ro_compat feature set.
89
Theodore Ts'o143ac302002-10-03 11:52:41 -0400902002-10-03 Theodore Ts'o <tytso@mit.edu>
91
92 * resize2fs.8.in: Fix typo in man page.
93
Theodore Ts'oc6633052002-09-24 01:26:50 -0400942001-09-24 Theodore Tso <tytso@mit.edu>
95
96 * Release of E2fsprogs 1.29
97
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400982001-08-31 Theodore Tso <tytso@thunk.org>
99
100 * Release of E2fsprogs 1.28
101
Theodore Ts'oed909bb2002-08-16 17:03:59 -04001022002-08-16 Theodore Ts'o <tytso@mit.edu>
103
104 * resize2fs.c (inode_scan_and_fix): Add code to move the extended
105 attribute block.
106
Theodore Ts'ocefbf482002-07-26 01:56:22 -04001072002-07-26 Theodore Ts'o <tytso@mit.edu>
108
109 * resize2fs.c (block_mover): If there are no blocks to move,
110 release the bmap table. This significantly speeds up
111 resize2fs when shrinking or expanding a filesystem by a
112 very small number of blocks (which EVMS will do).
113
Theodore Ts'o41cce582002-05-28 23:19:14 -04001142002-05-28 <tytso@mit.edu>
115
116 * main.c (main): If the filesystem has errors or is not valid,
117 then require an e2fsck -f run be done on the filesystem
118 more.
119
Theodore Ts'o16082112002-04-09 12:46:19 -04001202002-04-09 <tytso@snap.thunk.org>
121
122 * main.c (main): If resize_fs returns an error, don't print the
123 message stating that the filesystem was resized.
124
Theodore Ts'o116db1b2002-04-01 01:28:30 -05001252002-03-31 <tytso@mit.edu>
126
127 * main.c (main): If we are resizing a plain file which is smaller
128 than the requested size, then we will attempt to
129 transparently extend the filesize in a sparse fashion by
130 writing a block at the end of the requested part of the
131 filesystem.
132
133 * main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the
134 function prototype of resize_fs() so that it can modify
135 the new_size parameter with the actual new size of the
136 filesystem after the resize operation. (This can
137 sometimes be less than the requested new size if there
138 isn't enough space to create the necessary block group
139 metadata for that last bit of disk space.) Resize2fs now
140 prints the actual new size of the filesystem when it finishes.
141
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001422002-03-08 Theodore Tso <tytso@mit.edu>
143
144 * Release of E2fsprogs 1.27
145
Theodore Ts'o304905d2002-03-07 20:55:01 -05001462002-03-07 Theodore Tso <tytso@mit.edu>
147
Theodore Ts'o546a1ff2002-03-07 23:52:56 -0500148 * resize2fs.c (process_block, inode_scan_and_fix,
149 check_and_change_inodes): Fix gcc -Wall complaints in
150 debug code.
151
Theodore Ts'o304905d2002-03-07 20:55:01 -0500152 * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs.
153 (From Philipp Thomas <pthomas@suse.de>)
154
Theodore Ts'o57173d02002-02-26 14:59:39 -05001552002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -0500156
157 * Makefile.in (install): Remove any compressed man pages before
158 installing the man pages.
159
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05001602002-02-03 Theodore Tso <tytso@thunk.org>
161
162 * Release of E2fsprogs 1.26
163
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001642001-09-20 Theodore Tso <tytso@thunk.org>
165
166 * Release of E2fsprogs 1.25
167
Theodore Ts'ofb707752001-09-04 15:00:37 -04001682001-09-02 Theodore Tso <tytso@thunk.org>
169
170 * Release of E2fsprogs 1.24a
171
Theodore Ts'o109624a2001-08-31 00:59:55 -04001722001-08-30 Theodore Tso <tytso@thunk.org>
173
174 * Release of E2fsprogs 1.24
175
Theodore Ts'o943ed872001-08-27 12:29:22 -04001762001-08-15 Theodore Tso <tytso@valinux.com>
177
178 * Release of E2fsprogs 1.23
179
Theodore Ts'o67960132001-06-23 00:16:37 -04001802001-06-23 Theodore Tso <tytso@valinux.com>
181
182 * Release of E2fsprogs 1.22
183
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001842001-06-15 Theodore Tso <tytso@valinux.com>
185
186 * Release of E2fsprogs 1.21
187
Theodore Ts'o797f5ef2001-06-01 23:49:46 +00001882001-06-01 Theodore Tso <tytso@valinux.com>
189
190 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000191 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000192
Theodore Ts'obb185862001-05-25 17:35:00 +00001932001-05-25 Theodore Tso <tytso@valinux.com>
194
195 * Release of E2fsprogs 1.20
196
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001972001-05-14 Theodore Tso <tytso@valinux.com>
198
199 * resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
200
Theodore Ts'odfcdc322001-01-11 15:38:00 +00002012001-01-11 <tytso@snap.thunk.org>
202
Theodore Ts'o48e08e02001-01-11 16:11:11 +0000203 * main.c (main): Use ext2fs_sync_device() instead of calling the
204 BLKFLSBUF ioctl directly.
205
Theodore Ts'odfcdc322001-01-11 15:38:00 +0000206 * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
207
Theodore Ts'oe5b38a52001-01-01 16:17:12 +00002082001-01-01 <tytso@snap.thunk.org>
209
210 * main.c (main): Replace use of struct ext2fs_sb with struct
211 ext2_super_block.
212
Theodore Ts'o3e377db2000-12-09 02:37:33 +00002132000-12-08 <tytso@snap.thunk.org>
214
215 * Makefile.in: Fix so that top-level "make check" works correctly.
216
Theodore Ts'of9e67062000-07-13 23:25:54 +00002172000-07-13 <tytso@valinux.com>
218
219 * Release of E2fsprogs 1.19
220
Theodore Ts'oe4c8e882000-07-05 23:54:46 +00002212000-07-05 <tytso@snap.thunk.org>
222
223 * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
224
Theodore Ts'oa13575f2000-06-12 22:06:16 +00002252000-06-12 Theodore Ts'o <tytso@valinux.com>
226
227 * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
228
Theodore Ts'o0cee8a52000-04-06 21:38:34 +00002292000-04-06 Theodore Ts'o <tytso@valinux.com>
230
231 * Update copyright of files in preparation for release of
232 resize2fs. Also removed the (obsolete) beta-test check
233 that had been in the code, as well as the old spec files
234 used to package the separate distribution of resize2fs.
235
236 * Makefile.in: No longer build resize2fs.static, since there's no
237 real point in it any more.
238
Theodore Ts'o373b8332000-04-03 16:22:35 +00002392000-04-03 Theodore Ts'o <tytso@valinux.com>
240
241 * main.c: For platforms that don't define optarg.h, manually
242 define optarg and optind.
243
Theodore Ts'o0a617312000-02-02 19:14:36 +00002442000-02-02 Theodore Ts'o <tytso@valinux.com>
245
246 * resize2fs.h: Remove unneeded #include of linux/fs.h
247
248 * main.c: Fix gcc -Wall bug. main() should return an int.
249
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00002501999-11-19 <tytso@valinux.com>
251
252 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
253 the source directory.
254
Theodore Ts'ocd086361999-11-10 16:00:39 +00002551999-11-10 <tytso@valinux.com>
256
257 * Release of E2fsprogs 1.18
258
Theodore Ts'o28e11941999-10-26 18:17:20 +00002591999-10-26 <tytso@valinux.com>
260
261 * Release of E2fsprogs 1.17
262
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002631999-10-22 <tytso@valinux.com>
264
265 * Release of E2fsprogs 1.16
266
Theodore Ts'o657cb971999-07-30 23:19:10 +00002671999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
268
269 * Release of E2fsprogs 1.15
270
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00002711999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
272
273 * Release of E2fsprogs 1.14
274
Theodore Ts'o556ad131998-12-19 08:10:58 +00002751998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
276
277 * Release of E2fsprogs 1.13
278
Theodore Ts'odba838b1998-12-04 06:15:12 +00002791998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
280
281 * Makefile.in: Updated dependencies.
282
Theodore Ts'o7e71e4c1998-09-30 00:54:35 +00002831998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
284
285 * main.c (main): Print a feedback message stating the new size of
286 the filesystem when we're through.
287
Theodore Ts'o1333fe91998-09-03 00:26:49 +00002881998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
289
290 * resize2fs.c: Rename max to max_groups and max_dirs to avoid
291 possible conflicts with a cpp macro named "max".
292
Theodore Ts'o169cb541998-08-01 04:33:31 +00002931998-07-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
294
295 * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
296
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00002971998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
298
299 * Release of E2fsprogs 1.12
300
Theodore Ts'o08430751998-06-10 20:36:37 +00003011998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu>
302
303 * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t
304 to avoid collision with LFS API.
305
Theodore Ts'o4c77fe51998-04-30 17:35:59 +00003061998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
307
308 * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem
309 instead of free().
310 (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate
311 return type for comparison functions for qsort.
312
Theodore Ts'o76f875d1998-04-27 01:41:13 +00003131998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
314
315 * resize2fs.c (adjust_superblock):
316 * extent.c (ext2fs_add_extent_entry): Update functions to
317 pass the old size of the memory to be resized to
318 ext2fs_resize_mem().
319
Theodore Ts'od171c5b1998-04-03 16:07:06 +00003201998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
321
322 * Makefile.in: Change to use new installation directory variables
323 convention. Fix uninstall rules to take $(DESTDIR) into
324 account. Remove cat8dir from the installdirs target,
325 since modern man package don't necessarily put the cat
326 directory in /usr/man/cat?.
327
Theodore Ts'o2a3013b1998-03-30 01:08:41 +00003281998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
329
330 * extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
331
332 * main.c (check_mount): Rename function argument to prevent -Wall
333 warning.
334
Theodore Ts'o101c84f1998-03-24 16:27:11 +00003351998-03-24 Theodore Ts'o <tytso@rsts-11.mit.edu>
336
337 * main.c (main): Check to make sure we can really resize this
338 filesystem. If there are compatible feature sets that we
339 don't support, we need to abort.
340
341 * resize2fs.c: Change to use the new prototype required by
342 block_iterate2 (which uses blkcnt_t for the blockcount).
343
Theodore Ts'o2bc4d4f1998-03-21 03:27:48 +00003441998-03-20 Theodore Ts'o <tytso@rsts-11.mit.edu>
345
346 * resize2fs.c (inode_scan_and_fix): If we are expanding the
347 filesystem, temporarily set
348 rfs->old_fs->super->s_blocks_count to ultimate size of the
349 filesystem, to avoid catching an error on the block
350 iterator.
351
Theodore Ts'oba0af751998-03-09 17:41:53 +0000352Mon Mar 9 12:02:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
353
354 * main.c: Use a local version.h file.
355
Theodore Ts'obce49791998-03-07 23:24:01 +0000356Sat Mar 7 18:18:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
357
Theodore Ts'ofac9c201998-03-07 23:36:45 +0000358 * Makefile.in: Change the name of the complete source file that we
359 built (that includes resize2fs) to be
360 e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid,
361 since it's not needed.
362
Theodore Ts'o59fa3691998-03-07 23:26:26 +0000363 * main.c (main): Add copyright notice.
364
Theodore Ts'obce49791998-03-07 23:24:01 +0000365 * resize2fs.c (blocks_to_move): Create the meta_bmap using the old
366 filesystem, not the new filesystem.
367 (get_new_block): Don't try checking the old block bitmap
368 if the block we're testing is beyond the boundaries of the
369 old filesystem.
370
Theodore Ts'o0e14f781998-02-27 06:04:23 +0000371Fri Feb 27 01:02:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
372
373 * Makefile.in: Add rule to build a static version of resize2fs.
374 Update dependency rules.
375
376 * main.c: #include ../version.h, instead of using a hard-coded
377 version string.
378
Theodore Ts'o3b627e81998-02-24 20:24:49 +0000379Tue Feb 24 15:22:52 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
380
381 * Change the progress function to return an errcode_t; this allows
382 the progress function to return a error indicating a
383 user-requested cancel.
384
Theodore Ts'of4b2a6d1998-02-21 04:20:44 +00003851998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
386
387 * main.c (check_mount, main): Resize2fs now checks the size of the
388 partition, and uses this as a default new_size of the
389 partition if one is not specified. Resize2fs will not let
390 you resize a mounted partition.
391
392 * resize2fs.c: Change how the progress function for the INODE_SCAN
393 pass is performed, so that the maximum size is never zero.
394
395 * resize2fs.8.in: Updated man page.
396
Theodore Ts'oa8519a21998-02-16 22:16:20 +0000397Mon Feb 16 17:13:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
398
399 * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c,
400 ext2_inode_move.c: Major reoganization of how resizing
401 works. Functions in ext2_block_move.c, and
402 ext2_inode_move.c moved into resize2fs.c. Multiple passes
403 in those two files also combined into a single inode
404 scanning pass. Made the inode table moving function
405 better handling the case where it needs to abort
406 mid-operation. When moving blocks around, made the block
407 allocation function preferentially avoid the old group
408 descriptor blocks, to make resize2fs more robust.
409
Theodore Ts'o63b44fb1998-02-13 22:58:18 +0000410Fri Feb 13 17:15:43 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
411
412 * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c,
413 main.c: Reorganize how the progress functions are called.
414
Theodore Ts'oca8abba1998-01-19 14:55:24 +0000415Mon Jan 19 09:12:28 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
416
417 * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
418 of the ext2-specific header files are in a flat directory.
419
420 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
421 resize2fs.h: Rename variables named "new" to "new_block",
422 "new_inode", or "new_loc" to avoid C++ reserved word
423 clash.
424
425 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
426 sim_progress.c: Use ext2fs_get_memory(),
427 ext2fs_free_memory(), et. al., instead of malloc() and
428 free().
429
430 * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
431 all assignments from void * to be compatible with C++.
432
433Mon Dec 29 19:09:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
434
435 * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
436 Change private to priv_data to avoid C++ namespace clash.
437
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000438Mon Nov 3 14:45:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
439
Theodore Ts'o9abf59d1997-11-04 00:31:22 +0000440 * resize2fs.h: Remove STDC magic, since everyone is STDC these days.
441
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000442 * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include
443 printf statements if RESIZE2FS_DEBUG is defined.
444
445 * main.c: Don't read in the bitmaps since resize2fs.c does that.
446
Theodore Ts'od40259f1997-10-20 00:44:26 +0000447Sun Oct 19 20:40:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
448
449 * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
450
Theodore Ts'obc75f2a1997-09-04 00:43:10 +0000451Wed Sep 3 17:31:49 1997 Theodore Y. Ts'o <tytso@edt.mit.edu>
452
453 * resize2fs.h: Add #include for errno.h
454
Theodore Ts'o024996c1997-06-17 05:38:35 +0000455Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
456
457 * Release of E2fsprogs 1.11
458