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