blob: 1c8dc5648769ad9cde6191987c8354d0c5209432 [file] [log] [blame]
Theodore Ts'o36caf251999-10-26 14:29:22 +000011999-10-26 <tytso@valinux.com>
2
Theodore Ts'o36b01301999-10-26 14:38:36 +00003 * get_device_by_label.c (has_right_label): Fixed bug where code
4 used a strncmp to compare a binary UUID value which may
5 contain a NULL. Fixed GCC warnings; added const to char *
6 typed variables. Eliminated non-portable use of u_char.
7
Theodore Ts'o4a600561999-10-26 14:35:51 +00008 * mke2fs.c (PRS): Fix gcc warnings; add const to some char *
Theodore Ts'o9094f281999-10-26 16:42:50 +00009 variables, including in struct mke2fs_defaults.
10 (set_fs_defaults): Changed parameter name to avoid
11 gcc warnings.
Theodore Ts'o4a600561999-10-26 14:35:51 +000012
Theodore Ts'ob5135711999-10-26 14:33:24 +000013 * fsck.c (wait_one): Fix gcc warnings; add #include for ctype.h,
14 add const to char * variables, and use NOARGS to declare
15 functions that take no arguments. Also fix a memory leak
16 in execute() where we weren't freeing argv[] after forking
17 the child process.
18
Theodore Ts'o36caf251999-10-26 14:29:22 +000019 * chattr.c: Add hack to compile in a definition for S_ISLNK so we
20 can successfully compile even with warnings turned on.
21
Theodore Ts'oad6783d1999-10-26 01:58:54 +0000221999-10-25 <tytso@valinux.com>
23
24 * mke2fs.c (show_stats): Capitalized Hurd to make the GNU types
25 happy.
Theodore Ts'oe6597041999-10-26 02:30:16 +000026 (PRS): Use __u64 instead of long long for portability
27 reasons. Also moved #include of sys/stat.h inside #ifdef
28 HAVE_LINUX_MAJOR_H for portability reasons.
Theodore Ts'oad6783d1999-10-26 01:58:54 +000029
30 * fsck.c (execute): Fix really stupid bug in the linked list
31 management which caused fsck in parallel mode to go into
32 an infinite loop.
33
Theodore Ts'o896938d1999-10-23 01:04:50 +0000341999-10-22 <tytso@valinux.com>
35
Theodore Ts'o614fdfd1999-10-23 03:19:51 +000036 * Release of E2fsprogs 1.16
37
381999-10-22 <tytso@valinux.com>
39
Theodore Ts'o896938d1999-10-23 01:04:50 +000040 * tune2fs.c (main): Add a new option -O which allows the user to
41 set and clear certain "safe" filsystem feature flags.
42 Currently, the only ones which are supported for
43 modification are sparse_superblock and filetype.
44
45 * mke2fs.c (PRS): Add new option -O which allows the user to
46 request filesystems with specific filesystem options. By
47 default on 2.2 and later systems, create filesystems that
48 have both file type information and sparse superblocks.
49
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +0000501999-10-21 <tytso@valinux.com>
51
52 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
53 fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
54 tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
55 format (bold option flags and italicized variables), as
56 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
57
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +0000581999-10-14 <tytso@valinux.com>
59
Theodore Ts'o671cbfa1999-10-20 18:14:23 +000060 * tune2fs.c (main): Fix typo (double spaces) in messages regarding
61 changing the sparse superblock option
62
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +000063 * fsck.c (wait_one): If the fsck process just started, wait a
64 second before sending a SIGUSR1, to give it a chance
65 to set the signal handler; otherwise, fsck will die on an
66 unhandled SIGUSR1.
67
681999-09-15 <tytso@valinux.com>
Theodore Ts'o76714331999-10-20 18:06:29 +000069
70 * mke2fs.c (show_stats): Fix display bug when printing out the
71 number of superblocks. Suggested by Yann Dirson.
72
Theodore Ts'o27401561999-09-14 20:11:19 +0000731999-09-08 <tytso@valinux.com>
74
75 * partinfo.c: Fix minor compilation bugs pointed out by Yann
76 Dirson.
77
78 * mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2
79 kernels.
80
81 * mke2fs.8.in: Add the possible valid block sizes for mke2fs.
82 Document the -n flag, and the new defaults for the -s
83 flag.
84
85 * dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h
86 (header-only).
87
881999-08-13 <tytso@valinux.com>
89
90 * mke2fs.c (PRS): Fix logic for turning on/off the sparse
91 superblock option.
92
931999-07-18 Theodore Ts'o <tytso@valinux.com>
Theodore Ts'o657cb971999-07-30 23:19:10 +000094
95 * Release of E2fsprogs 1.15
96
Theodore Ts'o50787ea1999-07-19 15:30:21 +0000971999-07-18 <tytso@rsts-11.mit.edu>
98
99 * mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows
100 the user to specify the how the filesystem is to be used.
101 Mke2fs now chooses the filesystem parameters automatically
102 based on the size of the filesystem and the intended use
103 of the filesystem. Add new option -n which simply goes
104 through the calculations to determine the parameters of
105 the filesystem the system would make.
106
1071999-07-18 <tytso@valinux.com>
108
109 * fsck.c, fsck.h: Add support for new option -C. This option will
110 automatically manage e2fsck processes so that they will
111 print completion/progress bars. If multiple filesystems
112 are being checked, arrange to make sure that only one
113 e2fsck process is displaying a progress bar at a time.
114
1151999-07-08 <tytso@valinux.com>
Theodore Ts'o9f10a7b1999-07-16 10:41:36 +0000116
117 * badblocks.c (do_test): Don't complain if the write error occurs
118 on a non-block boundary. This is perfectly common when
119 using blocksizes larger than 1k.
120
Theodore Ts'oc54b3c31999-07-03 07:20:06 +00001211999-07-03 <tytso@valinux.com>
Theodore Ts'o5dbb0721999-07-03 06:16:06 +0000122
123 * uuidgen.c: Add option parsing so that user can ask for either a
124 time-based UUID or a random-based UUID.
125
Theodore Ts'oc54b3c31999-07-03 07:20:06 +00001261999-07-02 <tytso@valinux.com>
Theodore Ts'o2d8defd1999-07-03 01:59:42 +0000127
128 * fsck.c: Added support for LABEL= and UUID= specifications for
129 the filesystem's device, to match what recent mount
130 programs can support. Also, close stdin when doing fsck
131 -A or when checking more than one filesystem at a time, so
132 that e2fsck doesn't try to ask interactive questions if
133 the filesystem appears to be mounted.
134
135 * get_device_by_label.c: New file added to support LABEL=foo and
136 UUID=bar type specifications.
137
Theodore Ts'o00eedba1999-07-03 00:45:58 +00001381999-07-01 <tytso@valinux.com>
139
140 * badblocks.c: Make the "done" string include enough spaces to
141 clear out a large block number.
142
Theodore Ts'oca3c3281999-06-29 14:37:35 +00001431999-06-29 <tytso@valinux.com>
144
145 * mke2fs.c (check_mount): Allow a filesystem to be made even if it
146 appears mounted if the force option is given.
147
Theodore Ts'oe72a9ba1999-06-25 15:40:18 +00001481999-06-24 <tytso@valinux.com>
149
150 * mke2fs.8.in: Fix typo in man page which caused the badblocks
151 command to not show up in the "SEE ALSO" section.
152
Theodore Ts'oe2423cc1999-06-18 00:51:31 +00001531999-05-02 <tytso@rsts-11.mit.edu>
154
155 * findsuper.c: Added documentation from aeb@cwi.nl; some minor
156 code cleanups.
157
Theodore Ts'o02e7dd91999-06-18 00:48:41 +00001581999-05-20 <tytso@rsts-11.mit.edu>
159
160 * dumpe2fs.c, dumpe2fs.8.in: Added new command-line options which
161 allow a filesystem expert to specify the superblock and
162 blocksize when opening a filesystem. This is mainly
163 useful when examining the remains of a toasted filesystem.
164
Theodore Ts'o5d45d801999-03-16 19:35:19 +00001651999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca>
166
167 * uuidgen.c, uuidgen.1.in: Created command-line utility to
168 generate UUIDs.
169
1701999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
171
172 * fsck.c (fsck_device, execute): Don't dereference a null pointer
173 when checking a filesystem not in /etc/fstab.
174
Theodore Ts'o7d5633c1999-02-09 08:14:28 +00001751999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
176
177 * fsck.c (fsck_device): Print an error message if the user passes
178 in a device or directory name which isn't found in /etc/fstab.
179 Allow the location of /etc/fstab to be overridden by
180 the FSTAB_FILE environment variable.
181
1821999-01-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
183
184 * mke2fs.c (write_inode_tables): Add kludge code so that when the
185 MKE2FS_SYNC environment variable is set, mke2fs will sync
186 every MKE2FS_SYNC block groups, while it is writing out
187 the inode tables. This is to work around a VM bug in the
188 2.0 kernel. I've heard a report that a RAID user was able
189 to trigger it even using a 2.2 kernel.
190
Theodore Ts'oee922991999-01-16 05:39:12 +00001911999-01-16 Theodore Ts'o <tytso@rsts-11.mit.edu>
192
193 * fsck.c (execute, wait_one): Modified routines so that they
194 accurately create an fsck_instance even when the noexecute
195 flag is set. This allows for accurate debugging of the
196 fsck pass structure.
197 (check_all): When the verbose flag is given twice, print
198 debugging information about when fsck is waiting for jobs
199 to finish.
200
Theodore Ts'o7953f611999-01-09 05:03:52 +00002011999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
202
Theodore Ts'o9e51eca1999-01-09 16:32:31 +0000203 * Release of E2fsprogs 1.14
204
2051999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
206
Theodore Ts'o7953f611999-01-09 05:03:52 +0000207 * fsck.8.in: Clarified and expanded the documentation for the -A
208 switch.
209
Theodore Ts'o665f7101999-01-08 13:33:39 +00002101999-01-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
211
212 * fsck.c (load_fs_info): If the pass number field is missing, it
213 needs to be treated as zero.
214
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +00002151999-01-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
216
Theodore Ts'o5515e6b1999-01-05 07:25:06 +0000217 * mke2fs.c (PRS): Allow the user to specify exactly how many
218 inodes he/she wishes.
219
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +0000220 * chattr.c, lsattr.c: Only print the version information for the
221 program if the -V option is given.
222
223 * chattr.c: Ignore symbolic links when doing a recursive descent
224 through a directory.
225
Theodore Ts'o93ab9d71999-01-02 04:04:42 +00002261999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
227
228 * fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines
229 are commented out. Also allow blank lines in the
230 /etc/fstab file.
231 (execute): In verbose mode, print the mountpount of the
232 filesystem which we are checking (user request).
233
2341998-12-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
235
236 * mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
237 compatibility with Linux 1.2.13 header files.
238
Theodore Ts'o556ad131998-12-19 08:10:58 +00002391998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
240
241 * Release of E2fsprogs 1.13
242
Theodore Ts'ocb620171998-12-08 02:21:29 +00002431998-12-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
244
245 * mke2fs.8.in: Fixed stupid typo ("Raid options are _comma_
246 seperated", instead of common separated)
247
Theodore Ts'o5a679c81998-12-03 16:40:38 +00002481998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
249
250 * Makefile.in: Updated dependencies.
251
2521998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
253
254 * fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of
255 relying on getmntent(). This has the advantage of
256 allowing us to properly handle missing pass numbers correctly.
257
Theodore Ts'o1dde43f1998-11-14 04:18:28 +00002581998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
259
260 * tune2fs.8.in: Fix minor display bug in the nroff.
261
262 * mke2fs.c (show_stats, write_inode_tables): Use the log10
263 function to calculate the display of block numbers so that
264 things look nice on an 80 character display.
265
2661998-10-12 Theodore Ts'o <tytso@rsts-11.mit.edu>
267
268 * mke2fs.c (usage): Add the sparse-super-flag to the usage
269 message.
270
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00002711998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
272
273 * Release of E2fsprogs 1.12
274
Theodore Ts'oeb5ab741998-07-04 17:47:52 +00002751998-07-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
276
277 * findsuper.c (main): Print the block group number which is now
278 being written by e2fsprogs.
279
Theodore Ts'o818180c1998-06-27 05:11:14 +00002801998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu>
281
282 * fsck.c (ignore): Remove unused variable cp.
283
284 * chattr.c (fatal_error):
285 * tune2fs.c (usage):
286 * lsattr.c (usage):
287 * dumpe2fs.c (usage):
288 * badblocks.c (usage): Remove volatile from declaration.
289
290 * fsck.c: Change use of strdup to be string_copy, since we don't
291 trust what glibc is doing with strdup. (Whatever it is,
292 it isn't pretty.)
293
2941998-06-19 Theodore Ts'o <tytso@rsts-11.mit.edu>
295
296 * mke2fs.c (PRS): Add a -V option which prints the version number
297 and exit.
298
Theodore Ts'o4bf5fbf1998-05-14 22:43:10 +00002991998-05-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
300
301 * fsck.c (ignore): Remove check for filesystems with the noauto
302 option.
303
Theodore Ts'o7e44f241998-04-01 03:16:29 +00003041998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
305
306 * Makefile.in: Change to use new installation directory variables
307 convention. Fix uninstall rules to take $(DESTDIR) into
308 account. Remove cat8dir and cat1dir from the installdirs
309 target, since modern man package don't necessarily put the
310 cat directory in /usr/man/cat?.
311
Theodore Ts'oa789d841998-03-30 01:20:55 +00003121998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
313
Theodore Ts'o3b27db91998-03-30 01:32:10 +0000314 * e2label.8.in: New man page to document the e2label function.
315
Theodore Ts'oa789d841998-03-30 01:20:55 +0000316 * e2label.c: Fix -Wall warning by making functions static.
317
3181998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
319
320 * chattr.1.in: Document that the append-only attribute may
321 only be set or cleared by the superuser.
322
323 * Update all manual pages to that the availability section is
324 up-to-date.
325
326 * e2label.8.in, tune2fs.8.in: Update manual page to state that
327 labels must be no longer than 16 characters, or they will
328 be truncated.
329
330 * e2label.c (change_label), tune2fs.c (main): If the label is
331 longer than 16 characters, print a warning message stating
332 that the label will be truncated.
333
334 * mke2fs.c (PRS): If the user specifies a filesystem size, and
335 it's larger than the apparent size of the device, print a
336 warning message and ask if the user wants to proceed.
337
Theodore Ts'obbfa3aa1998-03-21 07:12:46 +00003381998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu>
339
340 * mke2fs.c (check_plausibility): Fixed spelling typo in warning
341 message. Fixed up -Wall warnings in file.
342
Theodore Ts'oe9271681998-03-09 03:23:51 +0000343Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
344
345 * partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an
346 int.
347
Theodore Ts'o92bcc591998-02-16 22:29:34 +0000348Sun Feb 1 16:53:36 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
349
350 * badblocks.8: Update documentation to note that output format
351 of badblocks is suitable for use with e2fsck -l or
352 mke2fs -l.
353
354 * mke2fs.c (handle_bad_blocks): Fix bug so that all groups with
355 bad superblock backup blocks are printed (not just the
356 first one).
357
Theodore Ts'oca8abba1998-01-19 14:55:24 +0000358Mon Dec 1 17:01:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
359
360 * badblocks.8.in: Add documentation for the -s option.
361
Theodore Ts'o519149f1997-10-25 03:49:49 +0000362Fri Oct 24 23:37:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
363
364 * fsck.c:
365 * chattr.c: Remove #include of getopt.h, since it's not needed.
366
367 * tune2fs.c (main):
368 * lsattr.c (main):
369 * badblocks.c (main):
370 * dumpe2fs.c (main):
371 * mke2fs.c (PRS): Make the variable which getopt returns into be
372 an int, so that it won't lose on platforms where char is
373 unsigned.
374
Theodore Ts'od163b091997-10-03 17:42:28 +0000375Fri Oct 3 13:38:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
376
377 * mke2fs.c (parse_raid_opts): Make parse_raid_opts return a void,
378 to fix a -Wall warning.
379
Theodore Ts'o00e54331997-09-16 02:13:52 +0000380Mon Sep 15 22:07:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
381
382 * tune2fs.c (main):
383 * mklost+found.c (main):
384 * lsattr.c (main):
385 * dumpe2fs.c (main):
386 * chattr.c (main):
387 * badblocks.c (main): Declare main to return an int, as required.
388 Make sure main always ends with an exit(0). (Some
389 programs weren't doing this, and thus were returning a
390 random exit value.)
391
Theodore Ts'oab6b8ab1997-07-14 19:28:55 +0000392Mon Jul 14 15:27:29 1997 Theodore Y. Ts'o <tytso@mit.edu>
393
394 * e2label.c: New file contributed by Andries Brouwer which
395 provides an easy-to-use interface to modify the filesystem
396 label.
397
398 * Makefile.in (SPROGS): Add Makefile support to build e2label
399
Theodore Ts'o024996c1997-06-17 05:38:35 +0000400Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
401
402 * Release of E2fsprogs 1.11
403
Theodore Ts'oe22d4611997-06-17 03:57:27 +0000404Mon Jun 16 23:37:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
405
406 * mke2fs.c (show_stats): Adjust the number of columns printed when
407 displaying the superblock backups to avoid running over
408 80 columns when making a really big disk.
409
Theodore Ts'of635d7f1997-05-09 02:50:16 +0000410Thu May 8 22:22:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
411
Theodore Ts'o583ccdc1997-05-09 03:06:31 +0000412 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, fsck.8.in,
413 mke2fs.8.in, tune2fs.8.in: Fix minor typos and grammer
414 oops found by Bill Hawes (whawes@star.net).
415
Theodore Ts'of635d7f1997-05-09 02:50:16 +0000416 * mke2fs.c (test_disk): Pass the blocksize to the bad blocks
417 command so that all of the filesystem gets tested in the
418 case where the blocksize 2048 or 4096.
419
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000420Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
421
422 * Release of E2fsprogs version 1.10
423
424Thu Apr 24 09:52:47 1997 Theodre Ts'o <tytso@localhost.mit.edu>
425
426 * mke2fs.c: Added new option -R, which specifies RAID options.
427 Currently the only supported RAID option is "stride" which
428 specifies the stripe width in RAID filesystem. This is
429 used to aid in the placement of the inode and block
430 bitmaps.
431
432 * mke2fs.8.in, tune2fs.8.in: Added warnings that the sparse
433 superblock option isn't yet supported by most kernels.
434
435Wed Apr 23 22:42:51 1997 Theodre Ts'o <tytso@localhost.mit.edu>
436
437 * mke2fs.c (PRS): Make the default filesystem revision be 0, not
438 1. (Since some people are still worried about 1.2.13
439 compatibility).
440
441Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
442
443 * Release of E2fsprogs version 1.09
444
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000445Fri Apr 11 18:57:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
446
447 * chattr.1.in: Updated man page so that the 'A' attribute is
448 specified everywhere.
449
450 * chattr.c (usage): Added usage message for the 'A' attribute.
451
452Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
453
454 * Release of E2fsprogs version 1.08
455
Theodore Ts'o521e3681997-04-29 17:48:10 +0000456Thu Apr 10 07:08:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
457
458 * dumpe2fs.c (list_desc): List the offsets of the inode and block
459 bitmaps, and the inode table. List the block boundaries
460 for the groups.
461
462Sat Apr 5 11:55:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
463
464 * tune2fs.c (main): Implement the -s flag allows the user to
465 set and reset the sparse superblock flag.
466
467 * mke2fs.c (PRS): By default generate DYNAMIC revision
468 filesystems. The -s flag controls whether or not the
469 sparse superblock flag is set.
470 (PRS): Change to allow the user to specify the true
471 maximum number of blocks per group to reflect the
472 blocksize.
473
Theodore Ts'o19c78dc1997-04-29 16:17:09 +0000474Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
475
476 * Release of E2fsprogs version 1.07
477
478Thu Mar 6 17:15:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
479
480 * mke2fs.c (create_root_dir): Set the root directory's i_uid and
481 i_gid to be the real user and group id.
482
483Tue Mar 4 10:14:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
484
485 * mke2fs.c (check_plausibility): Add more intelligent error
486 messages when the device doesn't exist.
487
488Sat Mar 1 10:43:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
489
490 * fsck.c (main): Fix bug where the PATH environment variable isn't
491 set when it is unset.
492
493Tue Jan 14 12:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
494
495 * mke2fs.c (write_inode_tables): Fixed bug in write_inode_tables
496 where a loop variable was getting reused in a nested loop.
497 This caused the inode table to not be correctly
498 initialized.
499
500Thu Jan 2 00:00:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
501
502 * lsattr.c, chattr.c: Include string.h, since we use memcpy().
503
504 * findsuper.c: Use time_t for ctime(), not __u32.
505
506Sat Dec 28 23:39:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
507
508 * badblocks.c: Adapted -vv modifications from Rik Faith so that
509 they frequently update the block number field.
510
511 * badblocks.8.in: Document the optional start-block parameter
512
513Mon Oct 14 11:52:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
514
515 * mke2fs.c: Updated to use new ext2fs_allocate_tables() function.
516
517Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
518
519 * Release of E2fsprogs version 1.06
520
Theodore Ts'o5c576471997-04-29 15:29:49 +0000521Mon Oct 7 00:56:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
522
523 * chattr.1.in: Documented the 'A' (noatime) attribute.
524
525 * dumpe2fs.c (main): Change EXT2_SWAP to EXT2_FLAG_SWAP for
526 consistency's sake.
527
528Sun Sep 22 16:18:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
529
530 * chattr.c (decode_arg): Add support for the 'A' (noatime) flag.
531
532Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
533
534 * Release of E2fsprogs version 1.05
535
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000536Sat Sep 7 07:34:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
537
538 * tune2fs.c (main): Add support for new option -C, which sets the
539 current number of mounts.
540 (main): Allow the interval to be specified in seconds,
541 mostly for debugging.
542
543Tue Aug 27 17:27:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
544
545 * Makefile.in (SMANPAGES): Use @FSCK_MAN@ instead of fsck.8.
546 (SPROGS): Use @FSCK_PROG@ instead of fsck.
547
548Thu Aug 22 00:51:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
549
550 * mke2fs.c (zap_bootblock): Don't do zap_bootblock on a
551 sparc.
552
553Tue Aug 20 00:15:46 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
554
555 * chattr.c (main): Fixed bug so that chattr -v works. (Bug report
556 and fix sent by Charles Howes, chowes@eznet.ca)
557
558Fri Aug 9 11:52:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
559
560 * tune2fs.8.in:
561 * tune2fs.c: Added support for the -L option which sets the volume
562 label, the -M option which sets the last mounted
563 directory, and the -U option which sets the filesystem UUID.
564
565 * mke2fs.8.in:
566 * mke2fs.c: Added support for the -o option, which overrides the
567 creator OS. Generate a UUID for the filesystem, if
568 applicable. Added support for the -L option which sets
569 the volume label, and the -M option which sets the last
570 mounted directory.
571
572Sat Jun 22 17:43:17 1996 Remy Card <card@bbj.linux.eu.org>
573
574 * chattr.c (decode_arg): Integrated Michael Nonweiler's fix to
575 avoid a segmentation fault when the "-v" option is used
576 and no version number is specified.
577
Theodore Ts'o62c06f71997-04-29 14:34:47 +0000578Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
579
580 * Release of E2fsprogs version 1.04
581
582Wed May 15 21:15:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
583
584 * Makefile.in (fsck): fsck doesn't need to be linked with the ext2
585 libraries.
586
Theodore Ts'o7f88b041997-04-26 14:48:50 +0000587Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
588
589 * Release of E2fsprogs version 1.03
590
591Thu Mar 7 03:43:20 1996 <tytso@rsts-11.mit.edu>
592
593 * mke2fs.c (PRS): Add (for development only) support to
594 specify revision and inode size of the new filesystem.
595
596Tue Mar 5 03:51:35 1996 <tytso@rsts-11.mit.edu>
597
598 * mke2fs.8.in: Fix a few minor typo's in the man page.
599
600 * mke2fs.c (reserve_inodes): Add support for dynamic first inode
601 revision.
602
603Mon Feb 5 22:19:49 1996 <tytso@rsts-11.mit.edu>
604
605 * fsck.c (check_all, PRS): Added new flag -P, which turns on the
606 parallel root option. This allows you to check the root
607 filesystem in parallel with the other filesystems. Note
608 that this is not the safest thing in the world to do,
609 since if the root filesystem is in doubt things like
610 the e2fsck executable might be corrupted! But some
611 sysadmins, who don't want to repartition the root
612 filesystem to be small and compact, may really want this
613 option turned on.
614
Theodore Ts'o74becf31997-04-26 14:37:06 +0000615Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
616
617 * Release of E2fsprogs version 1.02
618
619Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu>
620
621 * mke2fs.c (check_plausibility): Add check to warn user if they
622 are trying to mke2fs the whole disk. (/dev/hda
623 vs. /dev/hda1)
624
625Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu>
626
627 * fsck.c (check_all): If we break out of the loop because we are
628 serializing and have just started at fsck we haven't
629 finished the pass. We need to go round again in case there
630 are more filesystems to be done in this pass. (Patch
631 submitted by Mike Jagdis)
632
633Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu>
634
635 * dumpe2fs.c (in_use): test_bit() was renamed to
636 ext2fs_test_bit().
637
Theodore Ts'o297f47a1997-04-26 14:25:20 +0000638Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
639
640 * fsck.c (fsck_device): Check fstype instead of type; this was a
641 stupid typo which caused coredumps in some cases.
642
Theodore Ts'oa418d3a1997-04-26 14:00:26 +0000643Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
644
645 * Makefile.in (install): Strip programs when they are installed.
646
647Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
648
649 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
650 so we do the check to see if the filesystem is mounted
651 *before* we try to determine the size of the device.
652
653Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
654
655 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
656 the same order.
657
658Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
659
660 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
661 function to determine if the device is mounted.
662
663 * mke2fs.c (PRS): Change call to use the new
664 ext2fs_get_device_size() function in order to determine
665 the size of the filesystem. Remove get_size() and
666 is_valid_offset(), which are no longer called.
667
668Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
669
670 * fsck.c (fsck_device): Make sure fstype has been set by the user
671 and that it does not begin with "no" and the user has
672 specified exactly one type before using it as the type to
673 check.
674
675Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
676
677 * badblocks.8:
678 * chattr.1:
679 * dumpe2fs.8:
680 * fsck.8:
681 * lsattr.1:
682 * mke2fs.8:
683 * mklost+found.8:
684 * tune2fs.8: Updated date and version number.
685
686Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
687
688 * tune2fs.c: Fixed a bug which prevented the use of user and group
689 names with the -g and -u options. Thanks to Jean Christophe
690 ANDRE <progfou@mycrob.cafard.freenix.fr>.
691
692 * mke2fs.8:
693 * tune2fs.8: Fixed a spelling error in Ted's name :-)
694
695Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
696
697 * mke2fs.c (count_blocks): Divide the size by
698 EXT2_BLOCK_SIZE(&param), instead of assuming that the
699 blocksize is always 1024 bytes.
700
701Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
702
703 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
704 not portable!! In any case putenv() in some systems must
705 take a static character array or malloc()'ed memory;
706 passing memory allocated using alloca() to putenv() is not
707 advisable.
708
709 * chattr.c (chattr_dir_proc):
710 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
711 alloca is not portable!
712
713 * fsck.c (fsck_device): If the filesystem type is specified by the
714 user using the -t option, let it override the type in
715 /etc/fstab.
716
717 * fsck.c (strdup): Don't build strdup() if the system defines it.
718
719Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
720
721 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
722 benefit.
723
724 * The $(UPROGS) go in bin, not sbin.
725
726 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
727 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
728
729Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
730
731 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
732 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
733
734Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
735
736 * chattr.c: Include errno.h, since we use errno
737
738 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
739 explicitly initialize filesys_info to be NULL.
740
741 * mke2fs.c: Include the stdio.h and errno.h header files
742
743Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
744
745 * mke2fs.c: Only include <linux/fs.h> if we can.
746 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
747 (check_mount): Only check to see if the device is mounted if
748 HAVE_MNTENT_H is defined (by configure).
749
750 * fsck.c (load_fs_info): Only try to get info about filesystems if
751 HAVE_MNTENT_H is defined (by configure).
752 (main): Allocate space for a new fsck_path instead of append to a
753 statically sized buffer.
754 (PRS): Use alloca to allocate the new path string, instead of
755 having a fixed size buffer (which was the wrong size anyway).
756
757 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
758 filename instead of using a fixed-size buffer.
759 * lsattr.c (lsattr_dir_proc): Ditto.
760 * mklost+fond.c (main): Calculate the actual needed size for the
761 path buffer instead of using MAXPATHLEN (which not all systems have).
762
763 * badblocks.c: Only include linux include files if we have them.
764 (flush_bufs): New function to flush a block device, optionally
765 syncing it first. This replaces other copies of this code.
766 (test_ro): Replace calls to ioctl with flush_bufs().
767 (test_rw): Ditto.
768
769 * Makefile.in: Rewritten to conform to GNU coding standards and
770 support separate compilation directories.
771
Theodore Ts'of3db3561997-04-26 13:34:30 +0000772Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
773
774 * mke2fs.c (main, zap_bootblock): Added new function
775 zap_bootblock() which clears the first 512 bytes of the
776 filesystem. This protects the filesystem from being
777 misidentified as a MS-DOS FAT filesystem.
778
779 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
780 allocated for printing the block numbers, so that the
781 display doesn't get corrupted when running badblocks on a
782 very large partition.
783
784 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
785 ext2_loff_t, so that when checking a large device,
786 spurious seek errors aren't reported.
787
788 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
789 instead of type int, so that it works for filesystems
790 greater than 2 GB. (Fortunately count_blocks is only
791 called if the device does not support the BLKGETSIZE
792 ioctl, which most do.)
793
794 * fsck.c (ignore): Add check to ignore filesystems with a pass
795 number of zero. (This check was accidentally deleted at
796 during 0.5b development.)
797
798Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
799
800 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
801 option, -S, which only writes the superblock and group
802 descriptors. Useful for recovering when all of the
803 superblocks are corrupted somehow (as a last ditch
804 measure).
805
806 Also, don't bother initializing the bitmap blocks in
807 alloc_tables(), since they will be overwritten at the end
808 anyway. (Should speed up mke2fs by a little.)
809
810Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
811
812 * fsck.c (main): Fix stupid typo where a null inst would be freed.
813
814 * fsck.c (wait_one): Check WIFEXITED on status before trying to
815 extract the exit status. In other cases, return
816 FSCK_ERROR if the back end processor exited with a signal.
817
818Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
819
820 * tune2fs.c (main): Fixed a bug which prevented the use of the
821 new options.
822 Added the `w' (week) suffix recognition in the check interval.
823
824Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
825
826 * fsck.c (load_fs_info): If the user has an obviously old
827 /etc/fstab file, issue a warning message and assume that
828 all partitions should be checked.
829
830Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
831
832 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
833 structures.
834
835 * mke2fs.c (create_root_dir): Create the root directory owned by
836 the effective uid.
837
838Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
839
840 * tune2fs.c (main.c): Added support for new options:
841 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
842
843Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
844
845 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
846
847Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
848
849 * badblocks.c (test_rw): Added verbose output like in the
850 read-only test.
851
852 (do_test and test_rw): Use the llseek system call if available.
853
854 * chattr.c: Added support for new attributes.
855
856 * lsattr.c: Added support for long format.
857
858 * mke2fs.c (usage): Fixed bogus usage message.
859
860 (valid_offset): Use the llseek system call if available.
861
862Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
863
864 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
865 where a backup superblock/group descriptor is stored. If so,
866 print a warning message and adjust the superblock counts so that
867 they are correct. (Otherwise, the bad block will get counted
868 twice and the # of free blocks count will be wrong.)
869
870 (alloc_tables): Removed code which calcualated the free block
871 statistics, which was moved to lib/ext2fs/initialize.c. This
872 allows the bad block code to adjust the group descriptor
873 statistics if necessary.