blob: 7df86a6111ac71300b33b7faa60f91719f018be2 [file] [log] [blame]
Theodore Ts'odfcdc322001-01-11 15:38:00 +000012001-01-11 <tytso@snap.thunk.org>
2
Theodore Ts'o48e08e02001-01-11 16:11:11 +00003 * main.c (main): Use ext2fs_sync_device() instead of calling the
4 BLKFLSBUF ioctl directly.
5
Theodore Ts'odfcdc322001-01-11 15:38:00 +00006 * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t.
7
Theodore Ts'oe5b38a52001-01-01 16:17:12 +000082001-01-01 <tytso@snap.thunk.org>
9
10 * main.c (main): Replace use of struct ext2fs_sb with struct
11 ext2_super_block.
12
Theodore Ts'o3e377db2000-12-09 02:37:33 +0000132000-12-08 <tytso@snap.thunk.org>
14
15 * Makefile.in: Fix so that top-level "make check" works correctly.
16
Theodore Ts'of9e67062000-07-13 23:25:54 +0000172000-07-13 <tytso@valinux.com>
18
19 * Release of E2fsprogs 1.19
20
Theodore Ts'oe4c8e882000-07-05 23:54:46 +0000212000-07-05 <tytso@snap.thunk.org>
22
23 * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin.
24
Theodore Ts'oa13575f2000-06-12 22:06:16 +0000252000-06-12 Theodore Ts'o <tytso@valinux.com>
26
27 * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
28
Theodore Ts'o0cee8a52000-04-06 21:38:34 +0000292000-04-06 Theodore Ts'o <tytso@valinux.com>
30
31 * Update copyright of files in preparation for release of
32 resize2fs. Also removed the (obsolete) beta-test check
33 that had been in the code, as well as the old spec files
34 used to package the separate distribution of resize2fs.
35
36 * Makefile.in: No longer build resize2fs.static, since there's no
37 real point in it any more.
38
Theodore Ts'o373b8332000-04-03 16:22:35 +0000392000-04-03 Theodore Ts'o <tytso@valinux.com>
40
41 * main.c: For platforms that don't define optarg.h, manually
42 define optarg and optind.
43
Theodore Ts'o0a617312000-02-02 19:14:36 +0000442000-02-02 Theodore Ts'o <tytso@valinux.com>
45
46 * resize2fs.h: Remove unneeded #include of linux/fs.h
47
48 * main.c: Fix gcc -Wall bug. main() should return an int.
49
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +0000501999-11-19 <tytso@valinux.com>
51
52 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
53 the source directory.
54
Theodore Ts'ocd086361999-11-10 16:00:39 +0000551999-11-10 <tytso@valinux.com>
56
57 * Release of E2fsprogs 1.18
58
Theodore Ts'o28e11941999-10-26 18:17:20 +0000591999-10-26 <tytso@valinux.com>
60
61 * Release of E2fsprogs 1.17
62
Theodore Ts'o614fdfd1999-10-23 03:19:51 +0000631999-10-22 <tytso@valinux.com>
64
65 * Release of E2fsprogs 1.16
66
Theodore Ts'o657cb971999-07-30 23:19:10 +0000671999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
68
69 * Release of E2fsprogs 1.15
70
Theodore Ts'o9e51eca1999-01-09 16:32:31 +0000711999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
72
73 * Release of E2fsprogs 1.14
74
Theodore Ts'o556ad131998-12-19 08:10:58 +0000751998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
76
77 * Release of E2fsprogs 1.13
78
Theodore Ts'odba838b1998-12-04 06:15:12 +0000791998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
80
81 * Makefile.in: Updated dependencies.
82
Theodore Ts'o7e71e4c1998-09-30 00:54:35 +0000831998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
84
85 * main.c (main): Print a feedback message stating the new size of
86 the filesystem when we're through.
87
Theodore Ts'o1333fe91998-09-03 00:26:49 +0000881998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu>
89
90 * resize2fs.c: Rename max to max_groups and max_dirs to avoid
91 possible conflicts with a cpp macro named "max".
92
Theodore Ts'o169cb541998-08-01 04:33:31 +0000931998-07-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
94
95 * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H.
96
Theodore Ts'o4a5fa191998-07-09 05:42:45 +0000971998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
98
99 * Release of E2fsprogs 1.12
100
Theodore Ts'o08430751998-06-10 20:36:37 +00001011998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu>
102
103 * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t
104 to avoid collision with LFS API.
105
Theodore Ts'o4c77fe51998-04-30 17:35:59 +00001061998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
107
108 * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem
109 instead of free().
110 (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate
111 return type for comparison functions for qsort.
112
Theodore Ts'o76f875d1998-04-27 01:41:13 +00001131998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
114
115 * resize2fs.c (adjust_superblock):
116 * extent.c (ext2fs_add_extent_entry): Update functions to
117 pass the old size of the memory to be resized to
118 ext2fs_resize_mem().
119
Theodore Ts'od171c5b1998-04-03 16:07:06 +00001201998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
121
122 * Makefile.in: Change to use new installation directory variables
123 convention. Fix uninstall rules to take $(DESTDIR) into
124 account. Remove cat8dir from the installdirs target,
125 since modern man package don't necessarily put the cat
126 directory in /usr/man/cat?.
127
Theodore Ts'o2a3013b1998-03-30 01:08:41 +00001281998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
129
130 * extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
131
132 * main.c (check_mount): Rename function argument to prevent -Wall
133 warning.
134
Theodore Ts'o101c84f1998-03-24 16:27:11 +00001351998-03-24 Theodore Ts'o <tytso@rsts-11.mit.edu>
136
137 * main.c (main): Check to make sure we can really resize this
138 filesystem. If there are compatible feature sets that we
139 don't support, we need to abort.
140
141 * resize2fs.c: Change to use the new prototype required by
142 block_iterate2 (which uses blkcnt_t for the blockcount).
143
Theodore Ts'o2bc4d4f1998-03-21 03:27:48 +00001441998-03-20 Theodore Ts'o <tytso@rsts-11.mit.edu>
145
146 * resize2fs.c (inode_scan_and_fix): If we are expanding the
147 filesystem, temporarily set
148 rfs->old_fs->super->s_blocks_count to ultimate size of the
149 filesystem, to avoid catching an error on the block
150 iterator.
151
Theodore Ts'oba0af751998-03-09 17:41:53 +0000152Mon Mar 9 12:02:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
153
154 * main.c: Use a local version.h file.
155
Theodore Ts'obce49791998-03-07 23:24:01 +0000156Sat Mar 7 18:18:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
157
Theodore Ts'ofac9c201998-03-07 23:36:45 +0000158 * Makefile.in: Change the name of the complete source file that we
159 built (that includes resize2fs) to be
160 e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid,
161 since it's not needed.
162
Theodore Ts'o59fa3691998-03-07 23:26:26 +0000163 * main.c (main): Add copyright notice.
164
Theodore Ts'obce49791998-03-07 23:24:01 +0000165 * resize2fs.c (blocks_to_move): Create the meta_bmap using the old
166 filesystem, not the new filesystem.
167 (get_new_block): Don't try checking the old block bitmap
168 if the block we're testing is beyond the boundaries of the
169 old filesystem.
170
Theodore Ts'o0e14f781998-02-27 06:04:23 +0000171Fri Feb 27 01:02:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
172
173 * Makefile.in: Add rule to build a static version of resize2fs.
174 Update dependency rules.
175
176 * main.c: #include ../version.h, instead of using a hard-coded
177 version string.
178
Theodore Ts'o3b627e81998-02-24 20:24:49 +0000179Tue Feb 24 15:22:52 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
180
181 * Change the progress function to return an errcode_t; this allows
182 the progress function to return a error indicating a
183 user-requested cancel.
184
Theodore Ts'of4b2a6d1998-02-21 04:20:44 +00001851998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu>
186
187 * main.c (check_mount, main): Resize2fs now checks the size of the
188 partition, and uses this as a default new_size of the
189 partition if one is not specified. Resize2fs will not let
190 you resize a mounted partition.
191
192 * resize2fs.c: Change how the progress function for the INODE_SCAN
193 pass is performed, so that the maximum size is never zero.
194
195 * resize2fs.8.in: Updated man page.
196
Theodore Ts'oa8519a21998-02-16 22:16:20 +0000197Mon Feb 16 17:13:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
198
199 * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c,
200 ext2_inode_move.c: Major reoganization of how resizing
201 works. Functions in ext2_block_move.c, and
202 ext2_inode_move.c moved into resize2fs.c. Multiple passes
203 in those two files also combined into a single inode
204 scanning pass. Made the inode table moving function
205 better handling the case where it needs to abort
206 mid-operation. When moving blocks around, made the block
207 allocation function preferentially avoid the old group
208 descriptor blocks, to make resize2fs more robust.
209
Theodore Ts'o63b44fb1998-02-13 22:58:18 +0000210Fri Feb 13 17:15:43 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
211
212 * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c,
213 main.c: Reorganize how the progress functions are called.
214
Theodore Ts'oca8abba1998-01-19 14:55:24 +0000215Mon Jan 19 09:12:28 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
216
217 * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all
218 of the ext2-specific header files are in a flat directory.
219
220 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
221 resize2fs.h: Rename variables named "new" to "new_block",
222 "new_inode", or "new_loc" to avoid C++ reserved word
223 clash.
224
225 * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c,
226 sim_progress.c: Use ext2fs_get_memory(),
227 ext2fs_free_memory(), et. al., instead of malloc() and
228 free().
229
230 * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast
231 all assignments from void * to be compatible with C++.
232
233Mon Dec 29 19:09:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
234
235 * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c:
236 Change private to priv_data to avoid C++ namespace clash.
237
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000238Mon Nov 3 14:45:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
239
Theodore Ts'o9abf59d1997-11-04 00:31:22 +0000240 * resize2fs.h: Remove STDC magic, since everyone is STDC these days.
241
Theodore Ts'o80c0fc31997-11-03 19:46:49 +0000242 * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include
243 printf statements if RESIZE2FS_DEBUG is defined.
244
245 * main.c: Don't read in the bitmaps since resize2fs.c does that.
246
Theodore Ts'od40259f1997-10-20 00:44:26 +0000247Sun Oct 19 20:40:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
248
249 * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
250
Theodore Ts'obc75f2a1997-09-04 00:43:10 +0000251Wed Sep 3 17:31:49 1997 Theodore Y. Ts'o <tytso@edt.mit.edu>
252
253 * resize2fs.h: Add #include for errno.h
254
Theodore Ts'o024996c1997-06-17 05:38:35 +0000255Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
256
257 * Release of E2fsprogs 1.11
258