blob: a1d55917501922d40b0abb3d15d3d6b91f29823e [file] [log] [blame]
Theodore Ts'oe22d4611997-06-17 03:57:27 +00001Mon Jun 16 23:37:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2
3 * mke2fs.c (show_stats): Adjust the number of columns printed when
4 displaying the superblock backups to avoid running over
5 80 columns when making a really big disk.
6
Theodore Ts'of635d7f1997-05-09 02:50:16 +00007Thu May 8 22:22:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
8
Theodore Ts'o583ccdc1997-05-09 03:06:31 +00009 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, fsck.8.in,
10 mke2fs.8.in, tune2fs.8.in: Fix minor typos and grammer
11 oops found by Bill Hawes (whawes@star.net).
12
Theodore Ts'of635d7f1997-05-09 02:50:16 +000013 * mke2fs.c (test_disk): Pass the blocksize to the bad blocks
14 command so that all of the filesystem gets tested in the
15 case where the blocksize 2048 or 4096.
16
Theodore Ts'oa29f4d31997-04-29 21:26:48 +000017Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
18
19 * Release of E2fsprogs version 1.10
20
21Thu Apr 24 09:52:47 1997 Theodre Ts'o <tytso@localhost.mit.edu>
22
23 * mke2fs.c: Added new option -R, which specifies RAID options.
24 Currently the only supported RAID option is "stride" which
25 specifies the stripe width in RAID filesystem. This is
26 used to aid in the placement of the inode and block
27 bitmaps.
28
29 * mke2fs.8.in, tune2fs.8.in: Added warnings that the sparse
30 superblock option isn't yet supported by most kernels.
31
32Wed Apr 23 22:42:51 1997 Theodre Ts'o <tytso@localhost.mit.edu>
33
34 * mke2fs.c (PRS): Make the default filesystem revision be 0, not
35 1. (Since some people are still worried about 1.2.13
36 compatibility).
37
38Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
39
40 * Release of E2fsprogs version 1.09
41
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +000042Fri Apr 11 18:57:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
43
44 * chattr.1.in: Updated man page so that the 'A' attribute is
45 specified everywhere.
46
47 * chattr.c (usage): Added usage message for the 'A' attribute.
48
49Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
50
51 * Release of E2fsprogs version 1.08
52
Theodore Ts'o521e3681997-04-29 17:48:10 +000053Thu Apr 10 07:08:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
54
55 * dumpe2fs.c (list_desc): List the offsets of the inode and block
56 bitmaps, and the inode table. List the block boundaries
57 for the groups.
58
59Sat Apr 5 11:55:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
60
61 * tune2fs.c (main): Implement the -s flag allows the user to
62 set and reset the sparse superblock flag.
63
64 * mke2fs.c (PRS): By default generate DYNAMIC revision
65 filesystems. The -s flag controls whether or not the
66 sparse superblock flag is set.
67 (PRS): Change to allow the user to specify the true
68 maximum number of blocks per group to reflect the
69 blocksize.
70
Theodore Ts'o19c78dc1997-04-29 16:17:09 +000071Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
72
73 * Release of E2fsprogs version 1.07
74
75Thu Mar 6 17:15:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
76
77 * mke2fs.c (create_root_dir): Set the root directory's i_uid and
78 i_gid to be the real user and group id.
79
80Tue Mar 4 10:14:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
81
82 * mke2fs.c (check_plausibility): Add more intelligent error
83 messages when the device doesn't exist.
84
85Sat Mar 1 10:43:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
86
87 * fsck.c (main): Fix bug where the PATH environment variable isn't
88 set when it is unset.
89
90Tue Jan 14 12:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
91
92 * mke2fs.c (write_inode_tables): Fixed bug in write_inode_tables
93 where a loop variable was getting reused in a nested loop.
94 This caused the inode table to not be correctly
95 initialized.
96
97Thu Jan 2 00:00:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
98
99 * lsattr.c, chattr.c: Include string.h, since we use memcpy().
100
101 * findsuper.c: Use time_t for ctime(), not __u32.
102
103Sat Dec 28 23:39:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
104
105 * badblocks.c: Adapted -vv modifications from Rik Faith so that
106 they frequently update the block number field.
107
108 * badblocks.8.in: Document the optional start-block parameter
109
110Mon Oct 14 11:52:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
111
112 * mke2fs.c: Updated to use new ext2fs_allocate_tables() function.
113
114Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
115
116 * Release of E2fsprogs version 1.06
117
Theodore Ts'o5c576471997-04-29 15:29:49 +0000118Mon Oct 7 00:56:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
119
120 * chattr.1.in: Documented the 'A' (noatime) attribute.
121
122 * dumpe2fs.c (main): Change EXT2_SWAP to EXT2_FLAG_SWAP for
123 consistency's sake.
124
125Sun Sep 22 16:18:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
126
127 * chattr.c (decode_arg): Add support for the 'A' (noatime) flag.
128
129Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
130
131 * Release of E2fsprogs version 1.05
132
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000133Sat Sep 7 07:34:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
134
135 * tune2fs.c (main): Add support for new option -C, which sets the
136 current number of mounts.
137 (main): Allow the interval to be specified in seconds,
138 mostly for debugging.
139
140Tue Aug 27 17:27:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
141
142 * Makefile.in (SMANPAGES): Use @FSCK_MAN@ instead of fsck.8.
143 (SPROGS): Use @FSCK_PROG@ instead of fsck.
144
145Thu Aug 22 00:51:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
146
147 * mke2fs.c (zap_bootblock): Don't do zap_bootblock on a
148 sparc.
149
150Tue Aug 20 00:15:46 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
151
152 * chattr.c (main): Fixed bug so that chattr -v works. (Bug report
153 and fix sent by Charles Howes, chowes@eznet.ca)
154
155Fri Aug 9 11:52:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
156
157 * tune2fs.8.in:
158 * tune2fs.c: Added support for the -L option which sets the volume
159 label, the -M option which sets the last mounted
160 directory, and the -U option which sets the filesystem UUID.
161
162 * mke2fs.8.in:
163 * mke2fs.c: Added support for the -o option, which overrides the
164 creator OS. Generate a UUID for the filesystem, if
165 applicable. Added support for the -L option which sets
166 the volume label, and the -M option which sets the last
167 mounted directory.
168
169Sat Jun 22 17:43:17 1996 Remy Card <card@bbj.linux.eu.org>
170
171 * chattr.c (decode_arg): Integrated Michael Nonweiler's fix to
172 avoid a segmentation fault when the "-v" option is used
173 and no version number is specified.
174
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000175Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
176
177 * Release of E2fsprogs version 1.04
178
179Wed May 15 21:15:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
180
181 * Makefile.in (fsck): fsck doesn't need to be linked with the ext2
182 libraries.
183
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000184Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
185
186 * Release of E2fsprogs version 1.03
187
188Thu Mar 7 03:43:20 1996 <tytso@rsts-11.mit.edu>
189
190 * mke2fs.c (PRS): Add (for development only) support to
191 specify revision and inode size of the new filesystem.
192
193Tue Mar 5 03:51:35 1996 <tytso@rsts-11.mit.edu>
194
195 * mke2fs.8.in: Fix a few minor typo's in the man page.
196
197 * mke2fs.c (reserve_inodes): Add support for dynamic first inode
198 revision.
199
200Mon Feb 5 22:19:49 1996 <tytso@rsts-11.mit.edu>
201
202 * fsck.c (check_all, PRS): Added new flag -P, which turns on the
203 parallel root option. This allows you to check the root
204 filesystem in parallel with the other filesystems. Note
205 that this is not the safest thing in the world to do,
206 since if the root filesystem is in doubt things like
207 the e2fsck executable might be corrupted! But some
208 sysadmins, who don't want to repartition the root
209 filesystem to be small and compact, may really want this
210 option turned on.
211
Theodore Ts'o74becf31997-04-26 14:37:06 +0000212Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
213
214 * Release of E2fsprogs version 1.02
215
216Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu>
217
218 * mke2fs.c (check_plausibility): Add check to warn user if they
219 are trying to mke2fs the whole disk. (/dev/hda
220 vs. /dev/hda1)
221
222Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu>
223
224 * fsck.c (check_all): If we break out of the loop because we are
225 serializing and have just started at fsck we haven't
226 finished the pass. We need to go round again in case there
227 are more filesystems to be done in this pass. (Patch
228 submitted by Mike Jagdis)
229
230Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu>
231
232 * dumpe2fs.c (in_use): test_bit() was renamed to
233 ext2fs_test_bit().
234
Theodore Ts'o297f47a1997-04-26 14:25:20 +0000235Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
236
237 * fsck.c (fsck_device): Check fstype instead of type; this was a
238 stupid typo which caused coredumps in some cases.
239
Theodore Ts'oa418d3a1997-04-26 14:00:26 +0000240Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
241
242 * Makefile.in (install): Strip programs when they are installed.
243
244Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
245
246 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
247 so we do the check to see if the filesystem is mounted
248 *before* we try to determine the size of the device.
249
250Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
251
252 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
253 the same order.
254
255Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
256
257 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
258 function to determine if the device is mounted.
259
260 * mke2fs.c (PRS): Change call to use the new
261 ext2fs_get_device_size() function in order to determine
262 the size of the filesystem. Remove get_size() and
263 is_valid_offset(), which are no longer called.
264
265Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
266
267 * fsck.c (fsck_device): Make sure fstype has been set by the user
268 and that it does not begin with "no" and the user has
269 specified exactly one type before using it as the type to
270 check.
271
272Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
273
274 * badblocks.8:
275 * chattr.1:
276 * dumpe2fs.8:
277 * fsck.8:
278 * lsattr.1:
279 * mke2fs.8:
280 * mklost+found.8:
281 * tune2fs.8: Updated date and version number.
282
283Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
284
285 * tune2fs.c: Fixed a bug which prevented the use of user and group
286 names with the -g and -u options. Thanks to Jean Christophe
287 ANDRE <progfou@mycrob.cafard.freenix.fr>.
288
289 * mke2fs.8:
290 * tune2fs.8: Fixed a spelling error in Ted's name :-)
291
292Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
293
294 * mke2fs.c (count_blocks): Divide the size by
295 EXT2_BLOCK_SIZE(&param), instead of assuming that the
296 blocksize is always 1024 bytes.
297
298Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
299
300 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
301 not portable!! In any case putenv() in some systems must
302 take a static character array or malloc()'ed memory;
303 passing memory allocated using alloca() to putenv() is not
304 advisable.
305
306 * chattr.c (chattr_dir_proc):
307 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
308 alloca is not portable!
309
310 * fsck.c (fsck_device): If the filesystem type is specified by the
311 user using the -t option, let it override the type in
312 /etc/fstab.
313
314 * fsck.c (strdup): Don't build strdup() if the system defines it.
315
316Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
317
318 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
319 benefit.
320
321 * The $(UPROGS) go in bin, not sbin.
322
323 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
324 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
325
326Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
327
328 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
329 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
330
331Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
332
333 * chattr.c: Include errno.h, since we use errno
334
335 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
336 explicitly initialize filesys_info to be NULL.
337
338 * mke2fs.c: Include the stdio.h and errno.h header files
339
340Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
341
342 * mke2fs.c: Only include <linux/fs.h> if we can.
343 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
344 (check_mount): Only check to see if the device is mounted if
345 HAVE_MNTENT_H is defined (by configure).
346
347 * fsck.c (load_fs_info): Only try to get info about filesystems if
348 HAVE_MNTENT_H is defined (by configure).
349 (main): Allocate space for a new fsck_path instead of append to a
350 statically sized buffer.
351 (PRS): Use alloca to allocate the new path string, instead of
352 having a fixed size buffer (which was the wrong size anyway).
353
354 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
355 filename instead of using a fixed-size buffer.
356 * lsattr.c (lsattr_dir_proc): Ditto.
357 * mklost+fond.c (main): Calculate the actual needed size for the
358 path buffer instead of using MAXPATHLEN (which not all systems have).
359
360 * badblocks.c: Only include linux include files if we have them.
361 (flush_bufs): New function to flush a block device, optionally
362 syncing it first. This replaces other copies of this code.
363 (test_ro): Replace calls to ioctl with flush_bufs().
364 (test_rw): Ditto.
365
366 * Makefile.in: Rewritten to conform to GNU coding standards and
367 support separate compilation directories.
368
Theodore Ts'of3db3561997-04-26 13:34:30 +0000369Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
370
371 * mke2fs.c (main, zap_bootblock): Added new function
372 zap_bootblock() which clears the first 512 bytes of the
373 filesystem. This protects the filesystem from being
374 misidentified as a MS-DOS FAT filesystem.
375
376 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
377 allocated for printing the block numbers, so that the
378 display doesn't get corrupted when running badblocks on a
379 very large partition.
380
381 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
382 ext2_loff_t, so that when checking a large device,
383 spurious seek errors aren't reported.
384
385 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
386 instead of type int, so that it works for filesystems
387 greater than 2 GB. (Fortunately count_blocks is only
388 called if the device does not support the BLKGETSIZE
389 ioctl, which most do.)
390
391 * fsck.c (ignore): Add check to ignore filesystems with a pass
392 number of zero. (This check was accidentally deleted at
393 during 0.5b development.)
394
395Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
396
397 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
398 option, -S, which only writes the superblock and group
399 descriptors. Useful for recovering when all of the
400 superblocks are corrupted somehow (as a last ditch
401 measure).
402
403 Also, don't bother initializing the bitmap blocks in
404 alloc_tables(), since they will be overwritten at the end
405 anyway. (Should speed up mke2fs by a little.)
406
407Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
408
409 * fsck.c (main): Fix stupid typo where a null inst would be freed.
410
411 * fsck.c (wait_one): Check WIFEXITED on status before trying to
412 extract the exit status. In other cases, return
413 FSCK_ERROR if the back end processor exited with a signal.
414
415Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
416
417 * tune2fs.c (main): Fixed a bug which prevented the use of the
418 new options.
419 Added the `w' (week) suffix recognition in the check interval.
420
421Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
422
423 * fsck.c (load_fs_info): If the user has an obviously old
424 /etc/fstab file, issue a warning message and assume that
425 all partitions should be checked.
426
427Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
428
429 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
430 structures.
431
432 * mke2fs.c (create_root_dir): Create the root directory owned by
433 the effective uid.
434
435Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
436
437 * tune2fs.c (main.c): Added support for new options:
438 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
439
440Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
441
442 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
443
444Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
445
446 * badblocks.c (test_rw): Added verbose output like in the
447 read-only test.
448
449 (do_test and test_rw): Use the llseek system call if available.
450
451 * chattr.c: Added support for new attributes.
452
453 * lsattr.c: Added support for long format.
454
455 * mke2fs.c (usage): Fixed bogus usage message.
456
457 (valid_offset): Use the llseek system call if available.
458
459Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
460
461 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
462 where a backup superblock/group descriptor is stored. If so,
463 print a warning message and adjust the superblock counts so that
464 they are correct. (Otherwise, the bad block will get counted
465 twice and the # of free blocks count will be wrong.)
466
467 (alloc_tables): Removed code which calcualated the free block
468 statistics, which was moved to lib/ext2fs/initialize.c. This
469 allows the bad block code to adjust the group descriptor
470 statistics if necessary.