blob: 667c6a65d030548e984c990136ee2359a4d8e5a9 [file] [log] [blame]
Theodore Ts'oae65b292002-11-08 20:08:48 -050012002-11-08 Theodore Ts'o <tytso@mit.edu>
2
3 * Release of E2fsprogs 1.31
4
Theodore Ts'o085d2a82002-10-31 19:56:56 -050052002-10-31 Theodore Ts'o <tytso@mit.edu>
6
Theodore Ts'o5d823a42002-11-01 02:13:53 -05007 * Release of E2fsprogs 1.30
8
92002-10-31 Theodore Ts'o <tytso@mit.edu>
10
Theodore Ts'o085d2a82002-10-31 19:56:56 -050011 * resize2fs.c (inode_scan_and_fix, check_and_change_inodes): When
12 moving an inode, set the ctime field so that people using
13 dump/restore will backup the changed inode. Also update
14 the mtime and ctime of directories which get updated when
15 we need to move an inode.
16
Theodore Ts'o76dd5e52002-10-30 23:07:21 -0500172002-10-30 Theodore Ts'o <tytso@mit.edu>
18
Theodore Ts'o482afc42002-10-31 03:32:34 -050019 * Makefile.in (install): Search all compression extensions when
20 deleting old man pages.
21
Theodore Ts'o76dd5e52002-10-30 23:07:21 -050022 * resize2fs.c (adjust_superblock, mark_table_blocks,
23 blocks_to_move): Add support for resizing filesystems that
24 use the meta block group layout.
25
26 * main.c (main): Fixed bug that erroneously (and
27 needlessly) checked the incompat feature flag field
28 against the supported ro_compat feature set.
29
Theodore Ts'o143ac302002-10-03 11:52:41 -0400302002-10-03 Theodore Ts'o <tytso@mit.edu>
31
32 * resize2fs.8.in: Fix typo in man page.
33
Theodore Ts'oc6633052002-09-24 01:26:50 -0400342001-09-24 Theodore Tso <tytso@mit.edu>
35
36 * Release of E2fsprogs 1.29
37
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400382001-08-31 Theodore Tso <tytso@thunk.org>
39
40 * Release of E2fsprogs 1.28
41
Theodore Ts'oed909bb2002-08-16 17:03:59 -0400422002-08-16 Theodore Ts'o <tytso@mit.edu>
43
44 * resize2fs.c (inode_scan_and_fix): Add code to move the extended
45 attribute block.
46
Theodore Ts'ocefbf482002-07-26 01:56:22 -0400472002-07-26 Theodore Ts'o <tytso@mit.edu>
48
49 * resize2fs.c (block_mover): If there are no blocks to move,
50 release the bmap table. This significantly speeds up
51 resize2fs when shrinking or expanding a filesystem by a
52 very small number of blocks (which EVMS will do).
53
Theodore Ts'o41cce582002-05-28 23:19:14 -0400542002-05-28 <tytso@mit.edu>
55
56 * main.c (main): If the filesystem has errors or is not valid,
57 then require an e2fsck -f run be done on the filesystem
58 more.
59
Theodore Ts'o16082112002-04-09 12:46:19 -0400602002-04-09 <tytso@snap.thunk.org>
61
62 * main.c (main): If resize_fs returns an error, don't print the
63 message stating that the filesystem was resized.
64
Theodore Ts'o116db1b2002-04-01 01:28:30 -0500652002-03-31 <tytso@mit.edu>
66
67 * main.c (main): If we are resizing a plain file which is smaller
68 than the requested size, then we will attempt to
69 transparently extend the filesize in a sparse fashion by
70 writing a block at the end of the requested part of the
71 filesystem.
72
73 * main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the
74 function prototype of resize_fs() so that it can modify
75 the new_size parameter with the actual new size of the
76 filesystem after the resize operation. (This can
77 sometimes be less than the requested new size if there
78 isn't enough space to create the necessary block group
79 metadata for that last bit of disk space.) Resize2fs now
80 prints the actual new size of the filesystem when it finishes.
81
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500822002-03-08 Theodore Tso <tytso@mit.edu>
83
84 * Release of E2fsprogs 1.27
85
Theodore Ts'o304905d2002-03-07 20:55:01 -0500862002-03-07 Theodore Tso <tytso@mit.edu>
87
Theodore Ts'o546a1ff2002-03-07 23:52:56 -050088 * resize2fs.c (process_block, inode_scan_and_fix,
89 check_and_change_inodes): Fix gcc -Wall complaints in
90 debug code.
91
Theodore Ts'o304905d2002-03-07 20:55:01 -050092 * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs.
93 (From Philipp Thomas <pthomas@suse.de>)
94
Theodore Ts'o57173d02002-02-26 14:59:39 -0500952002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050096
97 * Makefile.in (install): Remove any compressed man pages before
98 installing the man pages.
99
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -05001002002-02-03 Theodore Tso <tytso@thunk.org>
101
102 * Release of E2fsprogs 1.26
103
Theodore Ts'ofbf91112001-09-20 10:47:47 -04001042001-09-20 Theodore Tso <tytso@thunk.org>
105
106 * Release of E2fsprogs 1.25
107
Theodore Ts'ofb707752001-09-04 15:00:37 -04001082001-09-02 Theodore Tso <tytso@thunk.org>
109
110 * Release of E2fsprogs 1.24a
111
Theodore Ts'o109624a2001-08-31 00:59:55 -04001122001-08-30 Theodore Tso <tytso@thunk.org>
113
114 * Release of E2fsprogs 1.24
115
Theodore Ts'o943ed872001-08-27 12:29:22 -04001162001-08-15 Theodore Tso <tytso@valinux.com>
117
118 * Release of E2fsprogs 1.23
119
Theodore Ts'o67960132001-06-23 00:16:37 -04001202001-06-23 Theodore Tso <tytso@valinux.com>
121
122 * Release of E2fsprogs 1.22
123
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001242001-06-15 Theodore Tso <tytso@valinux.com>
125
126 * Release of E2fsprogs 1.21
127
Theodore Ts'o797f5ef2001-06-01 23:49:46 +00001282001-06-01 Theodore Tso <tytso@valinux.com>
129
130 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000131 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000132
Theodore Ts'obb185862001-05-25 17:35:00 +00001332001-05-25 Theodore Tso <tytso@valinux.com>
134
135 * Release of E2fsprogs 1.20
136
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001372001-05-14 Theodore Tso <tytso@valinux.com>
138
139 * resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
140
Theodore Ts'odfcdc322001-01-11 15:38:00 +00001412001-01-11 <tytso@snap.thunk.org>
142
Theodore Ts'o48e08e02001-01-11 16:11:11 +0000143 * main.c (main): Use ext2fs_sync_device() instead of calling the
144 BLKFLSBUF ioctl directly.
145
Theodore Ts'odfcdc322001-01-11 15:38:00 +0000146 * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
147
Theodore Ts'oe5b38a52001-01-01 16:17:12 +00001482001-01-01 <tytso@snap.thunk.org>
149
150 * main.c (main): Replace use of struct ext2fs_sb with struct
151 ext2_super_block.
152
Theodore Ts'o3e377db2000-12-09 02:37:33 +00001532000-12-08 <tytso@snap.thunk.org>
154
155 * Makefile.in: Fix so that top-level "make check" works correctly.
156
Theodore Ts'of9e67062000-07-13 23:25:54 +00001572000-07-13 <tytso@valinux.com>
158
159 * Release of E2fsprogs 1.19
160
Theodore Ts'oe4c8e882000-07-05 23:54:46 +00001612000-07-05 <tytso@snap.thunk.org>
162
163 * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
164
Theodore Ts'oa13575f2000-06-12 22:06:16 +00001652000-06-12 Theodore Ts'o <tytso@valinux.com>
166
167 * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
168
Theodore Ts'o0cee8a52000-04-06 21:38:34 +00001692000-04-06 Theodore Ts'o <tytso@valinux.com>
170
171 * Update copyright of files in preparation for release of
172 resize2fs. Also removed the (obsolete) beta-test check
173 that had been in the code, as well as the old spec files
174 used to package the separate distribution of resize2fs.
175
176 * Makefile.in: No longer build resize2fs.static, since there's no
177 real point in it any more.
178
Theodore Ts'o373b8332000-04-03 16:22:35 +00001792000-04-03 Theodore Ts'o <tytso@valinux.com>
180
181 * main.c: For platforms that don't define optarg.h, manually
182 define optarg and optind.
183
Theodore Ts'o0a617312000-02-02 19:14:36 +00001842000-02-02 Theodore Ts'o <tytso@valinux.com>
185
186 * resize2fs.h: Remove unneeded #include of linux/fs.h
187
188 * main.c: Fix gcc -Wall bug. main() should return an int.
189
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00001901999-11-19 <tytso@valinux.com>
191
192 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
193 the source directory.
194
Theodore Ts'ocd086361999-11-10 16:00:39 +00001951999-11-10 <tytso@valinux.com>
196
197 * Release of E2fsprogs 1.18
198
Theodore Ts'o28e11941999-10-26 18:17:20 +00001991999-10-26 <tytso@valinux.com>
200
201 * Release of E2fsprogs 1.17
202
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002031999-10-22 <tytso@valinux.com>
204
205 * Release of E2fsprogs 1.16
206
Theodore Ts'o657cb971999-07-30 23:19:10 +00002071999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
208
209 * Release of E2fsprogs 1.15
210
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00002111999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
212
213 * Release of E2fsprogs 1.14
214
Theodore Ts'o556ad131998-12-19 08:10:58 +00002151998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
216
217 * Release of E2fsprogs 1.13
218
Theodore Ts'odba838b1998-12-04 06:15:12 +00002191998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
220
221 * Makefile.in: Updated dependencies.
222
Theodore Ts'o7e71e4c1998-09-30 00:54:35 +00002231998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
224
225 * main.c (main): Print a feedback message stating the new size of
226 the filesystem when we're through.
227
Theodore Ts'o1333fe91998-09-03 00:26:49 +00002281998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
229
230 * resize2fs.c: Rename max to max_groups and max_dirs to avoid
231 possible conflicts with a cpp macro named "max".
232
Theodore Ts'o169cb541998-08-01 04:33:31 +00002331998-07-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
234
235 * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
236
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00002371998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
238
239 * Release of E2fsprogs 1.12
240
Theodore Ts'o08430751998-06-10 20:36:37 +00002411998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu>
242
243 * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t
244 to avoid collision with LFS API.
245
Theodore Ts'o4c77fe51998-04-30 17:35:59 +00002461998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
247
248 * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem
249 instead of free().
250 (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate
251 return type for comparison functions for qsort.
252
Theodore Ts'o76f875d1998-04-27 01:41:13 +00002531998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
254
255 * resize2fs.c (adjust_superblock):
256 * extent.c (ext2fs_add_extent_entry): Update functions to
257 pass the old size of the memory to be resized to
258 ext2fs_resize_mem().
259
Theodore Ts'od171c5b1998-04-03 16:07:06 +00002601998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
261
262 * Makefile.in: Change to use new installation directory variables
263 convention. Fix uninstall rules to take $(DESTDIR) into
264 account. Remove cat8dir from the installdirs target,
265 since modern man package don't necessarily put the cat
266 directory in /usr/man/cat?.
267
Theodore Ts'o2a3013b1998-03-30 01:08:41 +00002681998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
269
270 * extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
271
272 * main.c (check_mount): Rename function argument to prevent -Wall
273 warning.
274
Theodore Ts'o101c84f1998-03-24 16:27:11 +00002751998-03-24 Theodore Ts'o <tytso@rsts-11.mit.edu>
276
277 * main.c (main): Check to make sure we can really resize this
278 filesystem. If there are compatible feature sets that we
279 don't support, we need to abort.
280
281 * resize2fs.c: Change to use the new prototype required by
282 block_iterate2 (which uses blkcnt_t for the blockcount).
283
Theodore Ts'o2bc4d4f1998-03-21 03:27:48 +00002841998-03-20 Theodore Ts'o <tytso@rsts-11.mit.edu>
285
286 * resize2fs.c (inode_scan_and_fix): If we are expanding the
287 filesystem, temporarily set
288 rfs->old_fs->super->s_blocks_count to ultimate size of the
289 filesystem, to avoid catching an error on the block
290 iterator.
291
Theodore Ts'oba0af751998-03-09 17:41:53 +0000292Mon Mar 9 12:02:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
293
294 * main.c: Use a local version.h file.
295
Theodore Ts'obce49791998-03-07 23:24:01 +0000296Sat Mar 7 18:18:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
297
Theodore Ts'ofac9c201998-03-07 23:36:45 +0000298 * Makefile.in: Change the name of the complete source file that we
299 built (that includes resize2fs) to be
300 e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid,
301 since it's not needed.
302
Theodore Ts'o59fa3691998-03-07 23:26:26 +0000303 * main.c (main): Add copyright notice.
304
Theodore Ts'obce49791998-03-07 23:24:01 +0000305 * resize2fs.c (blocks_to_move): Create the meta_bmap using the old
306 filesystem, not the new filesystem.
307 (get_new_block): Don't try checking the old block bitmap
308 if the block we're testing is beyond the boundaries of the
309 old filesystem.
310
Theodore Ts'o0e14f781998-02-27 06:04:23 +0000311Fri Feb 27 01:02:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
312
313 * Makefile.in: Add rule to build a static version of resize2fs.
314 Update dependency rules.
315
316 * main.c: #include ../version.h, instead of using a hard-coded
317 version string.
318
Theodore Ts'o3b627e81998-02-24 20:24:49 +0000319Tue Feb 24 15:22:52 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
320
321 * Change the progress function to return an errcode_t; this allows
322 the progress function to return a error indicating a
323 user-requested cancel.
324
Theodore Ts'of4b2a6d1998-02-21 04:20:44 +00003251998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
326
327 * main.c (check_mount, main): Resize2fs now checks the size of the
328 partition, and uses this as a default new_size of the
329 partition if one is not specified. Resize2fs will not let
330 you resize a mounted partition.
331
332 * resize2fs.c: Change how the progress function for the INODE_SCAN
333 pass is performed, so that the maximum size is never zero.
334
335 * resize2fs.8.in: Updated man page.
336
Theodore Ts'oa8519a21998-02-16 22:16:20 +0000337Mon Feb 16 17:13:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
338
339 * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c,
340 ext2_inode_move.c: Major reoganization of how resizing
341 works. Functions in ext2_block_move.c, and
342 ext2_inode_move.c moved into resize2fs.c. Multiple passes
343 in those two files also combined into a single inode
344 scanning pass. Made the inode table moving function
345 better handling the case where it needs to abort
346 mid-operation. When moving blocks around, made the block
347 allocation function preferentially avoid the old group
348 descriptor blocks, to make resize2fs more robust.
349
Theodore Ts'o63b44fb1998-02-13 22:58:18 +0000350Fri Feb 13 17:15:43 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
351
352 * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c,
353 main.c: Reorganize how the progress functions are called.
354
Theodore Ts'oca8abba1998-01-19 14:55:24 +0000355Mon Jan 19 09:12:28 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
356
357 * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
358 of the ext2-specific header files are in a flat directory.
359
360 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
361 resize2fs.h: Rename variables named "new" to "new_block",
362 "new_inode", or "new_loc" to avoid C++ reserved word
363 clash.
364
365 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
366 sim_progress.c: Use ext2fs_get_memory(),
367 ext2fs_free_memory(), et. al., instead of malloc() and
368 free().
369
370 * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
371 all assignments from void * to be compatible with C++.
372
373Mon Dec 29 19:09:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
374
375 * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
376 Change private to priv_data to avoid C++ namespace clash.
377
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000378Mon Nov 3 14:45:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
379
Theodore Ts'o9abf59d1997-11-04 00:31:22 +0000380 * resize2fs.h: Remove STDC magic, since everyone is STDC these days.
381
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000382 * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include
383 printf statements if RESIZE2FS_DEBUG is defined.
384
385 * main.c: Don't read in the bitmaps since resize2fs.c does that.
386
Theodore Ts'od40259f1997-10-20 00:44:26 +0000387Sun Oct 19 20:40:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
388
389 * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
390
Theodore Ts'obc75f2a1997-09-04 00:43:10 +0000391Wed Sep 3 17:31:49 1997 Theodore Y. Ts'o <tytso@edt.mit.edu>
392
393 * resize2fs.h: Add #include for errno.h
394
Theodore Ts'o024996c1997-06-17 05:38:35 +0000395Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
396
397 * Release of E2fsprogs 1.11
398