Theodore Ts'o | dfcdc32 | 2001-01-11 15:38:00 +0000 | [diff] [blame] | 1 | 2001-01-11 <tytso@snap.thunk.org> |
| 2 | |
| 3 | * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t. |
| 4 | |
Theodore Ts'o | e5b38a5 | 2001-01-01 16:17:12 +0000 | [diff] [blame] | 5 | 2001-01-01 <tytso@snap.thunk.org> |
| 6 | |
| 7 | * main.c (main): Replace use of struct ext2fs_sb with struct |
| 8 | ext2_super_block. |
| 9 | |
Theodore Ts'o | 3e377db | 2000-12-09 02:37:33 +0000 | [diff] [blame] | 10 | 2000-12-08 <tytso@snap.thunk.org> |
| 11 | |
| 12 | * Makefile.in: Fix so that top-level "make check" works correctly. |
| 13 | |
Theodore Ts'o | f9e6706 | 2000-07-13 23:25:54 +0000 | [diff] [blame] | 14 | 2000-07-13 <tytso@valinux.com> |
| 15 | |
| 16 | * Release of E2fsprogs 1.19 |
| 17 | |
Theodore Ts'o | e4c8e88 | 2000-07-05 23:54:46 +0000 | [diff] [blame] | 18 | 2000-07-05 <tytso@snap.thunk.org> |
| 19 | |
| 20 | * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin. |
| 21 | |
Theodore Ts'o | a13575f | 2000-06-12 22:06:16 +0000 | [diff] [blame] | 22 | 2000-06-12 Theodore Ts'o <tytso@valinux.com> |
| 23 | |
| 24 | * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support. |
| 25 | |
Theodore Ts'o | 0cee8a5 | 2000-04-06 21:38:34 +0000 | [diff] [blame] | 26 | 2000-04-06 Theodore Ts'o <tytso@valinux.com> |
| 27 | |
| 28 | * Update copyright of files in preparation for release of |
| 29 | resize2fs. Also removed the (obsolete) beta-test check |
| 30 | that had been in the code, as well as the old spec files |
| 31 | used to package the separate distribution of resize2fs. |
| 32 | |
| 33 | * Makefile.in: No longer build resize2fs.static, since there's no |
| 34 | real point in it any more. |
| 35 | |
Theodore Ts'o | 373b833 | 2000-04-03 16:22:35 +0000 | [diff] [blame] | 36 | 2000-04-03 Theodore Ts'o <tytso@valinux.com> |
| 37 | |
| 38 | * main.c: For platforms that don't define optarg.h, manually |
| 39 | define optarg and optind. |
| 40 | |
Theodore Ts'o | 0a61731 | 2000-02-02 19:14:36 +0000 | [diff] [blame] | 41 | 2000-02-02 Theodore Ts'o <tytso@valinux.com> |
| 42 | |
| 43 | * resize2fs.h: Remove unneeded #include of linux/fs.h |
| 44 | |
| 45 | * main.c: Fix gcc -Wall bug. main() should return an int. |
| 46 | |
Theodore Ts'o | 5c36a2f | 1999-11-19 18:42:30 +0000 | [diff] [blame] | 47 | 1999-11-19 <tytso@valinux.com> |
| 48 | |
| 49 | * Makefile.in (distclean): Remove TAGS and Makefile.in.old from |
| 50 | the source directory. |
| 51 | |
Theodore Ts'o | cd08636 | 1999-11-10 16:00:39 +0000 | [diff] [blame] | 52 | 1999-11-10 <tytso@valinux.com> |
| 53 | |
| 54 | * Release of E2fsprogs 1.18 |
| 55 | |
Theodore Ts'o | 28e1194 | 1999-10-26 18:17:20 +0000 | [diff] [blame] | 56 | 1999-10-26 <tytso@valinux.com> |
| 57 | |
| 58 | * Release of E2fsprogs 1.17 |
| 59 | |
Theodore Ts'o | 614fdfd | 1999-10-23 03:19:51 +0000 | [diff] [blame] | 60 | 1999-10-22 <tytso@valinux.com> |
| 61 | |
| 62 | * Release of E2fsprogs 1.16 |
| 63 | |
Theodore Ts'o | 657cb97 | 1999-07-30 23:19:10 +0000 | [diff] [blame] | 64 | 1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 65 | |
| 66 | * Release of E2fsprogs 1.15 |
| 67 | |
Theodore Ts'o | 9e51eca | 1999-01-09 16:32:31 +0000 | [diff] [blame] | 68 | 1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 69 | |
| 70 | * Release of E2fsprogs 1.14 |
| 71 | |
Theodore Ts'o | 556ad13 | 1998-12-19 08:10:58 +0000 | [diff] [blame] | 72 | 1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 73 | |
| 74 | * Release of E2fsprogs 1.13 |
| 75 | |
Theodore Ts'o | dba838b | 1998-12-04 06:15:12 +0000 | [diff] [blame] | 76 | 1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 77 | |
| 78 | * Makefile.in: Updated dependencies. |
| 79 | |
Theodore Ts'o | 7e71e4c | 1998-09-30 00:54:35 +0000 | [diff] [blame] | 80 | 1998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 81 | |
| 82 | * main.c (main): Print a feedback message stating the new size of |
| 83 | the filesystem when we're through. |
| 84 | |
Theodore Ts'o | 1333fe9 | 1998-09-03 00:26:49 +0000 | [diff] [blame] | 85 | 1998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 86 | |
| 87 | * resize2fs.c: Rename max to max_groups and max_dirs to avoid |
| 88 | possible conflicts with a cpp macro named "max". |
| 89 | |
Theodore Ts'o | 169cb54 | 1998-08-01 04:33:31 +0000 | [diff] [blame] | 90 | 1998-07-26 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 91 | |
| 92 | * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H. |
| 93 | |
Theodore Ts'o | 4a5fa19 | 1998-07-09 05:42:45 +0000 | [diff] [blame] | 94 | 1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 95 | |
| 96 | * Release of E2fsprogs 1.12 |
| 97 | |
Theodore Ts'o | 0843075 | 1998-06-10 20:36:37 +0000 | [diff] [blame] | 98 | 1998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 99 | |
| 100 | * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t |
| 101 | to avoid collision with LFS API. |
| 102 | |
Theodore Ts'o | 4c77fe5 | 1998-04-30 17:35:59 +0000 | [diff] [blame] | 103 | 1998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 104 | |
| 105 | * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem |
| 106 | instead of free(). |
| 107 | (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate |
| 108 | return type for comparison functions for qsort. |
| 109 | |
Theodore Ts'o | 76f875d | 1998-04-27 01:41:13 +0000 | [diff] [blame] | 110 | 1998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 111 | |
| 112 | * resize2fs.c (adjust_superblock): |
| 113 | * extent.c (ext2fs_add_extent_entry): Update functions to |
| 114 | pass the old size of the memory to be resized to |
| 115 | ext2fs_resize_mem(). |
| 116 | |
Theodore Ts'o | d171c5b | 1998-04-03 16:07:06 +0000 | [diff] [blame] | 117 | 1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 118 | |
| 119 | * Makefile.in: Change to use new installation directory variables |
| 120 | convention. Fix uninstall rules to take $(DESTDIR) into |
| 121 | account. Remove cat8dir from the installdirs target, |
| 122 | since modern man package don't necessarily put the cat |
| 123 | directory in /usr/man/cat?. |
| 124 | |
Theodore Ts'o | 2a3013b | 1998-03-30 01:08:41 +0000 | [diff] [blame] | 125 | 1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 126 | |
| 127 | * extent.c (extent_cmp): Add const to cast to prevent -Wall warning. |
| 128 | |
| 129 | * main.c (check_mount): Rename function argument to prevent -Wall |
| 130 | warning. |
| 131 | |
Theodore Ts'o | 101c84f | 1998-03-24 16:27:11 +0000 | [diff] [blame] | 132 | 1998-03-24 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 133 | |
| 134 | * main.c (main): Check to make sure we can really resize this |
| 135 | filesystem. If there are compatible feature sets that we |
| 136 | don't support, we need to abort. |
| 137 | |
| 138 | * resize2fs.c: Change to use the new prototype required by |
| 139 | block_iterate2 (which uses blkcnt_t for the blockcount). |
| 140 | |
Theodore Ts'o | 2bc4d4f | 1998-03-21 03:27:48 +0000 | [diff] [blame] | 141 | 1998-03-20 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 142 | |
| 143 | * resize2fs.c (inode_scan_and_fix): If we are expanding the |
| 144 | filesystem, temporarily set |
| 145 | rfs->old_fs->super->s_blocks_count to ultimate size of the |
| 146 | filesystem, to avoid catching an error on the block |
| 147 | iterator. |
| 148 | |
Theodore Ts'o | ba0af75 | 1998-03-09 17:41:53 +0000 | [diff] [blame] | 149 | Mon Mar 9 12:02:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 150 | |
| 151 | * main.c: Use a local version.h file. |
| 152 | |
Theodore Ts'o | bce4979 | 1998-03-07 23:24:01 +0000 | [diff] [blame] | 153 | Sat Mar 7 18:18:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 154 | |
Theodore Ts'o | fac9c20 | 1998-03-07 23:36:45 +0000 | [diff] [blame] | 155 | * Makefile.in: Change the name of the complete source file that we |
| 156 | built (that includes resize2fs) to be |
| 157 | e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid, |
| 158 | since it's not needed. |
| 159 | |
Theodore Ts'o | 59fa369 | 1998-03-07 23:26:26 +0000 | [diff] [blame] | 160 | * main.c (main): Add copyright notice. |
| 161 | |
Theodore Ts'o | bce4979 | 1998-03-07 23:24:01 +0000 | [diff] [blame] | 162 | * resize2fs.c (blocks_to_move): Create the meta_bmap using the old |
| 163 | filesystem, not the new filesystem. |
| 164 | (get_new_block): Don't try checking the old block bitmap |
| 165 | if the block we're testing is beyond the boundaries of the |
| 166 | old filesystem. |
| 167 | |
Theodore Ts'o | 0e14f78 | 1998-02-27 06:04:23 +0000 | [diff] [blame] | 168 | Fri Feb 27 01:02:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 169 | |
| 170 | * Makefile.in: Add rule to build a static version of resize2fs. |
| 171 | Update dependency rules. |
| 172 | |
| 173 | * main.c: #include ../version.h, instead of using a hard-coded |
| 174 | version string. |
| 175 | |
Theodore Ts'o | 3b627e8 | 1998-02-24 20:24:49 +0000 | [diff] [blame] | 176 | Tue Feb 24 15:22:52 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 177 | |
| 178 | * Change the progress function to return an errcode_t; this allows |
| 179 | the progress function to return a error indicating a |
| 180 | user-requested cancel. |
| 181 | |
Theodore Ts'o | f4b2a6d | 1998-02-21 04:20:44 +0000 | [diff] [blame] | 182 | 1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu> |
| 183 | |
| 184 | * main.c (check_mount, main): Resize2fs now checks the size of the |
| 185 | partition, and uses this as a default new_size of the |
| 186 | partition if one is not specified. Resize2fs will not let |
| 187 | you resize a mounted partition. |
| 188 | |
| 189 | * resize2fs.c: Change how the progress function for the INODE_SCAN |
| 190 | pass is performed, so that the maximum size is never zero. |
| 191 | |
| 192 | * resize2fs.8.in: Updated man page. |
| 193 | |
Theodore Ts'o | a8519a2 | 1998-02-16 22:16:20 +0000 | [diff] [blame] | 194 | Mon Feb 16 17:13:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 195 | |
| 196 | * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c, |
| 197 | ext2_inode_move.c: Major reoganization of how resizing |
| 198 | works. Functions in ext2_block_move.c, and |
| 199 | ext2_inode_move.c moved into resize2fs.c. Multiple passes |
| 200 | in those two files also combined into a single inode |
| 201 | scanning pass. Made the inode table moving function |
| 202 | better handling the case where it needs to abort |
| 203 | mid-operation. When moving blocks around, made the block |
| 204 | allocation function preferentially avoid the old group |
| 205 | descriptor blocks, to make resize2fs more robust. |
| 206 | |
Theodore Ts'o | 63b44fb | 1998-02-13 22:58:18 +0000 | [diff] [blame] | 207 | Fri Feb 13 17:15:43 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 208 | |
| 209 | * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c, |
| 210 | main.c: Reorganize how the progress functions are called. |
| 211 | |
Theodore Ts'o | ca8abba | 1998-01-19 14:55:24 +0000 | [diff] [blame] | 212 | Mon Jan 19 09:12:28 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 213 | |
| 214 | * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all |
| 215 | of the ext2-specific header files are in a flat directory. |
| 216 | |
| 217 | * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, |
| 218 | resize2fs.h: Rename variables named "new" to "new_block", |
| 219 | "new_inode", or "new_loc" to avoid C++ reserved word |
| 220 | clash. |
| 221 | |
| 222 | * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, |
| 223 | sim_progress.c: Use ext2fs_get_memory(), |
| 224 | ext2fs_free_memory(), et. al., instead of malloc() and |
| 225 | free(). |
| 226 | |
| 227 | * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast |
| 228 | all assignments from void * to be compatible with C++. |
| 229 | |
| 230 | Mon Dec 29 19:09:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 231 | |
| 232 | * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c: |
| 233 | Change private to priv_data to avoid C++ namespace clash. |
| 234 | |
Theodore Ts'o | 80c0fc3 | 1997-11-03 19:46:49 +0000 | [diff] [blame] | 235 | Mon Nov 3 14:45:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 236 | |
Theodore Ts'o | 9abf59d | 1997-11-04 00:31:22 +0000 | [diff] [blame] | 237 | * resize2fs.h: Remove STDC magic, since everyone is STDC these days. |
| 238 | |
Theodore Ts'o | 80c0fc3 | 1997-11-03 19:46:49 +0000 | [diff] [blame] | 239 | * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include |
| 240 | printf statements if RESIZE2FS_DEBUG is defined. |
| 241 | |
| 242 | * main.c: Don't read in the bitmaps since resize2fs.c does that. |
| 243 | |
Theodore Ts'o | d40259f | 1997-10-20 00:44:26 +0000 | [diff] [blame] | 244 | Sun Oct 19 20:40:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 245 | |
| 246 | * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H. |
| 247 | |
Theodore Ts'o | bc75f2a | 1997-09-04 00:43:10 +0000 | [diff] [blame] | 248 | Wed Sep 3 17:31:49 1997 Theodore Y. Ts'o <tytso@edt.mit.edu> |
| 249 | |
| 250 | * resize2fs.h: Add #include for errno.h |
| 251 | |
Theodore Ts'o | 024996c | 1997-06-17 05:38:35 +0000 | [diff] [blame] | 252 | Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> |
| 253 | |
| 254 | * Release of E2fsprogs 1.11 |
| 255 | |