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