blob: d1b4b79514cdd7a93ec8f21528eaaa7b4db87460 [file] [log] [blame]
Theodore Ts'o058ad1c2007-06-18 18:26:50 -040012007-06-12 Theodore Tso <tytso@mit.edu>
2
3 * tune2fs.c (main): Clear the EXT2_FLAG_MASTER_SB_ONLY flag
4 because we want tune2fs changes to get written to the
5 backup blocks.
6
Theodore Ts'o5267a522007-06-04 01:49:51 -040072007-06-04 Theodore Tso <tytso@mit.edu>
8
9 * badblocks.c (main): Fix error checking of the last-block and
10 start-block arguments. (Addresses Debian Bug: #416477)
11
Brian Behlendorf21400382007-05-31 11:30:47 -0400122007-05-31 Theodore Tso <tytso@mit.edu>
13
14 * mke2fs.c (parse_extended_opts): Free allocated buf on return
15
Andreas Dilgerdcf7b092007-05-22 16:04:51 -0400162007-05-22 Theodore Tso <tytso@mit.edu>
17
Andreas Dilgerde8f3a72007-05-25 11:18:11 -040018 * mke2fs.c (PRS): Make num_inodes use an unsigned long long type
19 to avoid type warnings on 64-bit platforms.
20
21 * filefrag.c (frag_report): Fix printf type warning on 64-bit systems.
22
Andreas Dilgerdcf7b092007-05-22 16:04:51 -040023 * mke2fs.c (PRS): Add sanity check if the inode size * inode count
24 is bigger than the filesystem size.
25
Theodore Ts'o46100e32007-05-18 00:16:02 -0400262007-05-18 Theodore Tso <tytso@mit.edu>
27
Theodore Ts'o96c6a3a2007-05-18 22:06:53 -040028 * mke2fs.c (main): Save the raid stride to the superblock
29
Theodore Ts'o46100e32007-05-18 00:16:02 -040030 * blkid.c (main): Add -g option to blkid which will garbage
31 collect the cache.
32
Eric Sandeen5113a6e2007-05-08 00:10:54 -0400332007-05-07 Eric Sandeen <sandeen@redhat.com>
34
35 * mke2fs.c (PRS): Make defaults more sane when /etc/mke2fs.conf
36 doesn't exist.
37
Andreas Dilgerf331acb2007-04-07 15:39:50 -0400382007-04-07 Theodore Tso <tytso@mit.edu>
39
40 * util.c (figure_journal_size): Allow the journal size to be up to
41 10,240,000 blocks, but no more half the size of the
42 filesystem.
43
Theodore Ts'o52a07932007-04-02 18:42:59 -0400442007-04-02 Theodore Tso <tytso@mit.edu>
45
46 * badblocks.8.in: Document the -X flag.
47 (Addresses Debian Bug: #379695)
48
Brian Behlendorf12f8ff42007-03-28 09:48:07 -0400492007-03-28 Theodore Tso <tytso@mit.edu>
50
Brian Behlendorf45415c22007-03-28 09:50:33 -040051 * util.c (parse_journal_opts): Fix memory leak
52
Brian Behlendorf12f8ff42007-03-28 09:48:07 -040053 * fsck.c (execute): Fix memory leak on error paths
54
Brian Behlendorf248c2f92007-03-21 19:16:33 -0400552007-03-21 Theodore Tso <tytso@mit.edu>
56
Brian Behlendorfd7eee822007-03-21 19:16:52 -040057 * e2image.c (output_meta_data_blocks, write_raw_image_file): Fix
58 memory leak.
Brian Behlendorf248c2f92007-03-21 19:16:33 -040059
Brian Behlendorfe0661502007-03-19 08:25:38 -0400602007-03-19 Theodore Tso <tytso@mit.edu>
61
62 * mke2fs.c (PRS): Fix deadcode bug detected by Coverity where if
63 the fs_type is not specified and we are creating a journal
64 device, to use a fs_type of "journal"; this used to be the
65 behavior before we added support for the /etc/mke2fs.conf
66 file, so let's fix it to restore the old behavior.
67
Theodore Ts'oa6d83022006-12-26 03:38:07 -0500682006-12-22 Theodore Tso <tytso@mit.edu>
69
70 * tune2fs.c, mke2fs.c, e2initrd_helper.c, e2image.c, dumpe2fs.c:
71 Use the new {add,remove}_error_table comerr interfaces
72 instead of initialize_*_error_table.
73
74 * Makefile.in: Link in prof_err.o into mke2fs.
75
Theodore Ts'o017a76e2006-11-17 23:00:19 -0500762006-11-17 Theodore Tso <tytso@mit.edu>
77
78 * badblocks.c (exclusive_usage): Print the program name in the
79 exclusive usage() and don't print the full usage message
80 if the user specifies -n and -w options simultaneously.
81
Theodore Ts'o642935c2006-11-14 23:38:17 -0500822006-11-14 Theodore Tso <tytso@mit.edu>
83
84 * mke2fs.c (PRS): Always allocate the replacement PATH environment
85 passed to putenv() to avoid gcc -Wall warning. Fix signed
86 vs unsigned warning.
87
88 * filefrag.c: Fix signed vs. unsigned gcc -Wall warning
89
90 * chattr.c (usage, fatal_error): Rework functions to avoid gcc
91 -Wall complaints.
92
Theodore Ts'od8b5f772006-11-12 23:09:03 -0500932006-11-12 Theodore Tso <tytso@mit.edu>
94
Theodore Ts'ocf8272e2006-11-12 23:26:46 -050095 * dumpe2fs.c (main): Open filesystems with the SOFTSUPP flag, to
96 make easier to work on filesystem features that are still
97 under development.
98
Theodore Ts'od8b5f772006-11-12 23:09:03 -050099 * badblocks.c (exclusive_usage): Add an explicit usage message
100 explaining to the user that the -n and -w message may not
101 be specified at the same time. (Addresses Debian Bug:
102 #371869)
103
Theodore Ts'o8ade4792006-11-08 00:41:50 -05001042006-11-08 Theodore Tso <tytso@mit.edu>
105
106 * mke2fs.c (test_disk): Change the last_block argument passed to
107 the badblocks program to be consistent with the change to
108 badblocks.
109
Theodore Ts'ob290d2d2006-10-18 00:31:11 -04001102006-10-18 Theodore Tso <tytso@mit.edu>
111
112 * mke2fs.c: Fix revision 0 error checking so that it doesn't give
113 a spurious error when the user gives a command-line option
114 of "-O none". (Addresses Debian bug: #392107). Add
115 error checking so that "-r 0 -j", "-r 0 -s 1", and
116 "-r 0 -E resize=XXX" will print an explanatory error
117 message and abort.
118
Theodore Ts'o8938ce62006-10-03 23:35:57 -04001192006-10-03 Theodore Tso <tytso@mit.edu>
120
121 * badblocks.c: Fix the interpretation of the last_block parameter
122 on the command line, and adjust the last block count
123 displays in the progress messages.
124 (Addresses Debian Bug #386475)
125
Theodore Ts'od49db192006-10-02 08:31:54 -04001262006-10-02 Theodore Tso <tytso@mit.edu>
127
128 * util.c (figure_journal_size): Increase the smallest default
129 journal size from 1024 to 1400 to make sure it is big
130 enough for on-line resizing.
131
Theodore Ts'occe2f492006-10-01 22:18:08 -04001322006-10-01 Theodore Tso <tytso@mit.edu>
133
134 * Makefile.in (DEPLIBBLKID): Use DEPLIBBLKID not LIBBLKID to
135 define the dependencies used by the blkid library.
136
Theodore Ts'o8153d1c2006-10-01 21:14:37 -04001372006-09-29 Theodore Tso <tytso@mit.edu>
138
139 * Makefile.in: Fix makefile so that it is robust if the e2fsck
140 directory hasn't been built yet. (Addresses Sourceforge
141 bug #1565561)
142
Eric Sandeenbb1a46a2006-09-12 14:55:22 -04001432006-08-30 Eric Sandeen <esandeen@redhat.com>
144
Eric Sandeend1b4b852006-09-12 14:56:18 -0400145 * mke2fs.c (PRS): Avoid overflow in megs calculation.
146
1472006-08-30 Eric Sandeen <esandeen@redhat.com>
148
Eric Sandeenf3358642006-09-12 14:56:17 -0400149 * mke2fs.c (PRS): Disallow > 2^32 inodes at mkfs time.
150
1512006-08-30 Eric Sandeen <esandeen@redhat.com>
152
Eric Sandeenabf23432006-09-12 14:56:16 -0400153 * dumpe2fs.c (list_desc): Use new inlines to calculate group
154 first & last blocks.
155
1562006-08-30 Eric Sandeen <esandeen@redhat.com>
157
Eric Sandeend0ff90d2006-09-12 14:56:15 -0400158 * dumpe2fs.c (list_bad_blocks):
159 * e2image.c (output_meta_data_blocks, write_raw_image_file):
160 * mke2fs.c (test_disk, handle_bad_blocks): Fix printf formats.
161
1622006-08-30 Eric Sandeen <esandeen@redhat.com>
163
Eric Sandeen62c6d142006-09-12 14:56:12 -0400164 * e2image.c (mark_table_blocks): Remove unused first_block
165 incrementing from loop.
166
1672006-08-30 Eric Sandeen <esandeen@redhat.com>
168
Eric Sandeenbb1a46a2006-09-12 14:55:22 -0400169 * dumpe2fs.c (list_desc, mark_table_blocks): Avoid overflows when
170 iterating over group descriptors on very large
171 filesystems.
172
173 * e2image.c (mark_table_blocks): Change block group loop to use a
174 common pattern of first_block/last_block, etc.
175
Theodore Ts'o9a85c2a2006-09-12 02:33:08 -04001762006-09-12 Theodore Tso <tytso@mit.edu>
177
178 * tune2fs.8.in, uuidgen.1: Fix minor grammar problems. Addresses
179 Debian Bug #373004)
180
Theodore Ts'o69022e02006-08-30 01:57:00 -04001812006-08-30 Theodore Tso <tytso@mit.edu>
182
Theodore Ts'oa8862d92006-08-30 03:08:13 -0400183 * tune2fs.c (main), mke2fs.c (PRS): Use e2p_percent to properly
184 calculate the number of reserved blocks without worrying
185 about overflow.
186
Theodore Ts'o57d7bb72006-08-30 02:06:41 -0400187 * Makefile.in (resize2fs): Remove unused (and bogus) resize2fs
188 rule, which shouldn't be in misc/Makefile.in
189
Theodore Ts'o69022e02006-08-30 01:57:00 -0400190 * mke2fs.c (parse_extended_opts): Use ext2fs_div_ceil() instead of
191 a using an open-coded expression which was subject to
192 overflows.
193
194 * filefrag.c (div_ceil, frag_report): Fix potential overflow for
195 really big filesystems.
196
Andreas Dilger42fef8d2006-08-06 00:56:37 -04001972006-08-06 Theodore Tso <tytso@mit.edu>
198
199 * findsuper.c (main): Improve findsuper program by printing the
200 uuid and label from the superblocks, as well as the
201 starting and ending offsets of the filesystem given the
202 information in the superblock. Omit by default printing
203 superblocks that are likely found in located in an ext3
204 journal unless an explicit -j option is given.
205
Andreas Dilger8fe81a32006-08-05 18:50:22 -04002062006-08-05 Theodore Tso <tytso@mit.edu>
207
Andreas Dilgerc16e6102006-08-05 19:05:53 -0400208 * mke2fs.c (PRS), util.c (check_mount): In order to force mke2fs
209 to create a filesystem even though it appears to be in use
210 or mounted, the -F (force) flag must be specified twice.
211
Andreas Dilger8fe81a32006-08-05 18:50:22 -0400212 * filefrag.c: Change EXT3_EXTENTS_FL to EXT4_EXTENTS_FL
213
Theodore Ts'oe71be1c2006-07-15 21:55:33 -04002142006-07-15 Theodore Tso <tytso@mit.edu>
215
Andreas Dilger067911a2006-07-15 22:08:20 -0400216 * mke2fs.c (PRS): Look up the default inode size in the
217 mke2fs.conf file.
218
219 * mke2fs.8.in, mke2fs.c(usage): Document the -I option.
220
221 * mke2fs.conf.5.in: Document the inode_size relation in [defaults]
222 and [fs_types].
223
Theodore Ts'oe71be1c2006-07-15 21:55:33 -0400224 * chattr.1.in: Fix spelling typo
225
Theodore Ts'o9c07dc02006-05-29 11:06:16 -04002262006-05-29 Theodore Tso <tytso@mit.edu>
227
228 * filefrag.c: Add support for ancient Linux systems that do not
229 support the LFS api.
230
Theodore Ts'o364f9412006-05-28 23:26:14 -04002312006-05-28 Theodore Tso <tytso@mit.edu>
232
233 * mke2fs.8.in (types): Clarify -T option description.
234
Theodore Ts'o9447f382006-05-22 17:59:37 -04002352006-05-22 Theodore Tso <tytso@mit.edu>
236
Theodore Ts'oc175ead2006-05-22 22:15:18 -0400237 * mke2fs.conf: Make new filesystems with the following features
238 by default: dir_index and resize_inode.
239
Theodore Ts'o9447f382006-05-22 17:59:37 -0400240 * mke2fs.conf.5.in: Fix spelling mistakes (Addresses Debian Bug:
241 #368394)
242
Theodore Ts'of51d0ef2006-05-14 17:30:51 -04002432006-05-14 Theodore Tso <tytso@mit.edu>
244
Theodore Ts'oe0f72cf2006-05-14 18:09:12 -0400245 * tune2fs.8.in: Clarify how the -c and -C options work.
246
Theodore Ts'of51d0ef2006-05-14 17:30:51 -0400247 * tune2fs.c (parse_tune2fs_options): Don't give a confusing error
248 message if the user specifies an check time interval
249 greater than a year; it's probably a bad idea, but it's
250 not worth it to complain.
251
Theodore Ts'of63978a2006-05-13 09:25:47 -04002522006-05-13 Theodore Tso <tytso@mit.edu>
253
254 * mke2fs.c (test_disk): Pass the private option -X to badblocks so
255 that mke2fs -cc works again. (Addresses Debian bug:
256 #366017)
257
258 * badblocks.c (main, check_mount): Add a private option, -X, which
259 is only intended for use by mke2fs and e2fsck to signal
260 that it's OK to skip the EXT2_MF_BUSY test since mke2fs
261 and e2fsck already have the block device opened
262 exclusively (and therefore no one else does).
263
Theodore Ts'of5fa2002006-05-08 20:17:26 -04002642006-05-08 Theodore Tso <tytso@mit.edu>
265
266 * mke2fs.c (write_inode_tables, setup_lazy_bg, main): Add support
267 for the COMPAT_LAZY_BG feature. This is currently
268 intended for debugging purposes only, as a way to create
269 very large filesystems stored on sparse files for testing
270 purposes.
271
272 * dumpe2fs.c (list_desc): Print out the block group flags if they
273 are set.
274
Theodore Ts'o40198dd2006-04-22 04:49:09 -04002752006-04-22 Theodore Ts'o <tytso@mit.edu>
276
277 * filefrag.c: Make filefrag 32-bit clean, so that it works on
278 filesystems > 8TB.
279
Theodore Ts'o6515a6f2006-03-29 14:03:07 -05002802006-03-29 Theodore Ts'o <tytso@mit.edu>
281
282 * dumpe2fs.c (print_inline_journal_information): Print the size of
283 the journal.
284
Theodore Ts'od3cb5e52006-03-27 12:16:30 -05002852006-03-27 Theodore Ts'o <tytso@mit.edu>
286
287 * badblocks.8.in: Fix typo's in man page. (Addresses Debian Bug:
288 #357951)
289
Theodore Ts'o3024d882006-03-27 11:53:00 -05002902006-03-27 root <tytso@mit.edu>
291
292 * mke2fs.8.in, tune2fs.8.in: Add note to man page explaning that
293 shared journals are not currently supported. (Addresses
294 Debian Bug: #316040)
295
Theodore Ts'o917cb462006-03-27 01:10:17 -05002962006-03-27 Theodore Ts'o <tytso@mit.edu>
297
298 * Makefile.in: Make sure $(DESTDIR)/usr/share/man/man5 exists when
299 installing the man page. Make sure the compressed version
300 of the man pages are deleted when installing the man
301 pages.
302
Theodore Ts'o9dc6ad12006-03-23 22:00:01 -05003032006-03-23 Theodore Ts'o <tytso@mit.edu>
304
Theodore Ts'ofcadc8c2006-03-23 22:37:02 -0500305 * mklost+found.c (main): Use a larger counter field so that we can
306 create enough directory entries that we can make a full
307 lost+found directory with larger block sizes.
308
Theodore Ts'o9dc6ad12006-03-23 22:00:01 -0500309 * mke2fs.conf, mke2fs.conf.5.in: New configuration file which when
310 installed, provides mke2fs's old behaviour. It makes it
311 easier for distributions to change which filesystem
312 options are the default.
313
314 * mke2fs.8.in: Update man page to document how the filesystem
315 features are now set.
316
317 * mke2fs.c: Radically rework how the filesystem features are set
318 when creating filesystems. Use the profile library to
319 read in a configuration file from /etc/mke2fs.conf.
320
321 * util.c (figure_journal_size): If the journal size is 0, assume
322 the journal size is unspecified and figure out the
323 approriate journal size instead of bombing out with an
324 error message.
325
326 * Makefile.in: Build and install the mke2fs.conf(5) man page. Add
327 profile.o from the e2fsck directory to mke2fs executable.
328 Install the configuration file /etc/mke2fs.conf.
329
Theodore Ts'o616059b2006-03-18 20:02:05 -05003302006-03-18 Theodore Ts'o <tytso@mit.edu>
331
Takashi Sato8deb80a2006-03-18 21:43:46 -0500332 * dumpe2fs.c, e2image.c, findsuper.c, mke2fs.c: Change printf
333 statements to use %u instead of %d when printing block
334 numbers.
335
Theodore Ts'o616059b2006-03-18 20:02:05 -0500336 * mke2fs.c (main): Open the filesystem in exclusive mode while we
337 are initializing it.
338
Theodore Ts'o1aa3d562005-12-31 01:04:40 -05003392005-12-31 Theodore Ts'o <tytso@mit.edu>
340
341 * chattr.1.in: Add notes in the man page to make sure the reader
342 refers to the BUGS AND LIMITATIONS section so that even an
343 idiot will be able to see that some of these attributes
344 are not yet implemented. (Addresses Debian Bug: #312515)
345
Theodore Ts'o9b9a7802005-12-10 21:50:30 -05003462005-12-10 Theodore Ts'o <tytso@mit.edu>
347
348 * dumpe2fs.c, e2image.c, filefrag.c, mke2fs.c: Fix various gcc
349 -Wall complaints.
350
Theodore Ts'ofb733f82005-12-09 18:42:30 -05003512005-12-09 Theodore Ts'o <tytso@mit.edu>
352
353 * mke2fs.8.in: Add more text describing the mke2fs -T option.
354 (Addresses Debian Bug #316811)
355
Theodore Ts'oa5198362005-11-12 23:41:08 -05003562005-11-12 Theodore Ts'o <tytso@mit.edu>
357
358 * fsck.8.in: Add additional fsck.* programs to the SEE ALSO
359 section. Fix missing commas in list. (Addresses Debian
360 Bug #329859)
361
Theodore Ts'o5f51d1c2005-09-24 18:28:00 -04003622005-09-24 Theodore Ts'o <tytso@mit.edu>
363
Theodore Ts'o6a7075d2005-09-24 18:47:39 -0400364 * mke2fs.8.in: Fix mke2fs man page to properly document the fact
365 that mke2fs -L takes an argument. (Addresses Debian Bug
366 #322188)
367
Theodore Ts'o5f51d1c2005-09-24 18:28:00 -0400368 * badblocks.c: Add extra spaces when printing the "done" message
369 to clear out the block number to fix a display corruption
370 when the -s option is used to display the progress of the
371 test. (Addresses Debian Bug #322231)
372
Andreas Dilgerce911142005-07-06 11:50:08 -05003732005-07-05 Theodore Ts'o <tytso@mit.edu>
374
375 * tune2fs.c, mke2fs.c: Allow fractional percentages when
376 specifying the reserved ratio. (Addresses Debian Bug
377 #80205).
378
Theodore Ts'o1f965c82005-06-30 20:06:45 -04003792006-06-30 Theodore Ts'o <tytso@mit.edu>
380
381 * Release of E2fsprogs 1.38
382
Theodore Ts'o675b79c2005-06-30 20:00:41 -04003832005-06-30 Theodore Ts'o <tytso@mit.edu>
384
385 * mke2fs.c (PRS): Do not support filesystems with more 2**31-1
386 blocks, since there may be kernel bugs with such
387 filesystems.
388
Theodore Ts'od9781ce2005-06-26 22:16:21 -04003892005-06-26 Theodore Ts'o <tytso@mit.edu>
390
391 * tune2fs.8.in: Fix minor typos pointed out by Benno Schulenberg.
392
Theodore Ts'ob7c1d202005-06-20 08:26:50 -04003932005-06-20 Theodore Ts'o <tytso@mit.edu>
394
Theodore Ts'obb145b02005-06-20 08:35:27 -0400395 * partinfo.c: Add ioctl definition for BLKGETSIZE so it can be
396 compiled cleanly.
397
398 * findsuper.c: Fix up comments for grammar.
399
400 * dumpe2fs.c (print_journal_information), partinfo.c (main): Add
401 missing _() so all strings can be internationalized.
402
403 * badblocks.c (main), mke2fs.c (parse_extended_opts, PRS),
404 partinfo.c (main), tune2fs.c (usage): Clean up printed
405 messages for grammar and consistency.
406
Theodore Ts'ob7c1d202005-06-20 08:26:50 -0400407 * e2image.8.in: Clean up e2image man page, mostly based on
408 suggestions from Benno Schulenberg.
409
Theodore Ts'od7febfa2005-06-16 14:10:55 -04004102005-06-16 Theodore Ts'o <tytso@mit.edu>
411
412 * mke2fs.c (PRS): Fix missing close parenthesis from bad inode
413 ratio error message.
414
Theodore Ts'o15f50512005-06-05 16:46:19 -04004152005-06-05 Theodore Ts'o <tytso@mit.edu>
416
417 * blkid.8.in: Minor spelling fix.
418
Theodore Ts'o2fa8f372005-06-05 16:05:22 -04004192005-05-29 Theodore Ts'o <tytso@mit.edu>
420
421 * util.c (check_mount): Check the new EXT2_MF_BUSY flag to
422 see if the device is in use by the system.
423
424 * badblocks.c (check_mount): Check the new EXT2_MF_BUSY flag to
425 see if the device is in use by the system. (Works only
426 for Linux 2.6 systems, addresses Debian Bug #308594).
427
Theodore Ts'o8198e792005-05-20 23:10:35 -04004282005-05-20 Theodore Ts'o <tytso@mit.edu>
429
430 * filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ
431 ioctls return an integer, not an unsigned long. Fix this
432 to avoid problems on 64-bit platforms where the size of an
433 integer != the size of a long. (Addresses Debian Bug
434 #309655)
435
Theodore Ts'of35fd3d2005-05-09 16:22:17 -04004362005-05-09 Theodore Ts'o <tytso@mit.edu>
437
Theodore Ts'o7e69ba22005-05-09 22:25:39 -0400438 * util.c (figure_journal_size): Change the default journal size to
439 be bigger for larger filesystems, given modern memory
440 sizes. Now, for filesystems greater than 4GB, we use a
441 journal of 128 MB instead 32 MB.
442
Theodore Ts'of35fd3d2005-05-09 16:22:17 -0400443 * tune2fs.c (main): Fix grammar in message printed when setting
444 the check interval (tune2fs -i)
445
446 * chattr.c: Fix case on usage message.
447
Theodore Ts'oc37543d2005-05-07 13:32:47 -04004482005-05-07 Theodore Ts'o <tytso@mit.edu>
449
450 * blkid.c (main): Use the new functions blkid_dev_set_search() and
451 blkid_dev_has_tag(). Remove compare_search_type() since
452 it has been obseleted by blkid_dev_has_tag().
453
Theodore Ts'oed6acfa2005-05-07 17:06:27 -0400454 * blkid.c (main): Add a new flag, -l, which will use a more
455 efficient method to find the device that matches a
456 particular tag specifier.
457
Theodore Ts'o0af8c332005-05-06 00:10:52 -04004582005-05-06 Theodore Ts'o <tytso@mit.edu>
459
460 * blkid.c (main): Use an int instead of an char to store the
461 return value from getopt() for better portability on
462 systems where char types are unsigned. (Addresses
463 Sourceforge Bug: #1180585)
464
Theodore Ts'obfd97622005-05-05 22:55:20 -04004652005-05-05 Theodore Ts'o <tytso@mit.edu>
466
Theodore Ts'of37ab682005-05-05 23:15:55 -0400467 * badblocks.c (main), mke2fs.c (PRS): Fix error messages by
468 substituting "bad" with "invalid" to avoid confusion with
469 "bad blocks". Thanks to Benno Schulenberg for the patch.
470 (Addresses Sourceforge Bug: #1189803)
471
472 * mke2fs.c (test_disk): Fix grammatical error in error message.
473 Thanks to Benno Schulenberg.
474
475 * mke2fs.c (parse_extended_opts): Print the invalid stride
476 parameter in the error message. Thanks to Benno
477 Schulenberg.
478
479 * fsck.8.in: Fix a few spelling/grammatical errors. Thanks to
480 Benno Schulenberg.
481
Theodore Ts'obfd97622005-05-05 22:55:20 -0400482 * filefrag.c (frag_report): Fix so that when the first block to be
483 found is an indirect block, we don't falsely count an
484 extra discontinuity. (Addresses Debian Bug: #307607)
485
Theodore Ts'o81393672005-04-16 14:05:09 -04004862005-04-16 Theodore Ts'o <tytso@mit.edu>
487
488 * badblocks.8.in, dumpe2fs.8.in, fsck.8.in, tune2fs.8.in: Fix
489 spelling mistakes in man pages. (Addresses Debian Bugs:
490 #304591, #304592, #304594, #304597)
491
Theodore Ts'obcf5aea2005-04-09 00:33:21 -04004922005-04-09 Theodore Ts'o <tytso@mit.edu>
493
Theodore Ts'oa4897d42005-04-09 01:24:04 -0400494 * filefrag.c (frag_report): Don't abort filefrag if
495 EXT3_IOC_GETFLAGS ioctl is not supported, so that filefrag
496 can work on non-ext2/3 filesystems, as advertised.
497 (Addresses Debian Bug: #303509)
498
Theodore Ts'obcf5aea2005-04-09 00:33:21 -0400499 * mke2fs.8.in: Fix minor spelling typo. (Addresses SourceForge
500 Bug #1177804)
501
Theodore Ts'oe27b4562005-03-21 01:02:53 -05005022005-03-21 Theodore Ts'o <tytso@mit.edu>
503
Theodore Ts'ofd4b28e2005-03-21 22:37:03 -0500504 * Release of E2fsprogs 1.37
505
5062005-03-21 Theodore Ts'o <tytso@mit.edu>
507
Theodore Ts'oe27b4562005-03-21 01:02:53 -0500508 * mke2fs.c (create_root_dir): Call ext2fs_write_new_inode() instead of
509 ext2fs_write_inode().
510
Theodore Ts'o63253942005-03-19 01:13:22 -05005112005-03-19 Theodore Ts'o <tytso@mit.edu>
512
513 * mke2fs.c (show_stats): Use the new e2p_os2string() function
514
Theodore Ts'o3d16b3f2005-03-18 20:37:45 -05005152005-03-18 Theodore Ts'o <tytso@mit.edu>
516
517 * filefrag.c (frag_report): Automatically detect files that are
518 stored using the new experimental file fragments format,
519 and use the non-ext2 algorithm for determing the number of
520 extents. Avoid reporting a false discontinuity if there
521 is a non-allocated block (or extent) at the beginning of
522 the file.
523
Theodore Ts'o3eee5e92005-02-05 18:26:03 -05005242006-02-05 Theodore Ts'o <tytso@mit.edu>
525
526 * Release of E2fsprogs 1.36
527
Theodore Ts'o7f1faaa2005-02-04 09:50:41 -05005282005-02-04 Theodore Ts'o <tytso@mit.edu>
529
530 * filefrag.c (frag_report): In verbose mode, print the first and
531 last block numbers; may be useful for some folks.
532
Theodore Ts'o07f031f2005-02-03 20:38:52 -05005332005-02-03 Theodore Ts'o <tytso@mit.edu>
534
535 * tune2fs.c: Define _XOPEN_SOURCE to be 500 to fix compilation
536 problems on Solaris.
537
Theodore Ts'oea774312005-01-28 11:45:28 -05005382005-01-28 Theodore Ts'o <tytso@mit.edu>
539
540 * mke2fs.c (main): Only call create_resize_inode if the resize
541 feature is actually enabled.
542
Theodore Ts'o20953122005-01-27 19:07:26 -05005432005-01-27 Theodore Ts'o <tytso@mit.edu>
544
Theodore Ts'o18d12962005-01-27 19:51:47 -0500545 * blkid.c (main, compare_search_type): Make blkid -t work more
546 consistently when the blkid cache file is explicitly set
547 to /dev/null. (Addresses Debian Bug #292425)
548
Theodore Ts'o84302032005-01-27 19:12:05 -0500549 * mke2fs.c (PRS): Don't use a blocksize greater than 4k, even on
550 2.6 kernels, unless explicitly requested by the user; not
551 all 2.6 kernels (includeing stock 2.6 kernels as of this
552 writing) don't support blocksizes > 4k.
553
Theodore Ts'o20953122005-01-27 19:07:26 -0500554 * mke2fs.c (PRS): If the device size is too big to be expressed
555 using a 1k blocksize, retry with a 4k blocksize.
556 (Addresses Sourceforge bug #1106631)
557
Theodore Ts'o79fc2a92005-01-26 11:37:46 -05005582005-01-26 Theodore Ts'o <tytso@mit.edu>
559
Theodore Ts'of923bf22005-01-26 13:03:55 -0500560 * Makefile.in (uninstall): Make sure "make uninstall" removes
561 everything installed by the makefile.
562
Theodore Ts'o79fc2a92005-01-26 11:37:46 -0500563 * e2image.c (scramble_dir_block): Make sure the unused space
564 in the '.' and '..' directory entries are cleared when
565 e2image -rs is specified.
566
Theodore Ts'ofbc35142005-01-24 23:45:56 -05005672005-01-24 Theodore Ts'o <tytso@mit.edu>
568
569 * tune2fs.8.in: Clarified man page about the -c option.
570
Theodore Ts'o89092922005-01-21 19:11:05 -05005712005-01-21 Theodore Ts'o <tytso@mit.edu>
572
573 * blkid.c (main): Make blkid -t display all devices that match the
574 specified criteria, not just the first one. (Addresses
575 Debian Bug #290530)
576
Theodore Ts'o0aa0e0c2005-01-20 17:37:01 -05005772005-01-20 <tytso@snap.thunk.org>
578
579 * filefrag.c (frag_report): Fix filefrag so that it works
580 correctly with sparse files; unallocated blocks should not
581 be treated as a discontinuity.
582
Theodore Ts'oc6cdada2005-01-19 19:30:01 -05005832005-01-19 Theodore Ts'o <tytso@mit.edu>
584
585 * mke2fs.c (show_stats, set_os): Interpret OS Creator values for
586 FreeBSD and Lites.
587
Theodore Ts'od851ed32005-01-19 00:26:43 -05005882005-01-18 Theodore Ts'o <tytso@mit.edu>
589
590 * e2image.c, e2image.8.in: Add support for the -s option which
591 scrambles directory entries for raw image files.
592
Theodore Ts'o92904042005-01-17 14:32:20 -05005932005-01-17 Theodore Ts'o <tytso@mit.edu>
594
Theodore Ts'o32237012005-01-17 19:13:39 -0500595 * tune2fs.c: On Solaris, defining _XOPEN_SOURCE inexplicably
596 causes struct timeval to be undefined, breaking system
597 header files left and right. But glibc requires
598 _XOPEN_SOURCE in order for strptime() to be defined. So
599 don't define _XOPEN_SOURCE on Solaris systems.
600
Theodore Ts'o92904042005-01-17 14:32:20 -0500601 * filefrag.c (frag_report): Applied patch from Francois Petillon
602 (fantec at proxad.net) to avoid a file descriptor leak.
603
Theodore Ts'o22ba4c12005-01-06 14:05:17 -05006042005-01-06 Theodore Ts'o <tytso@mit.edu>
605
Theodore Ts'oc76564a2005-01-06 14:48:59 -0500606 * badblocks.c (alarm_intr): Increase the number of spaces reserved
607 for printing block numbers, so we can correctly display
608 block numbers numbers greater than 999,999,999.
609 (Addresses SourceForge bug #1016163)
610
Theodore Ts'o22ba4c12005-01-06 14:05:17 -0500611 * tune2fs.c (main): When specifying the number of reservered
612 blocks that can only be allocated by root, enforce a 50%
613 limit so that the user can't accidentally make a
614 superblock which e2fsck will think is insane.
615
Theodore Ts'o55f4cbd2005-01-05 03:01:06 -05006162005-01-05 Theodore Ts'o <tytso@mit.edu>
617
Theodore Ts'o22dcccd2005-01-05 13:43:29 -0500618 * fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
619 e2fsprogs-1.35-11.2. Fixed multiple command-line parsing
620 bugs so that backwards compatibility is maintained, and so
621 that certain command-line options wouldn't be ignored.
622
Theodore Ts'oc6a44132005-01-05 11:12:20 -0500623 * mke2fs.c (parse_extended_opts): Rename the -R option to -E. Fix
624 the resize= raid/extended option so it actually works.
625 (The patch from Fedora e2fsprogs-1.35-11.2 claimed it
626 worked, but it was a placebo option, despite the claim
627 that it worked in the usage message.)
628
Theodore Ts'o6e82cd72005-01-05 03:02:54 -0500629 * e2initrd_helper.c: Fix gcc -Wall nits.
630
631 * e2image.c (main): Fix gcc -Wall nits. Fix e2image so that
632 e2image -I has an exit code of 0 when it is successful.
633
Theodore Ts'o55f4cbd2005-01-05 03:01:06 -0500634 * mke2fs.c (PRS, parse_r_opts): Use parse_num_blocks() from the
635 e2p library to parse the number of blocks from the command
636 line.
637
Theodore Ts'o35238dd2004-12-23 13:54:28 -05006382004-12-23 Theodore Ts'o <tytso@mit.edu>
639
640 * dumpe2fs.c (list_desc): If reserved GDT blocks are present,
641 display them along with the other filesystem meta blocks.
642
Theodore Ts'oc88bce82004-12-22 00:49:06 -05006432004-12-22 Theodore Ts'o <tytso@mit.edu>
644
645 * fsck.c (main): Check return from malloc of fsck_path string.
646
Theodore Ts'o690e6932004-12-21 20:40:08 -05006472004-12-21 Theodore Ts'o <tytso@mit.edu>
648
649 * tune2fs.c (parse_time): Fix minor buglet; the parse_time routine
650 should use the passed-in argument, not optarg, even though
651 the two are the same in the case of the current caller of
652 said function.
653
Theodore Ts'o22c68212004-12-15 17:26:32 -05006542004-12-15 Theodore Ts'o <tytso@mit.edu>
655
656 * mke2fs.c: Applied resize inode patch from Andreas Dilger to add
657 support for creating filesystems with reserved space for
658 on-line expansion.
659
Theodore Ts'o6d402272004-12-14 21:46:26 -05006602004-12-14 Theodore Ts'o <tytso@mit.edu>
661
Theodore Ts'o522798d2004-12-15 11:28:55 -0500662 * Makefile.in: Move strip command to install-strip target.
663 Use Linux-kernel-style makefile output for "make install"
664
Theodore Ts'o6d402272004-12-14 21:46:26 -0500665 * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro
666
Theodore Ts'o11d1e612004-12-01 12:42:33 -05006672004-12-01 Theodore Ts'o <tytso@mit.edu>
668
669 * e2image.8.in: Fix minor glitches in man page.
670
Theodore Ts'o47204ff2004-11-30 10:52:27 -05006712004-11-30 Theodore Ts'o <tytso@mit.edu>
672
Theodore Ts'o605e6f02004-11-30 22:06:27 -0500673 * Makefile.in: Delete e2initrd_helper when doing a make clean.
674
Theodore Ts'o2e8ca9a2004-11-30 14:07:11 -0500675 * tune2fs.c: If there is a question mark in the device name,
676 separate out the options to the IO layer, and pass it on
677 to ext2fs_open2().
678
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500679 * Makefile.in: Use Linux-kernel-style makefile output to make it
680 easier to see errors/warnings.
681
Theodore Ts'o3a03c2c2004-11-19 14:29:48 -05006822004-11-19 Theodore Ts'o <tytso@mit.edu>
683
684 * mke2fs.8.in: Removed the word "destructive" when describing the
685 read-write test, since it can confuse people.
686
Theodore Ts'o029de632004-10-08 10:47:30 -04006872004-10-08 Theodore Ts'o <tytso@mit.edu>
688
689 * mke2fs.8.in: Add an explanation about why reserved blocks in a
690 filesystem is a good thing.
691
Theodore Ts'odf95e092004-09-28 10:30:27 -04006922004-09-28 Theodore Ts'o <tytso@mit.edu>
693
694 * badblocks.8.in: Document the default block size. (Addresses
695 Debian Bug #273679)
696
Theodore Ts'od99225e2004-09-25 07:40:12 -04006972004-09-25 Theodore Ts'o <tytso@mit.edu>
698
699 * mke2fs.c (set_fs_defaults): Only use blocksizes > 4k on Linux
700 2.6 and newer systems. (Addresses Debian Bug #271064)
701
Theodore Ts'o6ea8d0f2004-09-24 12:15:14 -04007022004-09-24 Theodore Ts'o <tytso@mit.edu>
703
Theodore Ts'o137ce8c2004-09-24 12:16:17 -0400704 * lsattr.c (lsattr_dir_proc): Avoid double // when listing the
705 root directory, or when there is a trailing '/' in the
706 directory name. (Addresses Debian Bug #272943)
707
Theodore Ts'o6ea8d0f2004-09-24 12:15:14 -0400708 * Makefile.in: Make sure /usr/lib is created for when we install
709 e2initrd_helper.
710
Theodore Ts'o91d71c42004-09-19 07:34:35 -04007112004-09-19 Theodore Ts'o <tytso@mit.edu>
712
Theodore Ts'o3ef681c2004-09-19 08:04:44 -0400713 * badblocks.c: Use _() around done_string, so that it gets
714 correctly translated. (Addresses Debian Bug #252836)
715
Theodore Ts'o91d71c42004-09-19 07:34:35 -0400716 * tune2fs.8.in: Add a description of the .journal file, why it
717 is created, and how e2fsck converts it to an invisible
718 journal. (Addresses Debian Bug #256760)
719
Theodore Ts'o5d407732004-09-18 14:53:14 -04007202004-09-18 Theodore Ts'o <tytso@mit.edu>
721
722 * e2initrd_helper.c: New program which allows initrd scripts to
723 check on the contents of /etc/fstab without (a) needing to
724 mount the root filesystem, and (b) needing /bin/awk in the
725 initrd environment. (Addresses Debian Bug #247775)
726
Theodore Ts'o45e18ad2004-09-17 17:31:16 -04007272004-09-17 Theodore Ts'o <tytso@mit.edu>
728
729 * tune2fs.8.in: Mention that e2fsck -D might be useful after
730 setting the dir_index filesystem feature. (Addresses
731 Debian Bug #268148)
732
Theodore Ts'o8c6b6482004-07-28 21:07:53 -04007332004-07-28 Theodore Ts'o <tytso@mit.edu>
734
735 * e2image.c, e2image.8.in: Add new option -I which allows the
736 administrator to install an metadata stored in an e2image
737 file to a filesystem. Obviously, this can be very
738 dangerous!
739
Theodore Ts'o94f6ab32004-06-25 00:55:12 -04007402004-06-25 Theodore Ts'o <tytso@mit.edu>
741
742 * Makefile.in (mke2fs.static): Add the blkid library to so
743 mke2fs.static builds correctly.
744
Theodore Ts'o481d1392004-04-11 16:47:25 -04007452004-04-11 Theodore Ts'o <tytso@mit.edu>
746
Theodore Ts'occdd1d62004-04-11 17:02:44 -0400747 * tune2fs.8.in: Fixed spelling error (Addresses Debian Bug #242995)
748
Theodore Ts'o481d1392004-04-11 16:47:25 -0400749 * mke2fs.8.in: Clarify man page's description of the '-O' option.
750 (Addresses Debian Bug #241940)
751
Theodore Ts'o2eb3b202004-04-07 09:27:36 -04007522004-04-07 Theodore Ts'o <tytso@mit.edu>
753
Theodore Ts'od06863f2004-04-12 12:37:55 -0400754 * tune2fs.c (update_feature_set): If the compatibility bitmasks
755 were not modified, don't set the superblock dirty bit.
Theodore Ts'o2eb3b202004-04-07 09:27:36 -0400756
Theodore Ts'odd607052004-04-03 13:53:46 -05007572004-04-03 Theodore Ts'o <tytso@mit.edu>
758
759 * Makefile.in: Update the modtime even if subst doesn't need to
760 update the man pages, to avoid always re-running
761 subst, especially since there are no dependencies on these
762 generated files.
763
Theodore Ts'o9b2d5e92004-03-21 20:40:20 -05007642004-03-21 Theodore Ts'o <tytso@mit.edu>
765
766 * blkid.c: Remove the partially implemented -p option (it never
767 did anything, but was documented in the man page and the
768 usage display).
769
Theodore Ts'o67508772004-03-20 16:14:46 -05007702004-03-20 Theodore Ts'o <tytso@mit.edu>
771
Theodore Ts'o89279982004-03-20 16:30:10 -0500772 * blkid.c (main, print_tags): Add new option -o which allows the
773 user to control the output format of blkid.
774
Theodore Ts'o67508772004-03-20 16:14:46 -0500775 * mke2fs.8.in: Fix spelling typos (Addresses Debian Bug #238741)
776
Theodore Ts'o8ac59292004-03-08 14:18:56 -05007772004-03-08 Theodore Ts'o <tytso@mit.edu>
778
779 * e2image.8.in: Update manpage to detail that writing to stdout is
780 currently only supported when writing a raw image dump.
781 (Addresses Debian bug #236383)
782
Theodore Ts'o5bec5742004-03-04 20:30:16 -05007832004-03-04 Theodore Ts'o <tytso@mit.edu>
784
785 * logsave.c (main): Use setsid() to avoid getting killed by init
786 (run_program): Add a newline after reporting the exit code
787 or signal when the program exits.
788
Theodore Ts'o167af992004-02-28 08:20:41 -05007892004-02-28 Theodore Ts'o <tytso@mit.edu>
790
Theodore Ts'ob70b1162004-02-28 10:52:35 -0500791 * Release of E2fsprogs 1.35
792
7932004-02-28 Theodore Ts'o <tytso@mit.edu>
794
Theodore Ts'o167af992004-02-28 08:20:41 -0500795 * badblocks.c (main): Change the default number of blocks tested
796 at once from 16 to 64. (Addresses Debian bug #232240)
797
Theodore Ts'o023cbb32004-02-26 21:06:58 -05007982004-02-26 Theodore Ts'o <tytso@mit.edu>
799
Theodore Ts'o6b394c12004-02-26 21:08:06 -0500800 * filefrag.c: Fix gcc -Wall nits.
801
Theodore Ts'o023cbb32004-02-26 21:06:58 -0500802 * badblocks.c (pattern_fill): Fix bug accidentally added when
803 fixing up gcc -Wall nits. badblocks -t random was not
804 getting handled properly because ~0 needed to be cast to
805 an unsigned long instead of an unsigned char. (Addresses
806 Debian bug #234828)
807
Theodore Ts'o993aa112004-02-21 21:02:15 -05008082004-02-21 Theodore Ts'o <tytso@mit.edu>
809
810 * fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a
811 problem because we got lucky, but let's do things right.
812 Fix from Thomas Woerner at Red Hat.)
813
Theodore Ts'od605ba12004-02-03 19:18:03 -05008142004-02-03 Theodore Ts'o <tytso@mit.edu>
815
816 * filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it
817 actually compiles on Linux. (Addresses Debian bug
818 #230992)
819
Theodore Ts'o2e5a1b92004-01-31 20:27:36 -05008202004-01-31 Theodore Ts'o <tytso@mit.edu>
821
822 * chattr.1.in: Clarify man page.
823
824 * chattr.1.in, dumpe2fs.8.in, lsattr.1.in, mklost+found.8.in,
825 tune2fs.8.in: List Theodore Ts'o <tytso@alum.mit.edu> as
826 the current maintainer.
827
Theodore Ts'o2293a4d2004-01-20 13:39:01 -05008282004-01-20 root <tytso@mit.edu>
829
830 * chattr.c (main): Add support for '--' to stop options
831 processing. (Addresses Debian bug #225188).
832
Theodore Ts'o64c90ee2003-12-26 13:56:14 -05008332003-12-26 Theodore Ts'o <tytso@mit.edu>
834
Theodore Ts'ocf119022003-12-26 14:03:20 -0500835 * chattr.1.in: Update text indicating the 'c', 's', and 'u'
836 attributes are not currently supported to remove any
837 mention of a specific kernel version. (Addresses Debian
838 bug #214920)
839
Theodore Ts'o64c90ee2003-12-26 13:56:14 -0500840 * fsck.8.in: Update text describing "standard" options supported
841 by filesystem-specific checkers. (Addresses Debian bug
842 #222606)
843
Theodore Ts'o477b2352003-12-25 14:31:08 -05008442003-12-25 Theodore Ts'o <tytso@mit.edu>
845
846 * Makefile.in: Add filefrag program to the list of programs
847 installed in /usr/sbin.
848
Theodore Ts'oc65e54b2003-12-11 11:31:48 -05008492003-12-11 Theodore Ts'o <tytso@thunk.org>
850
851 * tune2fs.8.in: Fix some whitespace errors in the command synopsis.
852
Theodore Ts'o54434922003-12-07 01:28:50 -05008532003-12-07 Theodore Ts'o <tytso@mit.edu>
854
Theodore Ts'o1e6e4c52003-12-07 02:28:24 -0500855 * mke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner.
856
Theodore Ts'o54434922003-12-07 01:28:50 -0500857 * badblocks.c, blkid.c, chattr.c, dumpe2fs.c, e2image.c, fsck.c,
858 fsck.h, lsattr.c, mke2fs.c, nls-enable.h, tune2fs.c,
859 util.c: Fix gcc -Wall nitpicks.
860
Theodore Ts'o817e49e2003-11-21 09:10:29 -05008612003-09-13 Theodore Ts'o <tytso@mit.edu>
862
863 * tune2fs.c (parse_e2label_options, parse_tune2fs_options,
864 do_findfs): Check the returned name from blkid_get_devname and
865 print an error if the requested LABEL/UUID does not exist.
866
Theodore Ts'oef344e12003-11-21 09:02:21 -05008672003-09-03 Theodore Ts'o <tytso@mit.edu>
868
869 * dumpe2fs.c (list_desc): Use ext2fs_super_and_bgd_loc to
870 determine the locations of the superblock and block group
871 descriptors.
872
Theodore Ts'od07b1502003-11-20 18:34:20 -05008732003-11-20 Theodore Ts'o <tytso@mit.edu>
874
875 * util.c (check_plausibility): Support 2.6 kernel header files,
876 instead of having the build to crash. (Addresses Debian
877 bug #221778)
878
Theodore Ts'o1cca86f2003-09-01 09:28:18 -04008792003-09-01 Theodore Ts'o <tytso@mit.edu>
880
881 * mke2fs.c (progress_init, progress_update): If the environment
882 variable MKE2FS_SKIP_PROGRESS is set, then don't print out
883 a progress bar; for regression test support.
884 (PRS): If the environment variable MKE2FS_DEVICE_SECTSIZE
885 is set, then override the device sector size. Again for
886 regression test support.
887 (main): If the environment variable MKE2FS_SKIP_CHECK_MSG
888 is set, then skip printing an information messages about
889 when the filesystem will be checked, since this number is
890 random and screws up the regression test expect script.
891
Theodore Ts'o79120f82003-08-31 20:56:57 -04008922003-08-31 Theodore Ts'o <tytso@mit.edu>
893
894 * mke2fs.c (set_fs_defaults): Fix bug which caused -T largefile or
895 -T largefile4 to core dump due to a division by zero
896 error. (Addressed Debian bug #207082)
897
Theodore Ts'oa7ac1df2003-08-24 17:56:41 -04008982003-08-24 Theodore Ts'o <tytso@mit.edu>
899
900 * dumpe2fs.8.in, e2image.8.in, e2label.8.in, mke2fs.8.in,
901 tune2fs.8.in: Adjust description line so that apropos
902 "ext2" or "ext3" will find the man page. (Addresses
903 Debian Bug #206845)
904
Theodore Ts'o1f9a60c2003-08-01 00:58:00 -04009052003-08-01 Theodore Ts'o <tytso@mit.edu>
906
907 * badblocks.c (set_o_direct): Add check to make sure the file
908 offset of the device is page aligned. (Addresses Debian
909 Bug #203713)
910
911 * badblocks.c (test_ro, test_rw): Add code to recover after an
912 error so that we continue reading on page-aligned
913 boundaries. (Thanks to Philippe Troin <phil@fifi.org> for
914 the patch.)
915
Theodore Ts'odc058712003-07-25 07:39:33 -04009162003-07-25 Theodore Ts'o <tytso@mit.edu>
917
Theodore Ts'o9c7ec172003-07-26 01:03:34 -0400918 * Release of E2fsprogs 1.34
919
9202003-07-25 Theodore Ts'o <tytso@mit.edu>
921
Theodore Ts'ocf7d5f12003-07-25 17:39:51 -0400922 * mke2fs.c (PRS): Add warning if using -j and the blocksize is
923 greater than 4096, since some kernels don't support ext3
924 with large block sizes. (Addresses Debian bug #193773)
925
Theodore Ts'odc058712003-07-25 07:39:33 -0400926 * badblocks.c (set_o_direct): Remove debugging printf. (Addresses
927 Debian bug #201499)
928
Theodore Ts'o5e38fed2003-07-21 20:43:21 -04009292003-07-21 Theodore Ts'o <tytso@mit.edu>
930
931 * fsck.c (wait_many): Rename wait_all() to wait_many(), and have
932 new semantics: WAIT_ALL vs. WAIT_ATLEAST_ONE. This fixes
933 a bug where when fsck is waiting for another partition on
934 the same spindle, it spins wasting a lot of CPU.
935
Theodore Ts'o11393002003-07-12 01:58:12 -04009362003-07-12 Theodore Ts'o <tytso@mit.edu>
937
Theodore Ts'o1c29b092003-07-12 16:01:45 -0400938 * badblocks.c (do_read, do_write, test_rw): Change the read/write
939 test to honor the -c option (number of blocks at a time).
940 do_read and do_write will try to turn on the O_DIRECT flag
941 if it appears that it is possible to use it. (Addresses
942 Debian bug #198006)
943
Theodore Ts'o11393002003-07-12 01:58:12 -0400944 * mke2fs.c (set_fs_defaults): If sector_size is 0, don't use it to
945 set the blocksize to zero. This causes MD devices to fail
946 since they don't support the BLKSSZGET ioctl. (Addresses
947 Debian bug #196734)
948
Theodore Ts'o48e6e812003-07-06 00:36:48 -04009492003-07-06 Theodore Ts'o <tytso@mit.edu>
950
Theodore Ts'oa7ccdff2003-07-08 18:03:48 -0400951 * mke2fs.c (PRS, main): If CONFIG_TESTIO_DEBUG, then use the
952 testio manager.
953
954 * mke2fs.c (PRS): Round down the default filesystem size so that
955 it is an even multiple of the page size, to work around
956 buffer cache kernel bug.
957
Theodore Ts'o48e6e812003-07-06 00:36:48 -0400958 * badblocks.c: Fix gcc -Wall nitpicks (signed/unsigned type issues)
959
960 * blkid.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
961
Theodore Ts'o93d5c382003-05-21 17:28:29 -04009622003-05-21 Theodore Ts'o <tytso@mit.edu>
963
964 * mke2fs.c (PRS, set_fs_defaults): If the sector size of the
965 device is larger than the default block size, then use the
966 sector size of the device as the default block size.
967
Theodore Ts'o84c05452003-05-18 01:11:52 -04009682003-05-18 Theodore Ts'o <tytso@mit.edu>
969
970 * badblocks.c: Use an unsigned integer to support 4-byte test
971 patterns with the high bit set. Let the user explicitly
972 specify a random pattern with the argument "random".
973
Theodore Ts'o6d40f562003-05-07 08:35:38 -04009742003-05-07 Theodore Ts'o <tytso@mit.edu>
975
976 * badblocks.c (test_rw): Fix minor memory leak with test_rw() is
977 called for multiple passes.
978 (test_nd): Fix bug in chosing randomness for the
979 non-destructive test. We were only using 1 bit of
980 randomness per byte instead of 8 due to a bit-shift bug.
981 Also, initialize the random number generator from the time
982 in main(). Thanks to Thayne Harbaugh for pointing out
983 these bugs.
984
Theodore Ts'o849b6bc2003-05-07 09:52:14 -0400985 * badblocks.c, badblocks.8.in: Functional enhancements contributed
986 by Thayne Harbaugh. These patches allow the -t option to
987 control the test pattern(s) used when checking the disk.
988 Test patterns may be specified in all modes (r/w, r/o and
989 non-destructive).
990
Theodore Ts'o2a29f132003-05-05 12:08:47 -04009912003-05-05 Theodore Ts'o <tytso@mit.edu>
992
993 * tune2fs.c (main, add_journal_device, remove_journal_device): If
994 --enable-testio-debug is set, then use the test_io manager
995 so we can watch what tune2fs is doing.
996
Theodore Ts'oa04eba32003-05-03 16:35:17 -04009972003-05-03 Theodore Ts'o <tytso@mit.edu>
998
Theodore Ts'oddc32a02003-05-03 18:45:55 -0400999 * uuidgen.c (main): Add setup functions for NLS support.
1000
1001 * e2image.c (write_header), mke2fs.c (PRS): Add missing space in
1002 displayed message.
1003
1004 * badblocks.c (usage), findsuper.c (main), util.c
1005 (parse_journal_opts): Fix typo in usage string.
1006
Theodore Ts'obc7c14e2003-05-03 16:40:09 -04001007 * tune2fs.c (parse_time): Add portability code to work around lack
1008 of strptime().
1009
Theodore Ts'oa04eba32003-05-03 16:35:17 -04001010 * Makefile.in: Add $(LIBINTL) to the link line so we can support
1011 using the internal gettext library.
1012
1013 * nls-enable.h: Add #ifndef protection around LOCALEDIR definition.
1014
Theodore Ts'o71df0dc2003-04-21 16:17:09 -040010152003-04-21 Theodore Ts'o <tytso@mit.edu>
1016
1017 * Release of E2fsprogs 1.33
1018
Theodore Ts'ofc56eee2003-04-18 07:32:00 -040010192003-04-18 Theodore Ts'o <tytso@mit.edu>
1020
1021 * Makefile.in (uuidgen): Avoid linking lsattr and chattr against
1022 libext2fs, and avoid linking blkid against any of the ext2
1023 libraries.
1024
Theodore Ts'o814dc052003-04-17 21:58:27 -040010252003-04-17 Theodore Ts'o <tytso@mit.edu>
1026
1027 * Makefile.in (fsck): Fsck does not need to linked against the
1028 ext2 libraries anymore.
1029
Theodore Ts'obc34d6b2003-04-16 14:05:06 -040010302003-04-16 Theodore Ts'o <tytso@mit.edu>
1031
Theodore Ts'o2ecaaf62003-04-16 16:13:58 -04001032 * fsck.c (main): Put stdout and stderr into non-buffered mode to
1033 avoid cosmetic problems when running fsck under logsave.
1034
Theodore Ts'o38798572003-04-16 15:29:39 -04001035 * mke2fs.c (PRS): Avoid printing the version banner for mke2fs if
1036 the -q option is specified. (Addresses Debian bug #172716)
1037
Theodore Ts'obc34d6b2003-04-16 14:05:06 -04001038 * logsave.c: Add support for the -a option (only partially
1039 implemented previously). Always log the command-line and
1040 start and stop time to the log file. Add support for the
1041 -s option, which skips text bracketed between control-A
1042 and control-B characters.
1043
Theodore Ts'of9ddad52003-04-14 18:05:12 -040010442003-04-14 Theodore Ts'o <tytso@mit.edu>
1045
1046 * logsave.c: New program which saves the output of a command in a
1047 log file, even if the containing directory hasn't been
1048 mounted yet (in which case the it saves the output in
1049 memory until it can write out the logfile).
1050
Theodore Ts'occbed852003-04-11 13:32:31 -040010512003-04-11 Theodore Ts'o <tytso@mit.edu>
1052
Theodore Ts'oc5290fa2003-04-11 22:10:50 -04001053 * mke2fs.c (PRS): If the argument to -b is negative, treat it as a
1054 minimum blocksize. (Feature requested by EVMS developers
1055 for mainframe DASD's that do not support 1k blocksizes.)
1056
Theodore Ts'o5e055412003-04-11 14:00:53 -04001057 * mke2fs.8.in: Document the -g option. (Addresses Debian bug #188318)
1058
Theodore Ts'o5e804b72003-04-11 13:46:57 -04001059 * mke2fs.c (PRS): Fix bug where mke2fs was incorrectly checking
1060 the argument to the -g option, if the default block size
1061 is used. (Addresses Debian bug #188319)
1062
Theodore Ts'occbed852003-04-11 13:32:31 -04001063 * tune2fs.8.in, mke2fs.8.in: Document the dir_index filesystem
1064 feature which can be used with the -O option.
1065
Theodore Ts'oee828a92003-04-06 23:08:47 -040010662003-04-06 Theodore Ts'o <tytso@mit.edu>
1067
1068 * fsck.c (parse_fstab_line, interpret_type, fsck_device, ignore,
1069 main): Don't evaluate the filesystem type when loading the
1070 fstab file, since that might cause fsck to hang trying to
1071 read from a floppy disk. (Addresses Debian bug #187812)
1072 Add tmpfs and devpts to filesystems that should be
1073 ignored, and add jfs, reseirfs, and xfs as filesystems
1074 types where we should complain if we can't find the fsck
1075 program for that filesystem type.
1076
Theodore Ts'occ4f98e2003-04-03 11:37:46 -050010772003-04-03 Theodore Ts'o <tytso@mit.edu>
1078
1079 * badblocks.c (bb_output): Flush output to the badblocks
1080 output file as bad blocks are discovered.
1081
Theodore Ts'ofc05eb02003-03-25 23:02:34 -050010822003-03-25 Theodore Ts'o <tytso@mit.edu>
1083
1084 * chattr.1.in: Clarified the description of the 't' (no tail)
1085 attribute. (Addresses Debian bug #185945)
1086
Theodore Ts'oe71d8732003-03-14 02:13:48 -050010872003-03-14 Theodore Ts'o <tytso@mit.edu>
1088
1089 * fsck.c: And #ifdef protection around #include of malloc.h
1090
Theodore Ts'oeca53e32003-03-14 00:38:45 -050010912003-03-13 Theodore Ts'o <tytso@mit.edu>
1092
1093 * e2image.c (write_raw_image_file): Include blocks from slow
1094 symbolic links in the raw image file.
1095
Theodore Ts'o332f2c22003-03-06 12:58:33 -050010962003-03-06 <tytso@mit.edu>
1097
1098 * tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
1099 the device name to be specified using LABEL=xxx or
1100 UUID=xxx, since we're including the blkid library anyway.
1101 (Addresses Debian bugs #166048, #179671)
Theodore Ts'o77be4d22003-03-06 12:39:55 -05001102
1103 * tune2fs.8.in, chattr.1.in: Minor man page fixes (Addresses
1104 Debian bugs #175233, #175113, and #170497)
1105
Theodore Ts'oed78c022003-03-06 11:09:18 -050011062003-03-06 Theodore Tso <tytso@mit.edu>
1107
1108 * Makefile.in (DEPLIBS_BLKID): Use DEPLIBUUID, not LIBUUID to
1109 avoid depending on -lsocket on Solaris.
1110
Theodore Ts'oed1b33e2003-03-01 19:29:01 -050011112003-03-01 Theodore Ts'o <tytso@mit.edu>
1112
1113 * fsck.c, util.c, tune2fs.c, Makefile.in: Use the blkid library
1114 instead of the specialized functions in
1115 get-device-by-label.c and fstype.c.
1116
1117 * base_device.c (base_device): Take a const char* as an argument.
1118
1119 * blkid.c: Remove deprecated -d option,
1120
Theodore Ts'o98999c32003-02-16 00:47:07 -050011212003-02-16 Theodore Ts'o <tytso@mit.edu>
1122
1123 * blkid.c: Update to reflect renaming of blkid_get_devname() to
1124 blkid_get_dev(), and blkid_get_token() to
1125 blkid_get_devname().
1126
Theodore Ts'o19445ef2003-01-29 21:04:52 -050011272003-01-29 Theodore Ts'o <tytso@mit.edu>
1128
1129 * badblocks.8.in: Fix grammar nit.
1130
Theodore Ts'o7a603aa2003-01-26 01:54:39 -050011312003-01-26 Theodore Ts'o <tytso@mit.edu>
1132
1133 * blkid.c (main): Modify blkid to use the new libblkid public
1134 interfaces.
1135
Theodore Ts'oe12f2ae2003-01-23 16:45:16 -050011362003-01-23 Theodore Ts'o <tytso@mit.edu>
1137
1138 * Makefile.in: Integrate in new blkid library.
1139
Theodore Ts'o76ea3a22003-01-22 19:55:59 -050011402003-01-22 Theodore Ts'o <tytso@mit.edu>
1141
1142 * fsck.c (parse_fstab_line, parse_escape): Add support for
1143 backslash escaping in /etc/fstab. (i.e., so that \040
1144 will work.)
1145
Theodore Ts'o54779c62002-11-13 07:00:16 -050011462002-11-12 Theodore Ts'o <tytso@mit.edu>
1147
1148 * mke2fs.c (PRS): Don't enable the dir_index feature by default;
1149 the ext2 code on 2.4 kernels (but not 2.2 kernels, and not
1150 the 2.4 ext3 code) accidentally had the backwards
1151 compatibility support for dir_indexing removed.
1152
Theodore Ts'o38513012002-11-09 15:00:56 -050011532002-11-09 Theodore Ts'o <tytso@mit.edu>
1154
1155 * Release of E2fsprogs 1.32
1156
Theodore Ts'o51f8f8d2002-11-08 20:02:21 -050011572002-11-08 Theodore Ts'o <tytso@mit.edu>
1158
Theodore Ts'oae65b292002-11-08 20:08:48 -05001159 * Release of E2fsprogs 1.31
1160
11612002-11-08 Theodore Ts'o <tytso@mit.edu>
1162
Theodore Ts'o51f8f8d2002-11-08 20:02:21 -05001163 * chattr.1.in: Update man page.
1164
Theodore Ts'o5d823a42002-11-01 02:13:53 -050011652002-10-31 Theodore Ts'o <tytso@mit.edu>
1166
1167 * Release of E2fsprogs 1.30
1168
Theodore Ts'oa2c8bf92002-11-01 02:01:41 -050011692002-11-01 Theodore Ts'o <tytso@mit.edu>
1170
1171 * chattr.c, chattr.1.in: Add support for a new inode flag, which
1172 is to be used for indicating the top of directory
1173 hierarchies for the Orlov block allocator.
1174
Theodore Ts'of68b3b02002-10-31 15:30:26 -050011752002-10-31 Theodore Ts'o <tytso@mit.edu>
1176
1177 * get_device_by_label.c (read_partitions): Pay attention to
1178 partitions returned in /proc/partitions that begin with
1179 with the string "lvm".
1180
Theodore Ts'o76dd5e52002-10-30 23:07:21 -050011812002-10-30 Theodore Ts'o <tytso@mit.edu>
1182
Theodore Ts'o482afc42002-10-31 03:32:34 -05001183 * Makefile.in (install): Search all compression extensions when
1184 deleting old man pages.
1185
Theodore Ts'o76dd5e52002-10-30 23:07:21 -05001186 * dumpe2fs.c (list_desc): Fix bug in algorithm which determined
1187 which blocks are used as backup superblock and block group
1188 descriptors.
1189
1190 * mke2fs.c (PRS): Fix bug which checked the tmp pointer
1191 erreoneously (and needlessly).
1192
Theodore Ts'o1d4c7942002-10-28 16:52:12 -050011932002-10-28 <tytso@snap.thunk.org>
1194
1195 * fsck.c (main): Fix bug reported by Gregory Mutt. Multiple
1196 filesystems explicitly specified on the command line were
1197 not being checked in parallel, due to a logic bug
1198 introduced in to support the FSCK_MAX_INST environment
1199 variable.
1200
Theodore Ts'od90a23e2002-10-25 17:07:11 -040012012002-10-25 Theodore Ts'o <tytso@mit.edu>
1202
1203 * dumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that
1204 if there is an error reading the block/inode bitmaps, it
1205 will still print out the contents of the block group
1206 descriptors.
1207
Theodore Ts'oc046ac72002-10-20 00:38:57 -040012082002-10-20 Theodore Ts'o <tytso@valinux.com>
1209
1210 * dumpe2fs.c (list_desc), mke2fs.c (PRS), e2image.c
1211 (mark_table_blocks): Add support for the meta_blockgroup
1212 filesystem format.
1213
Theodore Ts'oa0c3fd52002-10-15 17:43:43 -040012142002-10-15 <tytso@snap.thunk.org>
1215
1216 * tune2fs.8.in, tune2fs.c (update_mntopts, main): Add new option
1217 'o' which allows the system administrator to specify
1218 default mount options.
1219
Theodore Ts'o3e699062002-10-13 23:56:28 -040012202002-10-13 Theodore Ts'o <tytso@mit.edu>
1221
1222 * get_device_by_label.c (read_partitions): Use a 16k buffer to
1223 read in /proc/partitions in one go.
1224
1225 * badblocks.c, fsck.c, fstype.c, get_device_by_label.c,
1226 tune2fs.c: Fix gcc -Wall nits.
1227
Theodore Ts'o64aecc42002-10-11 17:44:12 -040012282002-10-11 Theodore Ts'o <tytso@mit.edu>
1229
1230 * mklost+found.c (main): Make sure the lost+found directory is
1231 created with 0700 permissions.
1232
Theodore Ts'o3432a912002-10-02 17:47:08 -040012332002-10-02 Theodore Ts'o <tytso@mit.edu>
1234
1235 * e2image.c (write_raw_image_file): Handle a bad block in the
1236 inode table correctly.
1237
Theodore Ts'o41ec7bb2002-09-29 22:37:40 -040012382002-09-29 Theodore Ts'o <tytso@mit.edu>
1239
Theodore Ts'odbfb3f02002-09-29 22:42:27 -04001240 * get_device_by_label.c: Applied sourceforge patch #613447, which
1241 adds support for reiserfs volumes for LABEL= and UUID=
1242 fstab entries.
1243
Theodore Ts'o41ec7bb2002-09-29 22:37:40 -04001244 * badblocks.c (main): Appled sourceforge patch #600451, which
1245 addresses sourceforge bug #600388, by AEF. This allows
1246 badblocks to work correctly on read-only devices such as
1247 CD-ROM's, DVD's, etc.
1248
Theodore Ts'o82b39c92002-09-29 19:08:38 -040012492002-09-24 Theodore Ts'o <tytso@mit.edu>
1250
1251 * mke2fs.8.in, tune2fs.8.in: Clarify manual pages about using the
1252 caret ('^') character to negate feature sets when using
1253 the -O option. Define the has_journal feature to avoid
1254 confusion about what ^has_journal means.
1255
Theodore Ts'oc6633052002-09-24 01:26:50 -040012562001-09-24 Theodore Tso <tytso@mit.edu>
1257
1258 * Release of E2fsprogs 1.29
1259
Theodore Ts'o84bd5502002-09-24 00:13:19 -040012602002-09-24 Theodore Ts'o <tytso@mit.edu>
1261
1262 * fsck.c: If the bone-headed user enters the filename twice, the
1263 -R option which skips the root filesystem will skip all of
1264 them. (Addresses Debian bug #159423). Note! This is not
1265 a precedent for dealing intelligently with any other kind
1266 of doubled entry in /etc/fstab!
1267
Theodore Ts'o843049c2002-09-22 15:37:40 -040012682002-09-22 root <tytso@mit.edu>
1269
1270 * mke2fs.c (main): Enable directory indexing by default.
1271
1272 * tune2fs.c (update_feature_set): Allow directory indexing flag to
1273 be set. If so, set the default hash to be TEA, and
1274 initialize the hash seed to a random value.
1275
Theodore Ts'of9e4abf2002-09-21 06:46:43 -040012762002-09-21 Theodore Ts'o <tytso@mit.edu>
1277
1278 * get_device_by_label.c (init_lvm): Fix bug which caused
1279 LABEL='xxx' to not work correctly when using LVM.
1280 (Reversed sense of error check reported by ateeq@hotpop.com)
1281
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -040012822001-08-31 Theodore Tso <tytso@thunk.org>
1283
1284 * Release of E2fsprogs 1.28
1285
Theodore Ts'of044b4d2002-08-17 13:32:21 -040012862002-08-17 Theodore Ts'o <tytso@mit.edu>
1287
Theodore Ts'o118d7da2002-08-17 23:01:22 -04001288 * findfs.8.in: New man page.
1289
1290 * tune2fs.c (do_findfs): If tune2fs is executed with argv[0] set
1291 to findfs, then it will interpret argv[1] as one of
1292 LABEL=xxx or UUID=xxx and translate it to a device name.
1293
1294 * get_device_by_label.c (uuidcache_init): Moved code which
1295 interpreted /proc/partitions into read_partitions(), and
1296 then added support for interpreting /proc/evms/volumes in
1297 read_evms(). uuidcache_init() calls both read_evms() and
1298 read_partitions().
1299
Theodore Ts'o1f22ce32002-08-17 18:16:29 -04001300 * mke2fs.8.in: Add a common usage of the -n option. (Addresses
1301 Debian Bug #146437)
1302
Theodore Ts'oa1411352002-08-17 17:39:39 -04001303 * fsck.c (main): If no filesystems are specified on the command
1304 line, default to -As. (Addresses Debian Bug #153102)
1305
1306 * badblocks.8.in: Clarify why it's bad to do a non-destructive
1307 test on a r/o mounted filesystem. (Addresses Debian Bug
1308 #131350)
1309
Theodore Ts'o023d1112002-08-17 14:44:56 -04001310 * chattr.1.in: Document the compression attribute flags E, X, and
1311 Z, and explain that chattr can't set or set these flags.
1312 (Addresses Debian Bug #151990)
1313
Theodore Ts'of044b4d2002-08-17 13:32:21 -04001314 * fsck.8.in: Fix typo in man page, and clarified text regarding
1315 options specifiers for -t option. (Addresses Debian bug
1316 #145044)
1317
1318 * mke2fs.c (main): If there is a problem zeroing blocks at the end
1319 of the filesystem, don't abort mke2fs. Addresses Debian
1320 bug #155007.
1321
Theodore Ts'oed909bb2002-08-16 17:03:59 -040013222002-08-16 Theodore Ts'o <tytso@mit.edu>
1323
1324 * e2image.c (write_raw_image_file): Check for an extended
1325 attribute block before checking for has_valid_blocks.
1326
Theodore Ts'o4cae0452002-07-21 14:14:03 -040013272002-07-21 Theodore Ts'o <tytso@mit.edu>
1328
1329 * fsck.8.in: Document new fsck exit code, FSCK_CANCELED.
1330
1331 * fsck.c: Trap SIGINT and SIGTERM, and relay it to all of the
1332 child fsck processes.
1333
Theodore Ts'o70988102002-07-14 08:00:00 -040013342002-07-14 Theodore Ts'o <tytso@mit.edu>
1335
1336 * mke2fs.c (zap_sector): Clear the buffer *after* testing for the
1337 BSD sector label. Otherwise the first 512 bytes don't get
1338 zapped. (Addresses Debian bug #147256.)
1339
Theodore Ts'of0865ce2002-07-02 10:08:27 -040013402002-07-02 Theodore Ts'o <tytso@mit.edu>
1341
1342 * mke2fs.8.in: Cleaned up man page, and made it a bit more
1343 OS-agnostic. Addresses Debian bug #144621. Hope this
1344 makes the Hurd whiners happy. :-)
1345
Theodore Ts'o5cfd7402002-06-28 10:47:24 -040013462002-06-28 Theodore Ts'o <tytso@mit.edu>
1347
1348 * chattr.1.in: Fix man page typo. (Addresses Debian bug #141938)
1349
Theodore Ts'o88372d52002-06-15 18:58:39 -040013502002-06-15 Theodore Ts'o <tytso@mit.edu>
1351
1352 * chattr.c: Applied patch from Andrew to support the dirsync flag.
1353
Andreas Dilgerb21bf262002-06-10 11:05:56 -060013542002-05-22 Andreas Dilger <adilger@clusterfs.com>
1355
1356 * mke2fs.c (set_fs_defaults): make the default inode ratio at most
1357 one inode per block for large blocksizes.
1358
Theodore Ts'o31e29a12002-05-17 10:53:07 -040013592002-05-17 Theodore Ts'o <tytso@mit.edu>
1360
1361 * mke2fs.c (PRS): Determine the page size using sysconf() at
1362 runtime, instead of using the Linux system header files.
1363
13642002-05-16 Andreas Dilger <adilger@clusterfs.com>
1365
1366 * mke2fs.c (PRS): Allow blocksizes larger than 4k to be specified,
1367 with warning printed and the user questioned if blocksize
1368 is larger than the system's page size according to the
1369 Linux kernel header files. Added better checking for
1370 valid inode sizes, and again print a warning message if
1371 using a large inode size (since most kernels today don't
1372 support this yet).
1373
13742002-04-30 Theodore Ts'o <tytso@mit.edu>
Theodore Ts'o7de65772002-04-30 20:22:32 -04001375
1376 * fsck.8.in: Fix typo in man page.
1377
Theodore Ts'o7ef3bb82002-03-08 03:01:53 -050013782002-03-08 Theodore Tso <tytso@mit.edu>
1379
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001380 * Release of E2fsprogs 1.27
1381
13822002-03-08 Theodore Tso <tytso@mit.edu>
1383
Theodore Ts'o7ef3bb82002-03-08 03:01:53 -05001384 * mke2fs.c: Check for the BSD disklabel on all architectures, and
1385 also check the byte-swapped magic number as well.
1386
Theodore Ts'o756df352002-03-07 20:52:12 -050013872002-03-07 Theodore Tso <tytso@mit.edu>
1388
Theodore Ts'o66938372002-03-08 00:14:46 -05001389 * mke2fs.c: Output warnings to stderr
1390 (From Philipp Thomas <pthomas@suse.de>)
1391
Theodore Ts'o546a1ff2002-03-07 23:52:56 -05001392 * base_device.c (main): Fix gcc -Wall complaints in debug code.
1393
Theodore Ts'o756df352002-03-07 20:52:12 -05001394 * mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha.
1395 (From Thorsten Kukuk <kukuk@suse.de>)
1396
Theodore Ts'o14308a52002-03-05 03:26:52 -050013972002-03-04 Philipp Thomas <pthomas@suse.de>
1398
1399 * chattr.c (main), fsck.c (main), mke2fs.c (main), findsuper.c
1400 (main), dumpe2fs.c (main), lsattr.c (main), partinfo.c (main),
1401 tune2fs.c (main), mklost+found.c (main), badblocks.c
1402 (main), e2image.c (main): Newer libintl needs LC_CTYPE to
1403 be set in addition to LC_MESSAGES.
1404
Andreas Dilger0072f8d2002-02-25 23:11:26 -070014052002-02-25 Andreas Dilger <adilger@clusterfs.com>
1406
1407 * mke2fs.c: Add check for mkfs.ext3 and create a journal in
1408 this case.
1409
Theodore Ts'o57173d02002-02-26 14:59:39 -050014102002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -05001411
1412 * Makefile.in (install): Install hard links for man pages for
1413 mkfs.ext2 and mkfs.ext3. Also install hard link for
1414 mkfs.ext3. Remove any compressed man pages before
1415 installing the man pages.
1416
Theodore Ts'o57173d02002-02-26 14:59:39 -050014172002-02-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o541d1732002-02-23 21:23:26 -05001418
1419 * badblocks.8.in: Clarify man page's description of the -f option
1420
Theodore Ts'o57173d02002-02-26 14:59:39 -050014212002-02-12 Theodore Tso <tytso@mit.edu>
Theodore Ts'o7d4343d2002-02-12 02:34:44 -05001422
1423 * get_device_by_label.c: Since on non-STDC compilers, we define
1424 away const, include get_device_by_label.h after we include
1425 fsck.h.
1426
1427 * Makefile.in (base_device): Remove use of $<, which is
1428 non-portable.
1429
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014302002-02-03 Theodore Tso <tytso@thunk.org>
1431
1432 * Release of E2fsprogs 1.26
1433
14342002-02-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'o5599c2f2002-02-03 00:08:52 -05001435
1436 * fsck.c (interpret_type): Allow filesystems types of the form
1437 "ext3,ext2", etc.
1438
1439 * fstype.c (identify_fs): Add support for only searching for a
1440 specified list of filesystems. Also add support for
1441 identifying reiserfs filesystems.
1442
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014432002-01-29 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa1069112002-01-29 12:49:14 -05001444
1445 * fsck.c: Allow the number of outstanding processes fs-specific
1446 fsck programs to be capped via the FSCK_MAX_INST
1447 envrionment variable.
1448
1449 * fsck.8.in: Document all of the environment variables used by fsck.
1450
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014512002-01-27 Theodore Tso <tytso@mit.edu>
Theodore Ts'o177ab2b2002-01-27 18:23:49 -05001452
1453 * tune2fs.8.in: Document the -f flag to tune2fs.
1454
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014552002-01-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o5493a272002-01-02 14:15:35 -05001456
1457 * badblocks.c (main): Open the device as O_RDWR if possible, since
1458 fsync() isn't guaranteed to work if the filesystem is
1459 opened read-only.
1460
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014612001-12-26 Theodore Tso <tytso@mit.edu>
Theodore Ts'od4de4aa2001-12-26 08:58:01 -05001462
1463 * tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add
1464 support for new option, -T, which allows the user to set
1465 the last checked time on the filesystem.
1466
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014672001-12-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6a525062001-12-24 09:40:00 -05001468
Theodore Ts'o3ed57c22001-12-24 15:01:59 -05001469 * mke2fs.c (main, test_disk): If two -c options are
1470 specified, then perform a destructive read/write test
1471 of the disk.
1472
1473 * mke2fs.8.in: Document the double -c option; also encourage users
1474 to use -c instead of the -l/-L options since it's too hard
1475 for users to get things like the blocksize parameter correct.
1476
1477 * badblocks.8.in: Encourage users to use the -c option in mke2fs
1478 and e2fsck instead of running badblocks directly.
1479
Theodore Ts'o6a525062001-12-24 09:40:00 -05001480 * mke2fs.c (create_lost_and_found): The lost+found directory is
1481 now created with 0700 permissions, since files which get
1482 dropped into that directory may have come from a protected
1483 directory, and the system administrator may not deal with
1484 immediately. (Addresses Debian bug #118443)
1485
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014862001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -05001487
1488 * Makefile.in, jfs_user.h: Move linux/jbd.h to
1489 ext2fs/kernel-jbd.h, to avoid using the system header
1490 file version of hbd.h when using diet glibc (since it
1491 forcibly adds /usr/include to the beginning of the
1492 include search path.)
1493
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050014942001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'oeaf4dc52001-12-22 00:04:22 -05001495
1496 * get_device_by_label.c (init_lvm): Add support to read out
1497 information from the LVM proc hierarchy, so that the UUID
1498 cache can search the LVM logical volumes for UUID's,
1499 labels, etc.
1500
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015012001-12-21 Theodore Tso <tytso@mit.edu>
Theodore Ts'o0655b102001-12-21 23:59:46 -05001502
1503 * dumpe2fs.c (list_bad_blocks): Change to not die if the listing
1504 of the bad blocks can't be found. Slimmed down dumpe2fs
1505 by eliminating duplicate code paths.
1506
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015072001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -05001508
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -05001509 * dumpe2fs.c (list_desc), fsck.c (fs_match),
1510 get_device_by_label.c (get_label_uuid),
1511 mke2fs.c (set_fs_defaults, zap_sector, PRS),
1512 tune2fs.c (remove_journal_device, update_feature_set),
1513 util.c (figure_journal_size), util.h: Fix gcc -Wall nits.
1514
1515 * e2image.c (write_raw_image_file): Fix gcc -Wall nits, and use
1516 the stashed inode functions to optimize away system calls.
1517
Theodore Ts'o8cf93332001-12-16 02:23:36 -05001518 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
1519 linux/jbd.h
1520
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015212001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa5f0bb92001-12-02 19:29:35 +01001522
1523 * dumpe2fs.c: Don't print the offset to the bitmap and inode table
1524 if it's negative. Also did some generalized code clean up
1525 to slim it down the support of the -x option.
1526
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015272001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa36cf922001-11-24 16:13:49 -05001528
1529 * e2image.8.in: Fix cut-and-paste typo (Addresses Debian bug
1530 #119624)
1531
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015322001-11-13 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6ef39202001-11-13 18:49:09 -05001533
1534 * util.c (check_plausibility): Use stat64 if available so that
1535 check_plausibility() works with files > 2GB.
1536
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015372001-11-05 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6430bd62001-11-05 18:58:46 -05001538
Theodore Ts'ob3f5b4c2001-11-05 19:22:02 -05001539 * chattr.1.in: Update the man page to document the EXT2_NOTAIL_FL
1540 flag.
1541
1542 * chattr.c: Add support for the EXT2_NOTAIL_FL flag.
1543
Theodore Ts'o6430bd62001-11-05 18:58:46 -05001544 * fsck.c (interpret_type): If the "auto" type is specified, make
1545 sure interpet_device() is called so that device
1546 specifications which use LABEL= or UUID= are translated
1547 into a real device name.
1548
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015492001-10-12 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe3ef3502001-11-05 18:57:43 -05001550
1551 * e2image.c (output_meta_data_blocks): Optimize away excess
1552 lseek() calls when creating a sparse file. Fewer system
1553 calls are a good thing. <g>
1554
Andreas Dilger568101f2001-10-13 01:22:25 -060015552001-10-07 Andreas Dilger <adilger@turbolinux.com>
1556
1557 * mke2fs.c (main): Always exit with non-zero code in case of error.
1558
1559 * mke2fs.c (zap_sector): Check that buffer allocation succeeded.
1560
Theodore Ts'ofbf91112001-09-20 10:47:47 -040015612001-09-20 Theodore Tso <tytso@thunk.org>
1562
1563 * Release of E2fsprogs 1.25
1564
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015652001-09-19 Theodore Tso <tytso@mit.edu>
Theodore Ts'o39567c42001-09-19 15:28:21 -04001566
Theodore Ts'of6a6afc2001-09-19 18:27:39 -04001567 * tune2fs.c (remove_journal_inode): Remove dead code that wasn't
1568 in use.
1569
Theodore Ts'o39567c42001-09-19 15:28:21 -04001570 * tune2fs.8.in: Update man page to reflect the fact that adding or
1571 removing a journal doesn't require running e2fsck.
1572
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050015732001-09-13 Theodore Tso <tytso@mit.edu>
Theodore Ts'o3f85f652001-09-17 10:38:06 -04001574
1575 * mke2fs.c (zap_sector): Allocate sufficient space for
1576 zero-filled buffer.
1577
Theodore Ts'ofb707752001-09-04 15:00:37 -040015782001-09-02 Theodore Tso <tytso@thunk.org>
1579
1580 * Release of E2fsprogs 1.24a
1581
Andreas Dilger9d8e6342001-08-31 10:24:46 -060015822001-08-31 Andreas Dilger <adilger@turbolinux.com>
1583
1584 * mke2fs.c (main): Fix version format string.
1585
Theodore Ts'o109624a2001-08-31 00:59:55 -040015862001-08-30 Theodore Tso <tytso@thunk.org>
1587
1588 * Release of E2fsprogs 1.24
1589
Theodore Ts'o177a9ac2001-08-30 18:07:40 -040015902001-08-30 Theodore Tso <tytso@valinux.com>
1591
1592 * badblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621)
1593
Theodore Ts'o04a96852001-08-30 21:55:26 -04001594 * mke2fs.c (zap_sector): Now takes a third argument, which is how
1595 many sectors to clear out. Fixed up Andreas's patch to
1596 make it a bit more efficient/compact.
1597
Andreas Dilger59f27242001-08-30 15:39:04 -060015982001-08-30 Andreas Dilger <adilger@turbolinux.com>
1599
1600 * mke2fs.c (main): Zap the second sector of the disk, along with
1601 any sectors in the same filesystem block after the superblock.
1602 The latter will remove (for example) swapspace signatures
1603 on 4kB+ blocksize filesystems. Also when zeroing the "end"
1604 of the filesystem don't actually zero the start of a very
1605 small device (less than 64 blocks).
1606
Theodore Ts'o0f8973f2001-08-27 12:44:23 -040016072001-08-27 Theodore Tso <tytso@valinux.com>
1608
Andreas Dilger59f27242001-08-30 15:39:04 -06001609 * fsck.c (main): Make version display consistent with the other
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001610 e2fsprogs programs.
1611
1612 * lsattr.c, chattr.c, mke2fs.c, tune2fs.c, dumpe2fs.c, e2image.c,
1613 mklost+found.c: Remove EXT2FS_VERSION from the version
1614 display, since it only confuses people.
1615
Theodore Ts'oe843c762001-08-18 14:22:25 -040016162001-08-18 Theodore Tso <tytso@valinux.com>
1617
1618 * tune2fs.c (remove_journal_device): Remove unused variable
1619 check_uuid.
1620
1621 * get_device_by_label.h: Define function prototype for
1622 copy_string(), since this was moved from fsck.c to
1623 get_device_by_label.c by Andreas's BK changeset.
1624
Andreas Dilger2d155762001-08-17 03:48:11 -060016252001-08-17 Andreas Dilger <adilger@turbolinux.com>
1626
1627 * get_device_by_label.[ch], fsck.c, util.c: New interpret_spec()
1628 function in get_device_by_label.c to allow the use of
1629 UUID= or LABEL= when creating filesystems which use external
1630 journal dev (e.g. mke2fs -J device=LABEL=<journal_label>).
1631
1632 * tune2fs.c: Use superblock s_journal_uuid to locate an external
1633 journal device instead of s_journal_dev when removing it.
1634 Allow opening journal devices to set the label and UUID
1635 in the ext2 superblock.
1636
1637 * mke2fs.c, tune2fs.c: Free journal_device after use, as it is
1638 malloc'd in interpret spec.
1639
Theodore Ts'od2586682001-08-15 11:03:58 -040016402001-08-15 Theodore Tso <tytso@valinux.com>
1641
Theodore Ts'o943ed872001-08-27 12:29:22 -04001642 * Release of E2fsprogs 1.23
1643
16442001-08-15 Theodore Tso <tytso@valinux.com>
1645
Theodore Ts'o7141b542001-08-15 19:17:37 -04001646 * tune2fs.c: Make sure that error messages are sent to stderr, and
1647 normal messages are sent to stdout. (Addresses Debian bug
1648 #108555.)
1649
Theodore Ts'o1d349cc2001-08-15 19:06:55 -04001650 * fsck.8.in: Fixed error in synopsis of the man page.
1651
Theodore Ts'o88f8af62001-08-15 18:39:51 -04001652 * fsck.c (check_all): Don't bother to interpret a device where the
Theodore Ts'o685c13f2001-08-15 19:04:59 -04001653 pass number is zero. (Addresses Debian bug #106696.)
1654 (main): Print a warning message if there are no devices to
1655 be checked. (Addresses Debian bug #107458.)
Theodore Ts'o88f8af62001-08-15 18:39:51 -04001656
Theodore Ts'of3561ed2001-08-15 11:58:16 -04001657 * mke2fs.c (PRS): Handle -O and -s options in line in the getopt
1658 loop, so that -s and -O handling are a bit more intuitive.
1659 (Not that they should be mixed anyway; -s is deprecated.)
1660
Theodore Ts'od2586682001-08-15 11:03:58 -04001661 * tune2fs.c (parse_tune2fs_options): Give an error if -O is
1662 specified more than once.
1663
Theodore Ts'o085b02c2001-08-10 19:13:11 -040016642001-08-10 Theodore Tso <tytso@valinux.com>
1665
1666 * mke2fs.8.in: Slim down text describing the -O flag to remove
1667 text that erroneously implied that all features
1668 (including compatible flags) aren't compatible with older
1669 kernels.
1670
Theodore Ts'o6304baf2001-08-09 05:41:29 -040016712001-08-09 Theodore Tso <tytso@valinux.com>
1672
Theodore Ts'oe8a447d2001-08-09 06:13:18 -04001673 * mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if
1674 mke2fs -O none is specified, the sparse_super feature
1675 should not be present.
1676
Theodore Ts'o6304baf2001-08-09 05:41:29 -04001677 * e2image.c, e2image.8.in: Add support for raw image files.
1678
Theodore Ts'o8c97b0b2001-08-04 21:14:45 -040016792001-08-04 Andreas Dilger <root@lynx.adilger.int>
1680
1681 * mke2fs.c (PRS): Put check for JOURNAL_DEV before sparse_option,
1682 so we don't set the sparse superblock flag on journal devices.
1683
Theodore Ts'o194686b2001-07-31 12:03:23 -040016842001-07-31 Theodore Tso <tytso@valinux.com>
1685
1686 * tune2fs.c (update_feature_set, remove_journal_inode): If
1687 removing an in-filesystem journal, clear out the journal
1688 inode and update the filesystem accounting structures so
1689 we don't have to run e2fsck to clean up after ourselves
1690
Theodore Ts'ode49f012001-07-30 16:31:30 -040016912001-07-30 Theodore Tso <tytso@valinux.com>
1692
1693 * tune2fs.c (update_feature_set): Don't require a forced fsck if
1694 we're removing an external journal from a filesystem.
1695
Theodore Ts'o77dc4eb2001-07-27 22:00:18 -040016962001-07-27 Theodore Tso <tytso@valinux.com>
1697
1698 * mke2fs.c (PRS): If the blocksize is not specified and the
1699 journal device is specified, use it to determine the
1700 blocksize of the new filesystem.
1701
Theodore Ts'o9b61b8c2001-07-20 14:25:23 -040017022001-07-20 Theodore Tso <tytso@valinux.com>
1703
1704 * fsck.8.in: Add much more explicit language documenting how the
1705 fs_passno field in /etc/fstab is handled. (Addresses
1706 Debian bug #30833).
1707
Theodore Ts'oda376f52001-07-19 20:38:53 -040017082001-07-19 Theodore Tso <tytso@valinux.com>
1709
1710 * fstype.c (identify_fs): New file which looks at the superblock
1711 of the filesystem to determines its type.
1712
1713 * fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
1714 if the type specified in /etc/fstab is "auto".
1715
Theodore Ts'o67960132001-06-23 00:16:37 -040017162001-06-23 Theodore Tso <tytso@valinux.com>
1717
1718 * Release of E2fsprogs 1.22
1719
Theodore Ts'of4f75ba2001-06-16 01:14:28 +000017202001-06-15 Theodore Tso <tytso@valinux.com>
1721
1722 * Release of E2fsprogs 1.21
1723
Theodore Ts'o562ba5e2001-06-14 07:05:44 +000017242001-06-14 Theodore Tso <tytso@valinux.com>
1725
1726 * mke2fs.c (PRS): Remove unneeded test in when creating a external
1727 filesystem journal.
1728
Theodore Ts'ocdf186e2001-06-13 22:16:47 +000017292001-06-13 Theodore Tso <tytso@valinux.com>
1730
Theodore Ts'o66cf2f62001-06-14 06:42:44 +00001731 * tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move
1732 the message which displays how often the filesystem will
1733 be checked from mke2fs into a utility subroutine. Then
1734 cause tune2fs to call that function to display the message
1735 after adding a journal to a filesystem.
1736
1737 * mke2fs.8.in: Add manual page fixups and explanation for why it's
1738 good to check filesystems periodically from Andreas
1739 Dilger.
1740
Theodore Ts'ocdf186e2001-06-13 22:16:47 +00001741 * Makefile.in: Don't build e2image if --disable-imager is
1742 specified to configure.
1743
Theodore Ts'o28cf9042001-06-12 22:35:00 +000017442001-06-12 Theodore Tso <tytso@valinux.com>
1745
Theodore Ts'ocbbf0312001-06-13 00:12:04 +00001746 * dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not
1747 we're (not) using i386 byte order.
1748
1749 * dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks
1750 function, and use the ext2fs_badblocks_* functions
1751 instead.
1752
Theodore Ts'o28cf9042001-06-12 22:35:00 +00001753 * fsck.c (device_already_active): Fixed bug which can cause fsck
1754 to core dump if there are a mix of devices with standard
Theodore Ts'o83d5abf2001-06-13 23:31:27 +00001755 and non-standard names. (Addresses Debian bug #100559)
Theodore Ts'o28cf9042001-06-12 22:35:00 +00001756
Theodore Ts'ob7056402001-06-08 02:53:20 +000017572001-06-07 Theodore Tso <tytso@valinux.com>
1758
1759 * chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using
1760 the 64-bit function, since this changes the expected size
1761 of struct dirent. Instead use lseek64 explicitly.
1762
Theodore Ts'o797f5ef2001-06-01 23:49:46 +000017632001-06-01 Theodore Tso <tytso@valinux.com>
1764
1765 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +00001766 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +00001767
Theodore Ts'oe549d0a2001-05-25 16:38:48 +000017682001-05-25 Theodore Tso <tytso@valinux.com>
1769
Theodore Ts'obb185862001-05-25 17:35:00 +00001770 * Release of E2fsprogs 1.20
1771
17722001-05-25 Theodore Tso <tytso@valinux.com>
1773
Theodore Ts'oe549d0a2001-05-25 16:38:48 +00001774 * tune2fs.c (update_feature_set): Fix capitalization typo.
1775
Theodore Ts'oc7a24e42001-05-23 22:26:39 +000017762001-05-23 Theodore Tso <tytso@valinux.com>
1777
Theodore Ts'oa9bc79a2001-05-23 22:29:22 +00001778 * partinfo.c (main): Use unsigned long instead of long when
1779 querying the size of a device using the BLKGETSIZE ioctl,
1780 to remove the 1TB limit (and turn it into a 2TB limit :-)
1781
Theodore Ts'oc7a24e42001-05-23 22:26:39 +00001782 * fsck.c (compile_fs_type): Fix I18N compilation bug: use N_()
1783 instead of _() to initialize static variables.
1784
Theodore Ts'o07025ae2001-05-21 01:39:02 +000017852001-05-20 Theodore Tso <tytso@valinux.com>
1786
Theodore Ts'o10a32f12001-05-21 02:15:15 +00001787 * fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix
1788 handling of -t option to be more intuitive. Also add
1789 support for the Mandrake -t loop hack. See man page
1790 for description of new -t semantics.
1791
Theodore Ts'o9164b862001-05-21 01:41:37 +00001792 * fsck.c (device_already_active): Fix bug in
1793 device_already_active which could cause infinite loops if
1794 we don't know the base_device of the filesystem.
1795
Theodore Ts'o07025ae2001-05-21 01:39:02 +00001796 * fsck.c: Make sure all exit status codes returned by fsck are
1797 consistent with the error codes documented in the fsck man
1798 page.
1799
Theodore Ts'o251395d2001-05-14 04:43:05 +000018002001-05-14 Theodore Tso <tytso@valinux.com>
1801
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001802 * badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c,
1803 lsattr.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c:
1804 Change location of ext2_fs.h to be ext2fs/ext2_fs.h
1805
Theodore Ts'o251395d2001-05-14 04:43:05 +00001806 * tune2fs.8.in: Fix typo's and make other clarifications suggested
1807 by Andreas Dilger.
1808
Theodore Ts'o1400bbb2001-05-14 04:19:25 +000018092001-05-11 Andreas Dilger <adilger@turbolinux.com>
1810
1811 * mke2fs.c: don't zap the superblock if we are running with noaction!
1812 Zap the end of the device to remove stale RAID superblocks.
1813
Theodore Ts'o8d641742001-05-14 04:12:27 +000018142001-05-14 Theodore Tso <tytso@valinux.com>
1815
1816 * tune2fs.c (update_feature_set): Clean up some printf messages.
1817
1818 * fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other
1819 clarifications suggested by Andreas Dilger.
1820
Theodore Ts'o14bbcbc2001-05-13 22:58:27 +000018212001-05-13 Theodore Tso <tytso@valinux.com>
1822
1823 * mke2fs.c (PRS): Integrated changes from Andreas Dilger which
1824 make the revision superblock field be set to the correct
1825 value depending on if superblock features are set.
1826
Theodore Ts'o6d56d512001-05-12 15:46:21 +000018272001-05-12 Theodore Tso <tytso@valinux.com>
1828
Theodore Ts'o69303722001-05-12 16:12:12 +00001829 * fsck.c (PRS): fsck -? now prints the usage message.
1830
Theodore Ts'o12da49c2001-05-12 15:49:17 +00001831 * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in,
1832 mklost+found.8.in, tune2fs.8.in: Fix typo; removed
1833 excess "anonymous" in the AVAILABILITY section.
1834
Theodore Ts'o6d56d512001-05-12 15:46:21 +00001835 * chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of
1836 e2fsprogs package.
1837
Theodore Ts'od71a4952001-05-07 16:53:26 +000018382001-05-07 Theodore Tso <tytso@valinux.com>
1839
1840 * util.c: Use specific check for HAVE_SYS_STAT_H.
1841
Theodore Ts'ocd130a02001-05-05 05:43:23 +000018422001-05-05 Theodore Tso <tytso@valinux.com>
1843
Theodore Ts'o609c9d02001-05-05 06:45:05 +00001844 * fsck.8.in: Add explicit language to describe how options get
1845 passed to filesystem-specific checkers.
1846
Theodore Ts'ocd130a02001-05-05 05:43:23 +00001847 * badblocks.8.in: Fixed man page to describe the first optional
1848 parameter to badblocks as last_block, instead of
1849 num_blocks. (Debian bug #87216)
1850
1851 * badblocks.c: Change the blocks_count variable to be last_count,
1852 which is a more accurate description of the variable.
1853
Theodore Ts'o095b4592001-05-03 13:33:11 +000018542001-05-03 Theodore Tso <tytso@valinux.com>
1855
Theodore Ts'o348e43d2001-05-03 14:43:43 +00001856 * e2image.8.in: New manual page
1857
1858 * badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in,
1859 tune2fs.8.in: Update location of e2fsprogs to be
1860 http://e2fsprogs.sourceforge.net.
1861
1862 * dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs
1863 to dump out the filesystem statistics from an ext2 image
1864 file.
1865
Theodore Ts'o095b4592001-05-03 13:33:11 +00001866 * e2image.c (main): Fix format of e2image to be easier to be parse
1867 by ext2fs_open().
1868
Theodore Ts'o45d70862001-05-01 15:44:37 +000018692001-05-01 Theodore Tso <tytso@valinux.com>
1870
1871 * fsck.c (device_already_active): If we're not able to determine
1872 the base device, we should assume that the device is
1873 already active in order to force serialization.
1874
Theodore Ts'oce57f142001-04-26 04:25:39 +000018752001-04-26 Theodore Tso <tytso@valinux.com>
1876
1877 * tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for
1878 backwards compatibility with older kernels). -c 0 makes
1879 more sense to users.
1880
Theodore Ts'o4d0f2282001-04-23 20:58:03 +000018812001-04-22 Theodore Tso <tytso@valinux.com>
1882
1883 * tune2fs.c (remove_journal_device): If the force flag is given,
1884 tune2fs will remove the journal device information from
1885 the superblock even if tune2fs failed to open the journal
1886 device or otherwise other failed to remove the filesystem
1887 from journal device.
1888 (parse_tune2fs_options): Fix -j option so that it works
1889 (it was missing the open_flag being set to EXT2_FLAG_RW).
1890 (main): Accept "-U clear" to set a null UID.
1891
Theodore Ts'ob10fd5e2001-04-22 03:47:23 +000018922001-04-21 Theodore Tso <tytso@valinux.com>
1893
Theodore Ts'o48015ce2001-04-22 03:58:32 +00001894 * mke2fs.8.in: Manual page cleanups. Temporarily comment out the
1895 documentation for the extern journal device support.
1896
Theodore Ts'ob10fd5e2001-04-22 03:47:23 +00001897 * mke2fs.c (usage): Remove the deprecated -s option from the usage
1898 message.
1899
Theodore Ts'o1d08d9b2001-04-17 01:01:49 +000019002001-04-16 Theodore Tso <tytso@valinux.com>
1901
Theodore Ts'o2103ea72001-04-21 20:53:43 +00001902 * mke2fs.c (main): Add better explanation about when the
1903 filesystem will be checked after it is created.
1904
Theodore Ts'od6a27e02001-04-17 02:34:41 +00001905 * util.c (parse_journal_opts): Remove code which allowed a bare
1906 number to be treated as a journal size.
1907
Theodore Ts'o1d08d9b2001-04-17 01:01:49 +00001908 * mke2fs.c, tune2fs.c: Add newlines to error messages so that they
1909 look nicer.
1910
Theodore Ts'od6a27e02001-04-17 02:34:41 +00001911 * mke2fs.c (create_journal_dev): Call
1912 ext2fs_create_journal_superblock() first, so if it's going
1913 to error out, the user finds out before waiting for the
1914 entire device to get zero'ed.
1915
Theodore Ts'o2537b6d2001-03-26 20:07:13 +000019162001-03-26 Theodore Tso <tytso@valinux.com>
1917
1918 * mke2fs.8.in, tune2fs.8.in: Change man paegs to document that the
Theodore Ts'o8d641742001-05-14 04:12:27 +00001919 journal must be bewteen 1024 and 102,400 file system
Theodore Ts'o2537b6d2001-03-26 20:07:13 +00001920 blocks.
1921
1922 * mke2fs.c, tune2fs.c: Change to use figure_journal_size()
1923
1924 * util.c, util.h (figure_journal_size): Change
1925 journal_default_size into routine which also converts the
1926 requested journal size into filesystem blocks and does
1927 bounds checking to make sure the journal is sized
1928 reasonably. Renamed function to journal_default_size.
1929 (parse_journal_opts): Remove bounds check for the journal
1930 size, since this is now done in figure_journal_size, and
1931 based on the number of filesystem blocks, as opposed to
1932 using the absolute size of the journal.
1933
Theodore Ts'o93345d12001-02-17 06:09:50 +000019342001-02-17 Theodore Tso <tytso@valinux.com>
1935
1936 * mke2fs.c (main): Flush out the "creating journal" message.
1937 Also handle the case where the default journal size
1938 returns zero blocks == no journal. Print out how often
1939 the filesystem will be checked.
1940
Theodore Ts'oc5423c52001-02-08 05:45:17 +000019412001-02-08 Theodore Tso <tytso@valinux.com>
1942
1943 * e2image.c (main): Add code to write the e2image header.
1944
Theodore Ts'offf18b42001-02-08 03:06:43 +000019452001-02-07 Theodore Tso <tytso@valinux.com>
1946
Theodore Ts'obe4244b2001-02-08 03:28:18 +00001947 * tune2fs.8.in: Update man page to reflect that 2.0.39 supports
1948 sparse_super.
1949
Theodore Ts'o8b164f92001-02-08 03:24:18 +00001950 * dumpe2fs.c (list_desc): Fix fencepost error when calculating the
1951 range of inode table blocks. Add '0x' to values printed
1952 in hex.
1953
Theodore Ts'offf18b42001-02-08 03:06:43 +00001954 * chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the
1955 use of the LFS so that lstat will work on large files.
1956
Theodore Ts'o02088862001-01-18 01:44:19 +000019572001-01-17 Theodore Ts'o <tytso@valinux.com>
1958
Theodore Ts'odc2ec522001-01-18 01:51:15 +00001959 * tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user
1960 interface so that -J is used to specify journal options,
1961 and -j is used to request creation of a journal using
1962 default values. (This is a UI change, but we haven't done
1963 a formal release, and it makes things much more consistent
1964 with the rest of the options out there.)
1965
1966 * tune2fs.c: Add support for removing a filesystem from an
1967 external journal; we correctly remove the filesystem UUID
1968 from the external journal's filesystem list.
1969
Theodore Ts'o5683e6e2001-01-18 01:47:48 +00001970 * util.h, util.c (journal_default_size): New function from Andreas
1971 Dilger to calculate an appropriate default journal size
1972 given a filesystem size.
1973
1974 * util.c (parse_journal_opts): Allow the creation of a journal as
1975 small as 1MB.
1976
Theodore Ts'o02088862001-01-18 01:44:19 +00001977 * dumpe2fs.c (print_journal_information): Use s_first_data_block
1978 to find the correct block to read the journal superblock.
1979
Theodore Ts'o16ed5b32001-01-16 07:47:31 +000019802001-01-15 Theodore Ts'o <tytso@valinux.com>
1981
1982 * tune2fs.c: Changed the external journal code so that it simply
1983 adds a filesystem to a journal; the journal must have bene
1984 created via "mke2fs -O journal_dev /dev/XXX".
1985
1986 * mke2fs.c: Add support for creating an external journal device by
1987 using the command "mke2fs -O journal_dev /dev/XXX". Also
1988 changed the external journal code so -j device=/dev/XXX it
1989 simply adds a filesystem to that journal; the journal must
1990 have been created via separate step.
1991
1992 * dumpe2fs.c (print_journal_information): Add support for dumping
1993 information about an external journal device.
1994
Theodore Ts'o4055ef72001-01-14 16:11:14 +000019952001-01-14 Theodore Ts'o <tytso@valinux.com>
1996
Theodore Ts'o44c09c02001-01-14 17:02:09 +00001997 * mke2fs.c: Add new filesystem types, largefile and largefile4,
1998 for those filesystems whose average inode size is 1MB and
1999 4MB, respectively. Allow the inode ratio specified to be
2000 has high as 4MB. Make the s_max_mount_count vary between
2001 20 and 40, to avoid needing to check all of the
2002 filesystems at the same time. Add some random jitter to
2003 the s_max_mount_count value so that we avoid checking all
2004 of the filesystems at the same time when we reboot.
2005
Theodore Ts'o08dd8302001-01-14 16:25:58 +00002006 * tune2fs.8.in: Add description of the -j option.
2007
Theodore Ts'o4055ef72001-01-14 16:11:14 +00002008 * tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush
2009 stdout after printing in-progress message.
2010 (main): Exit with status code 1 if we failed to determine
2011 the mount status of the device.
2012
Theodore Ts'odfcdc322001-01-11 15:38:00 +000020132001-01-11 <tytso@snap.thunk.org>
2014
Theodore Ts'oc8c071a2001-01-11 16:08:23 +00002015 * e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c,
2016 uuidgen.c: Fix gcc -Wall complaints, including one bug in
2017 tune2fs caused by a block automatic shadowing version of
2018 the variable we really wanted to use, which broke the
2019 logic testing to see if the filesystem was mounted.
2020
Theodore Ts'o4d404542001-01-11 16:04:59 +00002021 * badblocks.c (flush_bufs): Use ext2fs_sync_device() to sync and
2022 flush the device.
2023
Theodore Ts'odfcdc322001-01-11 15:38:00 +00002024 * mke2fs.c: Change ino_t to ext2_ino_t.
2025
Theodore Ts'o83238152001-01-09 00:16:26 +000020262001-01-08 <tytso@snap.thunk.org>
2027
2028 * Makefile.in, tune2fs.c: Move e2label functionality into tune2fs,
2029 using argv[0] as a dispatch. This allows e2label to be
2030 (more) safely used on mounted filesystems.
2031
Theodore Ts'o8820c792001-01-06 04:20:03 +000020322001-01-05 <tytso@snap.thunk.org>
2033
2034 * get_device_by_label.h (get_volume_label_by_spec): Add function
2035 prototype.
2036
2037 * get_device_by_label.c: Use string_copy() instead of strdup() for
2038 portability's sake. Fix a few other gcc -Wall
2039 complaints.
2040
2041 * fsck.c (string_copy): Export string_copy() extern.
2042
2043 * badblocks.c: Fix various gcc -Wall complaints, including
2044 an incorrect reference to sync in flush_bufs().
2045
Theodore Ts'o63985322001-01-03 17:02:13 +000020462001-01-03 <tytso@snap.thunk.org>
2047
2048 * tune2fs.c (update_feature_set, add_journal): Moved to separate
2049 functions. Added ability to add and remove the journal
2050 while the filesystem is live. Added support for setting
2051 a time-based UUID. Removed zero-initialized static variables.
2052
2053 * mke2fs.c, util.c, util.h (strcasecmp, proceed_question,
2054 check_plausibility, parse_journal_opts, check_mount):
2055 Moved functions to util.c so they can be used by tune2fs.
2056
2057 * mke2fs.c (main): Change ext2fs_add_journal_fs() to
2058 ext2fs_add_journal_inode() to reflect function renaming.
2059
Theodore Ts'ob21e38a2001-01-01 15:26:58 +000020602001-01-01 <tytso@snap.thunk.org>
2061
Theodore Ts'oef9abe52001-01-01 15:31:53 +00002062 * mke2fs.c, e2image.c: Removed references to struct ext2fs_sb to
2063 struct ext2_super_block.
2064
Theodore Ts'ob21e38a2001-01-01 15:26:58 +00002065 * tune2fs.c (main): Add support to allow HAS_JOURNAL flag to be
2066 cleared, but only if the filesystem is unmounted or
2067 mounted read-only. Changed struct ext2fs_sb to struct
Theodore Ts'oef9abe52001-01-01 15:31:53 +00002068 ext2_super_block, and cleaned up old code which was needed
2069 for old versions of ext2_fs.h (not needed since we're
2070 using our own version now).
Theodore Ts'ob21e38a2001-01-01 15:26:58 +00002071
Theodore Ts'o9a718842000-12-31 13:48:12 +000020722000-12-31 <tytso@snap.thunk.org>
2073
Theodore Ts'od4cf2fc2000-12-31 14:09:38 +00002074 * fsck.c (check_all): Call interpet_device to resolve LABEL= and
2075 UUID= right away so that the device_already_active() logic
2076 can do the right thing. Also cleaned up the the root
2077 filesystem logic checking code; fixed up a logic bug with
2078 the parallel_root option.
2079
Theodore Ts'of10748d2000-12-31 13:55:14 +00002080 * lsattr.1.in: Add pointer to chattr man page for definition of
2081 the file attributes.
2082
2083 * lsattr.c (list_attributes): Minor cleanup to smooth out logic
2084 flow. Also removed static initialized variables to zero.
2085
Theodore Ts'o9a718842000-12-31 13:48:12 +00002086 * chattr.c (decode_arg, get_flag): Use a table-driven method for
2087 decoding the ext2 file flags character options. Add
2088 support for the journaled data flag.
2089
2090 * chattr.1.in: Document the -j/+j/=j flag.
2091
Theodore Ts'o16ad3332000-12-31 03:21:56 +000020922000-12-30 <tytso@snap.thunk.org>
2093
2094 * mke2fs.8.in: Minor clarity edit.
2095
2096 * mke2fs.c (usage): Document the -j option.
2097 (main): Print the number blocks used in the journal.
2098
Theodore Ts'ob9fd8c12000-12-29 03:10:45 +000020992000-12-28 <tytso@snap.thunk.org>
2100
2101 * base_device.c (base_device): Add support for DAC960 device
2102 names.
2103
2104 * fsck.c (device_already_active): Handle the case where
2105 base_device doesn't know how to interpret the device name,
2106 instead of core dumping.
2107
Theodore Ts'o74a74d22000-12-09 14:33:29 +000021082000-12-09 <tytso@snap.thunk.org>
2109
Theodore Ts'od48755e2000-12-09 14:36:04 +00002110 * mke2fs.c (main, parse_journal_opts): Add support for creating V1
2111 superblocks. We now pass in a journal_flags field to the
2112 journal creation routines for this purpose.
2113
2114 * mke2fs.c: Remove zero initializers to save a few bytes from the
2115 executable image. (Are we excited yet?)
2116
Theodore Ts'o74a74d22000-12-09 14:33:29 +00002117 * findsuper.c: And non-subtle copyright licensing restriction to
2118 get Yann to remove this program from the Debian package. :-)
2119
Theodore Ts'o793e27d2000-12-03 06:33:56 +000021202000-12-03 <tytso@snap.thunk.org>
2121
2122 * fsck.c (device_already_active): Change to use new version of
2123 base_device() which now returns dynamically allocated
2124 memory.
2125
2126 * base_device.c (base_device): New version moved from fsck.c which
2127 now understands ugly devfs names. (Debian bug #65181)
2128
2129 * base_device.tst: Test case for base_device.c
2130
Theodore Ts'oe1c6b2f2000-12-02 06:19:33 +000021312000-12-02 <tytso@snap.thunk.org>
2132
Theodore Ts'o2d091792000-12-02 07:03:32 +00002133 * fsck.8.in: Add clarification that filesystems with a fs_passno
2134 of 0 are skipped with the -A option. (Debian wishlist/bug
2135 #63442)
2136
Theodore Ts'oe9f9dd82000-12-02 06:35:07 +00002137 * fsck.c (wait_one): When we let a new fsck take control of the
2138 console to display the progress bar, set FLAG_PROGRESS to
2139 so that fsck knows not to start new processes during an
2140 fsck pass with the progress bar. (Should fix debian bug
2141 #65267)
2142
Theodore Ts'oe1c6b2f2000-12-02 06:19:33 +00002143 * tune2fs.8.in: Add clarifying statement about converting user and
2144 group names to uid's before storing them in the
2145 superblock. (Debian bug #67446)
2146
Theodore Ts'o8ddaa662000-11-17 04:55:24 +000021472000-11-16 Theodore Ts'o <tytso@valinux.com>
2148
2149 * mke2fs.c(main): Expand the -j option so that it parses
2150 option=argument style options, and add support for
2151 creating filesystems with external journals.
2152
2153 * mke2fs.8.in: Document new syntax for the -j option.
2154
Theodore Ts'o72ed1262000-11-12 19:32:20 +000021552000-11-05 <tytso@snap.thunk.org>
2156
2157 * e2image.c, Makefile.in: New program which saves ext2 metadata to
2158 a file for people who need a last-ditch saving throw.
2159
Theodore Ts'o85ef4ae2000-10-24 19:33:45 +000021602000-10-24 <tytso@snap.thunk.org>
2161
Theodore Ts'of6f65832000-10-25 03:01:37 +00002162 * mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s
2163 handling a bit more sane. (Even though -s is deprecated
2164 at this point.)
2165
Theodore Ts'o0056be12000-10-25 02:24:33 +00002166 * get_device_by_label.c: Apply fix from Erik Troan to support 16
2167 character labels.
2168
Theodore Ts'o43819662000-10-25 02:06:09 +00002169 * fsck.c (device_already_active): Add a special case check for MD
2170 devices, so we don't try to check them in parallel with
2171 other devices.
2172
Theodore Ts'o85ef4ae2000-10-24 19:33:45 +00002173 * mke2fs.c (PRS, main), mke2fs.8.in: Add support for the -j
2174 option, which builds an ext2/3 filesystem with an ext3
2175 journal.
2176
Theodore Ts'oe294cf22000-10-24 18:41:44 +000021772000-10-24 <tytso@valinux.com>
2178
2179 * mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95
2180 didn't catch.
2181
Theodore Ts'o3f1e9a52000-09-12 21:21:52 +000021822000-09-12 <tytso@valinux.com>
2183
2184 * fsck.c: Add base device definitions for hd[e-h], for those
2185 systems with four IDE interfaces.
2186
Theodore Ts'od7e39b02000-09-11 17:01:35 +000021872000-09-11 <tytso@valinux.com>
2188
2189 * mke2fs.c (zap_sector): Fix error message printed when zap_sector
2190 fails.
2191
2192 * dumpe2fs.c (list_desc): Fixed format string bug when printing
2193 the inode table location in non-hex format.
2194
Theodore Ts'o556ccbd2000-08-20 19:11:05 +000021952000-08-20 <tytso@valinux.com>
2196
2197 * get_device_by_label.c: Add call to ext2fs_find_block_device if
2198 we can't find the device using the name given by
2199 /proc/partitions. (This can happen if devfs is compiled
2200 into the kernel, but not mounted.)
2201
Theodore Ts'o80c22c92000-08-14 15:32:11 +000022022000-06-27 Andreas Dilger <adilger@turbolabs.com>
2203
2204 * dumpe2fs.c (usage): add fhx options to usage message, add -x option
2205 to print out the per-group block numbers in hex, add line for
2206 location of primary/backup superblock and group descriptors
2207
2208 * mke2fs.c: rename max to group_blk_max avoid potential macro conflict
2209
Theodore Ts'oe41784e2000-08-14 14:44:15 +000022102000-08-14 <tytso@valinux.com>
2211
2212 * mke2fs.c (zap_sector): Change zap_bootsect to more general
2213 zap_sect.
2214 (main): Clear the superblock when starting mke2fs, to
2215 avoid leaving the filesystem in an inconsistent state.
2216
Theodore Ts'o28412de2000-07-27 02:45:55 +000022172000-07-26 <tytso@valinux.com>
2218
2219 * get_device_by_label.c: Improve /proc/partitions parsing in
2220 fsck, and speed up fsck -a.
2221
Theodore Ts'of9e67062000-07-13 23:25:54 +000022222000-07-13 <tytso@valinux.com>
2223
2224 * Release of E2fsprogs 1.19
2225
Theodore Ts'oa551b782000-07-13 22:05:31 +000022262000-07-13 <tytso@snap.thunk.org>
2227
2228 * badblocks.8.in: Added text explaining that the -n and -w options
2229 are mutually exclusive.
2230
2231 * badblocks.c (usage): Fix usage message to make it clear that the
2232 block count must be specified if the starting block is to
2233 be specified. (The starting block should be a option, in
2234 the long run.)
2235
2236 * badblocks.c (test_nd): Save and restore the currently_testing
2237 variable before going into the write verification loop.
2238 This avoids a loop termination problem if the last block
2239 on the disk is bad. Also, turn off the SIGALRM signal
2240 while restoring blocks after the user types ^C. The
2241 num_saved variable is now static so that it won't get
2242 clobbered by a longjmp. buf_used and bb_count are no
2243 longer static, since they aren't used by the cleanup
2244 routines anymore.
2245
2246 * badblocks.c (main): Removed an unsued varaible (buf_size).
2247 Fixed bad getopt argument that didn't allow the 'b' option
2248 to take an argument. Added error checking when parsing
2249 the starting block number. Fixed lint warning in fscanf
2250 format string.
2251
Theodore Ts'o35964b52000-07-06 13:19:43 +000022522000-07-06 Theodore Ts'o <tytso@valinux.com>
2253
Theodore Ts'o19c68912000-07-07 03:25:13 +00002254 * fsck.c (execute, wait_one): Treat fsck.ext3 the same as
2255 fsck.ext2 (because they are the same) for the purposes of
2256 the progress bar display logic.
2257
Theodore Ts'o45d9e2f2000-07-07 03:12:54 +00002258 * tune2fs.8.in: Update manual page to document what happens if
2259 max_mount_count is negative.
2260
2261 * tune2fs.c (main): Allow setting the maximal count value to be
2262 negative, since the kernel interprets that as forcing a
2263 check.
2264
Theodore Ts'o5b1519b2000-07-06 14:16:08 +00002265 * fsck.c (lookup, load_fs_info, check_all): Use lazy evaluation
2266 for calling interpret_device(), since this requires root
2267 privileges if the partitions need to be scanned.
2268 Otherwise, it's not possible to do non-proot fsck's for
2269 removeable devices such as floppies if there are any
2270 LABEL= or UUID= entries in /etc/fstab.
2271
Theodore Ts'o981dc562000-07-06 14:13:29 +00002272 * badblocks.c (check_mount, main): Check to see if the filesystem
2273 is mounted before doing a read/write or non-destructive
2274 test. This can be overriden using the new -f option.
2275
Theodore Ts'o35964b52000-07-06 13:19:43 +00002276 * badblocks.8.in: Update manual page to reflect that the
2277 blocks-count parameter is now optional. Also properly
Theodore Ts'o981dc562000-07-06 14:13:29 +00002278 document the start-block parameter. Added documentation
2279 for the -f option.
Theodore Ts'o35964b52000-07-06 13:19:43 +00002280
2281 * badblocks.c (main): Allow the blocks-count parameter to be
2282 optional. If it's not specified, use the size of the
2283 device as a default.
2284
Theodore Ts'od49a22b2000-07-06 00:31:27 +000022852000-07-05 Theodore Ts'o <tytso@valinux.com>
2286
2287 * badblocks.c (test_nd): Significantly simplify the logic so that
2288 it's more obviously what's going on. Fixed a few
2289 potential cases which weren't handled correctly in the
2290 old, overly complicated logic.
2291 (flush_bufs): Now doesn't take a second argument, and
2292 always forces a sync; this is required before it's really
2293 safe to call BLKFLSBUF, at least for some kernels.
2294
Theodore Ts'o26ab5312000-05-29 15:05:42 +000022952000-05-29 Theodore Ts'o <tytso@valinux.com>
2296
2297 * mke2fs.c (PRS): Add a much more specific error message if the
2298 filesystem size is defaulted and get_device_size returns a
2299 size of zero. Otherwise, users get a confusing "invalid
2300 argument while passed to ext2 library" error message.
2301
Theodore Ts'o4ea0a112000-05-08 13:33:17 +000023022000-05-08 Theodore Ts'o <tytso@valinux.com>
2303
Theodore Ts'oc96e5112000-05-08 14:47:15 +00002304 * fsck.c (interpret_device): Add better error messages if a UUID=
2305 or LABEL= specification is given.
2306
Theodore Ts'o4ea0a112000-05-08 13:33:17 +00002307 * mke2fs.c (main): We forcibly turn off the filetype feature if
2308 the OS is the hurd, since the hurd doesn't support it.
2309 (And since the hurd allows the transmogrification of files
2310 to special files and vice versa --- for no good reason
2311 that I can understand --- it can't support the filetype
2312 feature for the forseeable future, either.)
2313
2314 * mke2fs.c (proceed_question): Fix reversed sense of
2315 proceed_question that was busted due to the
2316 internationalization patch. Fixed bug where if
2317 proceed_question was called twice, the input buffer wasn't
2318 cleared of the previous question's newline.
2319
Theodore Ts'oe2207ce2000-04-06 21:51:18 +00002320Thu Apr 6 17:50:25 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
2321
2322 * badblocks.c (flush_bufs): Use fsync() if the system doesn't
2323 support fdatasync().
2324
Theodore Ts'offe4cab2000-04-03 13:27:41 +000023252000-04-03 Theodore Ts'o <tytso@valinux.com>
2326
Theodore Ts'o373b8332000-04-03 16:22:35 +00002327 * badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c,
2328 uuidgen.c: For platforms that don't define optarg.h,
2329 manually define optarg and optind.
2330
Theodore Ts'o4d003982000-04-03 16:01:11 +00002331 * badblocks.8.in: Updated manual page with suggestions from David
2332 Beattie.
2333
2334 * badblocks.c (test_nd): Generalized cleanup and bug-fixes. We
2335 now explicitly clear out the signal handlers to prevent a
2336 longjmp to a deactivated stack frame.
2337 (test_rw): Fixed a signed vs. unsigned comparison error.
2338
Theodore Ts'offe4cab2000-04-03 13:27:41 +00002339 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, lsattr.1.in,
2340 mklost+found.8.in, tune2fs.8.in: Update Remy Card's e-mail
2341 address.
2342 chattr.1.in: Update which attributes aren't supported.
2343
Theodore Ts'oe1a0a3e2000-02-11 05:00:19 +000023442000-02-09 Theodore Ts'o <tytso@valinux.com>
2345
2346 * chattr.1.in:
2347 * lsattr.1.in: Change "version" to "version/generation number".
2348
2349 * chattr.1.in: Fix stupid file vs filesystem typo.
2350
2351 * tune2fs.c Fix spelling error (spare vs sparse).
2352
2353 * mke2fs.c (PRS): Add safety check to make sure the number of
2354 blocks doesn't exceed 32 bits on a 64 bit machine.
2355
2356 * chattr.c: Random cleanup; file-only variables are now static.
2357 Options for setting/clearings flags put into order, and
2358 #ifdef's removed (since we now use a built-in header
2359 file). Add error message if user tries to set and reset
2360 the same flag.
2361
2362 * lsattr.c: Random cleanup; file-only variables are now static.
2363 The -l "long" listing has been changed to look nicer.
2364 Options names have been renamed to be more descriptive.
2365
Theodore Ts'odd018f52000-02-06 23:57:07 +000023662000-02-06 Theodore Ts'o <tytso@valinux.com>
2367
Theodore Ts'od9c56d32000-02-08 00:47:55 +00002368 * badblocks.c, chattr.c, dumpe2fs.c, e2label.c, findsuper.c,
2369 fsck.c, get_device_by_label.c, lsattr.c, mke2fs.c,
2370 mklost+found.c, nls-enable.h, partinfo.c, tune2fs.c,
2371 uuidgen.c: Add Internationalization support as
2372 suggested by Marco d'Itri <md@linux.it>.
2373
Theodore Ts'odd018f52000-02-06 23:57:07 +00002374 * badblocks.c: Fix non-destructive read/write patches from David
2375 Beattie. Non-standard variable-length automatic arrays
2376 removed. Non-destrutive write test fixed so that logic is
2377 clearer and more provably correct. (I believe the old
2378 code had a bug where the disk data wasn't restored if it
2379 was interrupted at the wrong time.)
2380
2381 * badblocks.8.in: Document new options in man page.
2382
Theodore Ts'ob4ee1fb2000-02-02 19:08:51 +000023832000-02-02 Theodore Ts'o <tytso@valinux.com>
2384
2385 * fsck.c (interpret_device): If there was an attempt to interpret
2386 a device specification of the type "UUID=" or "LABEL=",
2387 and it fails, check to see if /proc/partitions is
2388 readable. If not, print a warning message about /proc
2389 perhaps not being mounted, and exit.
2390
2391 * mke2fs.c (check_plausibility): Remove unneeded #include of
2392 linux/fs.h. Add #define of MAJOR if necessary.
2393
2394 * partinfo.c: Remove unneeded #include of linux/fs.h
2395
Theodore Ts'o582134c2000-01-19 13:26:23 +000023962000-01-19 Theodore Ts'o <tytso@valinux.com>
2397
2398 * tune2fs.c (usage): Update the usage message to correctly
2399 document the -s option.
2400
Theodore Ts'o879ac922000-01-18 20:59:11 +000024012000-01-18 Theodore Ts'o <tytso@valinux.com>
2402
2403 * badblocks.c: Folded in patches David Beattie <dbeattie@usa.net>.
2404 Need to do cleanup before release: use of GCC extensions
2405 (dynamic arrays); unclean coding tricks (use of || instead
2406 of if statements, etc.). Comments from David Beattie:
2407
2408 "I added non-destructive write-testing, and quite a few
2409 other features. The non-destructive write testing,
2410 triggered by new "-n" command-line option, will write test
2411 patterns to the disk, but only after reading data off the
2412 disk into memory. Then, comparing the test patterns gives
2413 a result as to whether or not those sectors are reliable.
2414 Finally, the original data is written back.
2415
2416 To streamline this operation, I added another option, "-c
2417 blocks_at_once", which will give the number of disk blocks
2418 to process at one time (mnemonic--"count"). I made this
2419 default to 16 (as in the read-only testing mode), and also
2420 affect the read-only testing mode. Of course, read-only
2421 mode needs (count * block_size) amount of memory, and
2422 non-destructive read-write needs 3 times that much, so it
2423 makes sense to do the calculations and not overrun
2424 available RAM...I would have liked to implement and
2425 auto-memory-usage heuristic, but I have no idea if it's
2426 even possible to determine the amount of free memory on a
2427 Unix system except by reading /proc entries, and that
2428 didn't seem portable. I did NOT make this blocks_at_once
2429 affect the behavior of the test_rw routine, as it is
2430 processing the whole disk at once, anyway.
2431
2432 I *think* that I got higher detection rates on my hard
2433 drive using random test data than patterned test data, so
2434 my non-destructive mode initializes its test data buffer
2435 randomly.
2436
2437 I fixed a typo in flush_bufs that caused the ioctl
2438 BLKFLSBUF to never get compiled into the program.
2439
2440 Also, I added an "undocumented" (I didn't put it into the
2441 usage message; you can if you think it's useful) "-h"
2442 option to specify the host device to flush--useful if you
2443 want to test out my "non-destructive" code on something
2444 other than a hard drive, such as a file on a hard drive,
2445 and want the host hard drive to flush.
2446
2447 I provided support for an "input" file (via option "-i",
2448 similar to the "-o" option)...containing a list of
2449 already-known bad blocks; it will skip testing those
2450 blocks, thus adding speed to the bad block scan (on my
2451 computer, hitting a physically bad block causes a
2452 half-second-or-more freeze as the kernel waits for the
2453 hard drive to give up and reset itself; pretty annoying
2454 when you already know the block is bad from a previous
2455 scan).
2456
2457 Finally, the real killer, the persistent re-scan (option:
2458 "-p num_passes") that I created will, if desired,
2459 persistently re-scan the drive until it has completed a
2460 user-decidable number of passes in a row during which no
2461 new bad blocks are found. On my drive, I would see
2462 behavior that a certain percentage of bad blocks would be
2463 found with each pass (it was not reliable in the defective
2464 areas!), so I wanted it to check it over and over again
2465 until it didn't find any more, several times. Perhaps
2466 this will be useful to others. Defaults of course to
2467 zero, meaning it will stop after the first pass. I used
2468 "-p 2" on my drive, and it ran for 2 1/2 days...then used
2469 "-p 3" a couple days later and it ran for a few more
2470 hours, and since then the rest of my drive has been
2471 completely reliable.
2472
2473 Implementation of these last two features, "-i" and "-p",
2474 I did using a bb_list from libext2fs. I debated whether
2475 bad blocks input through "-i" should be output into the
2476 "-o" file (or stdout, of course), and decided against it,
2477 but left the code to do so in place, commented out, just
2478 for your information.
2479
2480 In order to maintain data integrity upon interruption of a
2481 non-destructive-write test, I created a signal handler
2482 which I install which will write back whatever original
2483 disk data is in the buffers upon any of the fatal signals
2484 (except SIGKILL, of course).
2485
2486 Of course, ideally, the new options would be reflected in
2487 the badblocks manual page, but I am not experienced at
2488 manual page modification; if you decide my patch to
2489 badblocks should be incorporated into the distribution, I
2490 could learn how to update the manpage and other
2491 documentation, or you could do it for me after exercising
2492 your opinions, if you have any, on exactly what the
2493 command-line parameters should be called and which ones
2494 should be in the distribution."
2495
Theodore Ts'o3cb77842000-01-18 16:30:27 +000024962000-01-07 Theodore Ts'o <tytso@valinux.com>
2497
2498 * Really fix the bug where "fsck -As" will actually allow
2499 interactive fsck's. (For those people who like to do
2500 interactive fsck's in the /etc/rc scripts!?!)
2501
Theodore Ts'obfd21931999-11-23 13:48:58 +000025021999-11-23 <tytso@valinux.com>
2503
2504 * tune2fs.8.in: Fix man page so that the sparse_super filesystem
2505 option is properly named.
2506
Theodore Ts'o6733c2f1999-11-23 02:23:30 +000025071999-11-22 <tytso@valinux.com>
2508
2509 * mke2fs.c: Change log2() and log10() to int_log2() and
2510 int_log10() to avoid namespace collisions. Change #ifdef
2511 sparc to #ifdef __sparc__.
2512
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +000025131999-11-19 <tytso@valinux.com>
2514
2515 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
2516 the source directory.
2517
Theodore Ts'o6fdc7a31999-11-10 13:34:40 +000025181999-11-10 <tytso@valinux.com>
2519
Theodore Ts'ocd086361999-11-10 16:00:39 +00002520 * Release of E2fsprogs 1.18
2521
25221999-11-10 <tytso@valinux.com>
2523
Theodore Ts'o6fdc7a31999-11-10 13:34:40 +00002524 * mke2fs.8.in: Update manual page so that the sparse_option
2525 filesystem option is properly named.
2526
Theodore Ts'o6a35ffa1999-11-04 22:34:43 +000025271999-11-04 <tytso@valinux.com>
2528
2529 * fsck.c (main): Move setting of the interactive flag to before
2530 the call to check_all(), so that people who try to use
2531 fsck -As can do so interactively.
2532
Theodore Ts'o36caf251999-10-26 14:29:22 +000025331999-10-26 <tytso@valinux.com>
2534
Theodore Ts'o28e11941999-10-26 18:17:20 +00002535 * Release of E2fsprogs 1.17
2536
25371999-10-26 <tytso@valinux.com>
2538
Theodore Ts'o3bc03661999-10-26 17:17:00 +00002539 * fsck.c (PRS, device_already_active): Add debugging hook; if the
2540 environment variable FSCK_FORCE_ALL_PARALLEL is set, then
2541 force all fsck runs to happen in parallel.
2542
Theodore Ts'o36b01301999-10-26 14:38:36 +00002543 * get_device_by_label.c (has_right_label): Fixed bug where code
2544 used a strncmp to compare a binary UUID value which may
2545 contain a NULL. Fixed GCC warnings; added const to char *
2546 typed variables. Eliminated non-portable use of u_char.
2547
Theodore Ts'o4a600561999-10-26 14:35:51 +00002548 * mke2fs.c (PRS): Fix gcc warnings; add const to some char *
Theodore Ts'o9094f281999-10-26 16:42:50 +00002549 variables, including in struct mke2fs_defaults.
2550 (set_fs_defaults): Changed parameter name to avoid
2551 gcc warnings.
Theodore Ts'o4a600561999-10-26 14:35:51 +00002552
Theodore Ts'ob5135711999-10-26 14:33:24 +00002553 * fsck.c (wait_one): Fix gcc warnings; add #include for ctype.h,
2554 add const to char * variables, and use NOARGS to declare
2555 functions that take no arguments. Also fix a memory leak
2556 in execute() where we weren't freeing argv[] after forking
2557 the child process.
2558
Theodore Ts'o36caf251999-10-26 14:29:22 +00002559 * chattr.c: Add hack to compile in a definition for S_ISLNK so we
2560 can successfully compile even with warnings turned on.
2561
Theodore Ts'oad6783d1999-10-26 01:58:54 +000025621999-10-25 <tytso@valinux.com>
2563
2564 * mke2fs.c (show_stats): Capitalized Hurd to make the GNU types
2565 happy.
Theodore Ts'oe6597041999-10-26 02:30:16 +00002566 (PRS): Use __u64 instead of long long for portability
2567 reasons. Also moved #include of sys/stat.h inside #ifdef
2568 HAVE_LINUX_MAJOR_H for portability reasons.
Theodore Ts'oad6783d1999-10-26 01:58:54 +00002569
2570 * fsck.c (execute): Fix really stupid bug in the linked list
2571 management which caused fsck in parallel mode to go into
2572 an infinite loop.
2573
Theodore Ts'o896938d1999-10-23 01:04:50 +000025741999-10-22 <tytso@valinux.com>
2575
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002576 * Release of E2fsprogs 1.16
2577
25781999-10-22 <tytso@valinux.com>
2579
Theodore Ts'o896938d1999-10-23 01:04:50 +00002580 * tune2fs.c (main): Add a new option -O which allows the user to
2581 set and clear certain "safe" filsystem feature flags.
2582 Currently, the only ones which are supported for
2583 modification are sparse_superblock and filetype.
2584
2585 * mke2fs.c (PRS): Add new option -O which allows the user to
2586 request filesystems with specific filesystem options. By
2587 default on 2.2 and later systems, create filesystems that
2588 have both file type information and sparse superblocks.
2589
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000025901999-10-21 <tytso@valinux.com>
2591
2592 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
2593 fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
2594 tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
2595 format (bold option flags and italicized variables), as
2596 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
2597
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +000025981999-10-14 <tytso@valinux.com>
2599
Theodore Ts'o671cbfa1999-10-20 18:14:23 +00002600 * tune2fs.c (main): Fix typo (double spaces) in messages regarding
2601 changing the sparse superblock option
2602
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +00002603 * fsck.c (wait_one): If the fsck process just started, wait a
2604 second before sending a SIGUSR1, to give it a chance
2605 to set the signal handler; otherwise, fsck will die on an
2606 unhandled SIGUSR1.
2607
26081999-09-15 <tytso@valinux.com>
Theodore Ts'o76714331999-10-20 18:06:29 +00002609
2610 * mke2fs.c (show_stats): Fix display bug when printing out the
2611 number of superblocks. Suggested by Yann Dirson.
2612
Theodore Ts'o27401561999-09-14 20:11:19 +000026131999-09-08 <tytso@valinux.com>
2614
2615 * partinfo.c: Fix minor compilation bugs pointed out by Yann
2616 Dirson.
2617
2618 * mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2
2619 kernels.
2620
2621 * mke2fs.8.in: Add the possible valid block sizes for mke2fs.
2622 Document the -n flag, and the new defaults for the -s
2623 flag.
2624
2625 * dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h
2626 (header-only).
2627
26281999-08-13 <tytso@valinux.com>
2629
2630 * mke2fs.c (PRS): Fix logic for turning on/off the sparse
2631 superblock option.
2632
26331999-07-18 Theodore Ts'o <tytso@valinux.com>
Theodore Ts'o657cb971999-07-30 23:19:10 +00002634
2635 * Release of E2fsprogs 1.15
2636
Theodore Ts'o50787ea1999-07-19 15:30:21 +000026371999-07-18 <tytso@rsts-11.mit.edu>
2638
2639 * mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows
2640 the user to specify the how the filesystem is to be used.
2641 Mke2fs now chooses the filesystem parameters automatically
2642 based on the size of the filesystem and the intended use
2643 of the filesystem. Add new option -n which simply goes
2644 through the calculations to determine the parameters of
2645 the filesystem the system would make.
2646
26471999-07-18 <tytso@valinux.com>
2648
2649 * fsck.c, fsck.h: Add support for new option -C. This option will
2650 automatically manage e2fsck processes so that they will
2651 print completion/progress bars. If multiple filesystems
2652 are being checked, arrange to make sure that only one
2653 e2fsck process is displaying a progress bar at a time.
2654
26551999-07-08 <tytso@valinux.com>
Theodore Ts'o9f10a7b1999-07-16 10:41:36 +00002656
2657 * badblocks.c (do_test): Don't complain if the write error occurs
2658 on a non-block boundary. This is perfectly common when
2659 using blocksizes larger than 1k.
2660
Theodore Ts'oc54b3c31999-07-03 07:20:06 +000026611999-07-03 <tytso@valinux.com>
Theodore Ts'o5dbb0721999-07-03 06:16:06 +00002662
2663 * uuidgen.c: Add option parsing so that user can ask for either a
2664 time-based UUID or a random-based UUID.
2665
Theodore Ts'oc54b3c31999-07-03 07:20:06 +000026661999-07-02 <tytso@valinux.com>
Theodore Ts'o2d8defd1999-07-03 01:59:42 +00002667
2668 * fsck.c: Added support for LABEL= and UUID= specifications for
2669 the filesystem's device, to match what recent mount
2670 programs can support. Also, close stdin when doing fsck
2671 -A or when checking more than one filesystem at a time, so
2672 that e2fsck doesn't try to ask interactive questions if
2673 the filesystem appears to be mounted.
2674
2675 * get_device_by_label.c: New file added to support LABEL=foo and
2676 UUID=bar type specifications.
2677
Theodore Ts'o00eedba1999-07-03 00:45:58 +000026781999-07-01 <tytso@valinux.com>
2679
2680 * badblocks.c: Make the "done" string include enough spaces to
2681 clear out a large block number.
2682
Theodore Ts'oca3c3281999-06-29 14:37:35 +000026831999-06-29 <tytso@valinux.com>
2684
2685 * mke2fs.c (check_mount): Allow a filesystem to be made even if it
2686 appears mounted if the force option is given.
2687
Theodore Ts'oe72a9ba1999-06-25 15:40:18 +000026881999-06-24 <tytso@valinux.com>
2689
2690 * mke2fs.8.in: Fix typo in man page which caused the badblocks
2691 command to not show up in the "SEE ALSO" section.
2692
Theodore Ts'oe2423cc1999-06-18 00:51:31 +000026931999-05-02 <tytso@rsts-11.mit.edu>
2694
2695 * findsuper.c: Added documentation from aeb@cwi.nl; some minor
2696 code cleanups.
2697
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000026981999-05-20 <tytso@rsts-11.mit.edu>
2699
2700 * dumpe2fs.c, dumpe2fs.8.in: Added new command-line options which
2701 allow a filesystem expert to specify the superblock and
2702 blocksize when opening a filesystem. This is mainly
2703 useful when examining the remains of a toasted filesystem.
2704
Theodore Ts'o5d45d801999-03-16 19:35:19 +000027051999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca>
2706
2707 * uuidgen.c, uuidgen.1.in: Created command-line utility to
2708 generate UUIDs.
2709
27101999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
2711
2712 * fsck.c (fsck_device, execute): Don't dereference a null pointer
2713 when checking a filesystem not in /etc/fstab.
2714
Theodore Ts'o7d5633c1999-02-09 08:14:28 +000027151999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2716
2717 * fsck.c (fsck_device): Print an error message if the user passes
2718 in a device or directory name which isn't found in /etc/fstab.
2719 Allow the location of /etc/fstab to be overridden by
2720 the FSTAB_FILE environment variable.
2721
27221999-01-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2723
2724 * mke2fs.c (write_inode_tables): Add kludge code so that when the
2725 MKE2FS_SYNC environment variable is set, mke2fs will sync
2726 every MKE2FS_SYNC block groups, while it is writing out
2727 the inode tables. This is to work around a VM bug in the
2728 2.0 kernel. I've heard a report that a RAID user was able
2729 to trigger it even using a 2.2 kernel.
2730
Theodore Ts'oee922991999-01-16 05:39:12 +000027311999-01-16 Theodore Ts'o <tytso@rsts-11.mit.edu>
2732
2733 * fsck.c (execute, wait_one): Modified routines so that they
2734 accurately create an fsck_instance even when the noexecute
2735 flag is set. This allows for accurate debugging of the
2736 fsck pass structure.
2737 (check_all): When the verbose flag is given twice, print
2738 debugging information about when fsck is waiting for jobs
2739 to finish.
2740
Theodore Ts'o7953f611999-01-09 05:03:52 +000027411999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2742
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00002743 * Release of E2fsprogs 1.14
2744
27451999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2746
Theodore Ts'o7953f611999-01-09 05:03:52 +00002747 * fsck.8.in: Clarified and expanded the documentation for the -A
2748 switch.
2749
Theodore Ts'o665f7101999-01-08 13:33:39 +000027501999-01-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
2751
2752 * fsck.c (load_fs_info): If the pass number field is missing, it
2753 needs to be treated as zero.
2754
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +000027551999-01-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
2756
Theodore Ts'o8d641742001-05-14 04:12:27 +00002757 * mke2fs.c (PRS): Add -N option to allow the user to specify
2758 exactly how many inodes he/she wishes.
Theodore Ts'o5515e6b1999-01-05 07:25:06 +00002759
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +00002760 * chattr.c, lsattr.c: Only print the version information for the
2761 program if the -V option is given.
2762
2763 * chattr.c: Ignore symbolic links when doing a recursive descent
2764 through a directory.
2765
Theodore Ts'o93ab9d71999-01-02 04:04:42 +000027661999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
2767
2768 * fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines
2769 are commented out. Also allow blank lines in the
2770 /etc/fstab file.
2771 (execute): In verbose mode, print the mountpount of the
2772 filesystem which we are checking (user request).
2773
27741998-12-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2775
2776 * mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
2777 compatibility with Linux 1.2.13 header files.
2778
Theodore Ts'o556ad131998-12-19 08:10:58 +000027791998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
2780
2781 * Release of E2fsprogs 1.13
2782
Theodore Ts'ocb620171998-12-08 02:21:29 +000027831998-12-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
2784
2785 * mke2fs.8.in: Fixed stupid typo ("Raid options are _comma_
2786 seperated", instead of common separated)
2787
Theodore Ts'o5a679c81998-12-03 16:40:38 +000027881998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
2789
2790 * Makefile.in: Updated dependencies.
2791
27921998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
2793
2794 * fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of
2795 relying on getmntent(). This has the advantage of
2796 allowing us to properly handle missing pass numbers correctly.
2797
Theodore Ts'o1dde43f1998-11-14 04:18:28 +000027981998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
2799
2800 * tune2fs.8.in: Fix minor display bug in the nroff.
2801
2802 * mke2fs.c (show_stats, write_inode_tables): Use the log10
2803 function to calculate the display of block numbers so that
2804 things look nice on an 80 character display.
2805
28061998-10-12 Theodore Ts'o <tytso@rsts-11.mit.edu>
2807
2808 * mke2fs.c (usage): Add the sparse-super-flag to the usage
2809 message.
2810
Theodore Ts'o4a5fa191998-07-09 05:42:45 +000028111998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2812
2813 * Release of E2fsprogs 1.12
2814
Theodore Ts'oeb5ab741998-07-04 17:47:52 +000028151998-07-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
2816
2817 * findsuper.c (main): Print the block group number which is now
2818 being written by e2fsprogs.
2819
Theodore Ts'o818180c1998-06-27 05:11:14 +000028201998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu>
2821
2822 * fsck.c (ignore): Remove unused variable cp.
2823
2824 * chattr.c (fatal_error):
2825 * tune2fs.c (usage):
2826 * lsattr.c (usage):
2827 * dumpe2fs.c (usage):
2828 * badblocks.c (usage): Remove volatile from declaration.
2829
2830 * fsck.c: Change use of strdup to be string_copy, since we don't
2831 trust what glibc is doing with strdup. (Whatever it is,
2832 it isn't pretty.)
2833
28341998-06-19 Theodore Ts'o <tytso@rsts-11.mit.edu>
2835
2836 * mke2fs.c (PRS): Add a -V option which prints the version number
2837 and exit.
2838
Theodore Ts'o4bf5fbf1998-05-14 22:43:10 +000028391998-05-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
2840
2841 * fsck.c (ignore): Remove check for filesystems with the noauto
2842 option.
2843
Theodore Ts'o7e44f241998-04-01 03:16:29 +000028441998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2845
2846 * Makefile.in: Change to use new installation directory variables
2847 convention. Fix uninstall rules to take $(DESTDIR) into
2848 account. Remove cat8dir and cat1dir from the installdirs
2849 target, since modern man package don't necessarily put the
2850 cat directory in /usr/man/cat?.
2851
Theodore Ts'oa789d841998-03-30 01:20:55 +000028521998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
2853
Theodore Ts'o3b27db91998-03-30 01:32:10 +00002854 * e2label.8.in: New man page to document the e2label function.
2855
Theodore Ts'oa789d841998-03-30 01:20:55 +00002856 * e2label.c: Fix -Wall warning by making functions static.
2857
28581998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
2859
2860 * chattr.1.in: Document that the append-only attribute may
2861 only be set or cleared by the superuser.
2862
2863 * Update all manual pages to that the availability section is
2864 up-to-date.
2865
2866 * e2label.8.in, tune2fs.8.in: Update manual page to state that
2867 labels must be no longer than 16 characters, or they will
2868 be truncated.
2869
2870 * e2label.c (change_label), tune2fs.c (main): If the label is
2871 longer than 16 characters, print a warning message stating
2872 that the label will be truncated.
2873
2874 * mke2fs.c (PRS): If the user specifies a filesystem size, and
2875 it's larger than the apparent size of the device, print a
2876 warning message and ask if the user wants to proceed.
2877
Theodore Ts'obbfa3aa1998-03-21 07:12:46 +000028781998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu>
2879
2880 * mke2fs.c (check_plausibility): Fixed spelling typo in warning
2881 message. Fixed up -Wall warnings in file.
2882
Theodore Ts'oe9271681998-03-09 03:23:51 +00002883Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
2884
2885 * partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an
2886 int.
2887
Theodore Ts'o92bcc591998-02-16 22:29:34 +00002888Sun Feb 1 16:53:36 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
2889
2890 * badblocks.8: Update documentation to note that output format
2891 of badblocks is suitable for use with e2fsck -l or
2892 mke2fs -l.
2893
2894 * mke2fs.c (handle_bad_blocks): Fix bug so that all groups with
2895 bad superblock backup blocks are printed (not just the
2896 first one).
2897
Theodore Ts'oca8abba1998-01-19 14:55:24 +00002898Mon Dec 1 17:01:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2899
2900 * badblocks.8.in: Add documentation for the -s option.
2901
Theodore Ts'o519149f1997-10-25 03:49:49 +00002902Fri Oct 24 23:37:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2903
2904 * fsck.c:
2905 * chattr.c: Remove #include of getopt.h, since it's not needed.
2906
2907 * tune2fs.c (main):
2908 * lsattr.c (main):
2909 * badblocks.c (main):
2910 * dumpe2fs.c (main):
2911 * mke2fs.c (PRS): Make the variable which getopt returns into be
2912 an int, so that it won't lose on platforms where char is
2913 unsigned.
2914
Theodore Ts'od163b091997-10-03 17:42:28 +00002915Fri Oct 3 13:38:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2916
2917 * mke2fs.c (parse_raid_opts): Make parse_raid_opts return a void,
2918 to fix a -Wall warning.
2919
Theodore Ts'o00e54331997-09-16 02:13:52 +00002920Mon Sep 15 22:07:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2921
2922 * tune2fs.c (main):
2923 * mklost+found.c (main):
2924 * lsattr.c (main):
2925 * dumpe2fs.c (main):
2926 * chattr.c (main):
2927 * badblocks.c (main): Declare main to return an int, as required.
2928 Make sure main always ends with an exit(0). (Some
2929 programs weren't doing this, and thus were returning a
2930 random exit value.)
2931
Theodore Ts'oab6b8ab1997-07-14 19:28:55 +00002932Mon Jul 14 15:27:29 1997 Theodore Y. Ts'o <tytso@mit.edu>
2933
2934 * e2label.c: New file contributed by Andries Brouwer which
2935 provides an easy-to-use interface to modify the filesystem
2936 label.
2937
2938 * Makefile.in (SPROGS): Add Makefile support to build e2label
2939
Theodore Ts'o024996c1997-06-17 05:38:35 +00002940Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2941
2942 * Release of E2fsprogs 1.11
2943
Theodore Ts'oe22d4611997-06-17 03:57:27 +00002944Mon Jun 16 23:37:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2945
2946 * mke2fs.c (show_stats): Adjust the number of columns printed when
2947 displaying the superblock backups to avoid running over
2948 80 columns when making a really big disk.
2949
Theodore Ts'of635d7f1997-05-09 02:50:16 +00002950Thu May 8 22:22:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2951
Theodore Ts'o583ccdc1997-05-09 03:06:31 +00002952 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, fsck.8.in,
2953 mke2fs.8.in, tune2fs.8.in: Fix minor typos and grammer
2954 oops found by Bill Hawes (whawes@star.net).
2955
Theodore Ts'of635d7f1997-05-09 02:50:16 +00002956 * mke2fs.c (test_disk): Pass the blocksize to the bad blocks
2957 command so that all of the filesystem gets tested in the
2958 case where the blocksize 2048 or 4096.
2959
Theodore Ts'oa29f4d31997-04-29 21:26:48 +00002960Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2961
2962 * Release of E2fsprogs version 1.10
2963
2964Thu Apr 24 09:52:47 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2965
2966 * mke2fs.c: Added new option -R, which specifies RAID options.
2967 Currently the only supported RAID option is "stride" which
2968 specifies the stripe width in RAID filesystem. This is
2969 used to aid in the placement of the inode and block
2970 bitmaps.
2971
2972 * mke2fs.8.in, tune2fs.8.in: Added warnings that the sparse
2973 superblock option isn't yet supported by most kernels.
2974
2975Wed Apr 23 22:42:51 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2976
2977 * mke2fs.c (PRS): Make the default filesystem revision be 0, not
2978 1. (Since some people are still worried about 1.2.13
2979 compatibility).
2980
2981Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2982
2983 * Release of E2fsprogs version 1.09
2984
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +00002985Fri Apr 11 18:57:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2986
2987 * chattr.1.in: Updated man page so that the 'A' attribute is
2988 specified everywhere.
2989
2990 * chattr.c (usage): Added usage message for the 'A' attribute.
2991
2992Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2993
2994 * Release of E2fsprogs version 1.08
2995
Theodore Ts'o521e3681997-04-29 17:48:10 +00002996Thu Apr 10 07:08:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2997
2998 * dumpe2fs.c (list_desc): List the offsets of the inode and block
2999 bitmaps, and the inode table. List the block boundaries
3000 for the groups.
3001
3002Sat Apr 5 11:55:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3003
3004 * tune2fs.c (main): Implement the -s flag allows the user to
3005 set and reset the sparse superblock flag.
3006
3007 * mke2fs.c (PRS): By default generate DYNAMIC revision
3008 filesystems. The -s flag controls whether or not the
3009 sparse superblock flag is set.
3010 (PRS): Change to allow the user to specify the true
3011 maximum number of blocks per group to reflect the
3012 blocksize.
3013
Theodore Ts'o19c78dc1997-04-29 16:17:09 +00003014Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
3015
3016 * Release of E2fsprogs version 1.07
3017
3018Thu Mar 6 17:15:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3019
3020 * mke2fs.c (create_root_dir): Set the root directory's i_uid and
3021 i_gid to be the real user and group id.
3022
3023Tue Mar 4 10:14:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3024
3025 * mke2fs.c (check_plausibility): Add more intelligent error
3026 messages when the device doesn't exist.
3027
3028Sat Mar 1 10:43:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3029
3030 * fsck.c (main): Fix bug where the PATH environment variable isn't
3031 set when it is unset.
3032
3033Tue Jan 14 12:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3034
3035 * mke2fs.c (write_inode_tables): Fixed bug in write_inode_tables
3036 where a loop variable was getting reused in a nested loop.
3037 This caused the inode table to not be correctly
3038 initialized.
3039
3040Thu Jan 2 00:00:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
3041
3042 * lsattr.c, chattr.c: Include string.h, since we use memcpy().
3043
3044 * findsuper.c: Use time_t for ctime(), not __u32.
3045
3046Sat Dec 28 23:39:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3047
3048 * badblocks.c: Adapted -vv modifications from Rik Faith so that
3049 they frequently update the block number field.
3050
3051 * badblocks.8.in: Document the optional start-block parameter
3052
3053Mon Oct 14 11:52:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3054
3055 * mke2fs.c: Updated to use new ext2fs_allocate_tables() function.
3056
3057Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3058
3059 * Release of E2fsprogs version 1.06
3060
Theodore Ts'o5c576471997-04-29 15:29:49 +00003061Mon Oct 7 00:56:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3062
3063 * chattr.1.in: Documented the 'A' (noatime) attribute.
3064
3065 * dumpe2fs.c (main): Change EXT2_SWAP to EXT2_FLAG_SWAP for
3066 consistency's sake.
3067
3068Sun Sep 22 16:18:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3069
3070 * chattr.c (decode_arg): Add support for the 'A' (noatime) flag.
3071
3072Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3073
3074 * Release of E2fsprogs version 1.05
3075
Theodore Ts'o1e3472c1997-04-29 14:53:37 +00003076Sat Sep 7 07:34:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3077
3078 * tune2fs.c (main): Add support for new option -C, which sets the
3079 current number of mounts.
3080 (main): Allow the interval to be specified in seconds,
3081 mostly for debugging.
3082
3083Tue Aug 27 17:27:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
3084
3085 * Makefile.in (SMANPAGES): Use @FSCK_MAN@ instead of fsck.8.
3086 (SPROGS): Use @FSCK_PROG@ instead of fsck.
3087
3088Thu Aug 22 00:51:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3089
3090 * mke2fs.c (zap_bootblock): Don't do zap_bootblock on a
3091 sparc.
3092
3093Tue Aug 20 00:15:46 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3094
3095 * chattr.c (main): Fixed bug so that chattr -v works. (Bug report
3096 and fix sent by Charles Howes, chowes@eznet.ca)
3097
3098Fri Aug 9 11:52:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3099
3100 * tune2fs.8.in:
3101 * tune2fs.c: Added support for the -L option which sets the volume
3102 label, the -M option which sets the last mounted
3103 directory, and the -U option which sets the filesystem UUID.
3104
3105 * mke2fs.8.in:
3106 * mke2fs.c: Added support for the -o option, which overrides the
3107 creator OS. Generate a UUID for the filesystem, if
3108 applicable. Added support for the -L option which sets
3109 the volume label, and the -M option which sets the last
3110 mounted directory.
3111
3112Sat Jun 22 17:43:17 1996 Remy Card <card@bbj.linux.eu.org>
3113
3114 * chattr.c (decode_arg): Integrated Michael Nonweiler's fix to
3115 avoid a segmentation fault when the "-v" option is used
3116 and no version number is specified.
3117
Theodore Ts'o62c06f71997-04-29 14:34:47 +00003118Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3119
3120 * Release of E2fsprogs version 1.04
3121
3122Wed May 15 21:15:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
3123
3124 * Makefile.in (fsck): fsck doesn't need to be linked with the ext2
3125 libraries.
3126
Theodore Ts'o7f88b041997-04-26 14:48:50 +00003127Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
3128
3129 * Release of E2fsprogs version 1.03
3130
3131Thu Mar 7 03:43:20 1996 <tytso@rsts-11.mit.edu>
3132
3133 * mke2fs.c (PRS): Add (for development only) support to
3134 specify revision and inode size of the new filesystem.
3135
3136Tue Mar 5 03:51:35 1996 <tytso@rsts-11.mit.edu>
3137
3138 * mke2fs.8.in: Fix a few minor typo's in the man page.
3139
3140 * mke2fs.c (reserve_inodes): Add support for dynamic first inode
3141 revision.
3142
3143Mon Feb 5 22:19:49 1996 <tytso@rsts-11.mit.edu>
3144
3145 * fsck.c (check_all, PRS): Added new flag -P, which turns on the
3146 parallel root option. This allows you to check the root
3147 filesystem in parallel with the other filesystems. Note
3148 that this is not the safest thing in the world to do,
3149 since if the root filesystem is in doubt things like
3150 the e2fsck executable might be corrupted! But some
3151 sysadmins, who don't want to repartition the root
3152 filesystem to be small and compact, may really want this
3153 option turned on.
3154
Theodore Ts'o74becf31997-04-26 14:37:06 +00003155Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
3156
3157 * Release of E2fsprogs version 1.02
3158
3159Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu>
3160
3161 * mke2fs.c (check_plausibility): Add check to warn user if they
3162 are trying to mke2fs the whole disk. (/dev/hda
3163 vs. /dev/hda1)
3164
3165Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu>
3166
3167 * fsck.c (check_all): If we break out of the loop because we are
3168 serializing and have just started at fsck we haven't
3169 finished the pass. We need to go round again in case there
3170 are more filesystems to be done in this pass. (Patch
3171 submitted by Mike Jagdis)
3172
3173Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu>
3174
3175 * dumpe2fs.c (in_use): test_bit() was renamed to
3176 ext2fs_test_bit().
3177
Theodore Ts'o297f47a1997-04-26 14:25:20 +00003178Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
3179
3180 * fsck.c (fsck_device): Check fstype instead of type; this was a
3181 stupid typo which caused coredumps in some cases.
3182
Theodore Ts'oa418d3a1997-04-26 14:00:26 +00003183Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
3184
3185 * Makefile.in (install): Strip programs when they are installed.
3186
3187Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
3188
3189 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
3190 so we do the check to see if the filesystem is mounted
3191 *before* we try to determine the size of the device.
3192
3193Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
3194
3195 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
3196 the same order.
3197
3198Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
3199
3200 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
3201 function to determine if the device is mounted.
3202
3203 * mke2fs.c (PRS): Change call to use the new
3204 ext2fs_get_device_size() function in order to determine
3205 the size of the filesystem. Remove get_size() and
3206 is_valid_offset(), which are no longer called.
3207
3208Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
3209
3210 * fsck.c (fsck_device): Make sure fstype has been set by the user
3211 and that it does not begin with "no" and the user has
3212 specified exactly one type before using it as the type to
3213 check.
3214
3215Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
3216
3217 * badblocks.8:
3218 * chattr.1:
3219 * dumpe2fs.8:
3220 * fsck.8:
3221 * lsattr.1:
3222 * mke2fs.8:
3223 * mklost+found.8:
3224 * tune2fs.8: Updated date and version number.
3225
3226Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
3227
3228 * tune2fs.c: Fixed a bug which prevented the use of user and group
3229 names with the -g and -u options. Thanks to Jean Christophe
3230 ANDRE <progfou@mycrob.cafard.freenix.fr>.
3231
3232 * mke2fs.8:
3233 * tune2fs.8: Fixed a spelling error in Ted's name :-)
3234
3235Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
3236
3237 * mke2fs.c (count_blocks): Divide the size by
3238 EXT2_BLOCK_SIZE(&param), instead of assuming that the
3239 blocksize is always 1024 bytes.
3240
3241Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
3242
3243 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
3244 not portable!! In any case putenv() in some systems must
3245 take a static character array or malloc()'ed memory;
3246 passing memory allocated using alloca() to putenv() is not
3247 advisable.
3248
3249 * chattr.c (chattr_dir_proc):
3250 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
3251 alloca is not portable!
3252
3253 * fsck.c (fsck_device): If the filesystem type is specified by the
3254 user using the -t option, let it override the type in
3255 /etc/fstab.
3256
3257 * fsck.c (strdup): Don't build strdup() if the system defines it.
3258
3259Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
3260
3261 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
3262 benefit.
3263
3264 * The $(UPROGS) go in bin, not sbin.
3265
3266 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
3267 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
3268
3269Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
3270
3271 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
3272 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
3273
3274Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
3275
3276 * chattr.c: Include errno.h, since we use errno
3277
3278 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
3279 explicitly initialize filesys_info to be NULL.
3280
3281 * mke2fs.c: Include the stdio.h and errno.h header files
3282
3283Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
3284
3285 * mke2fs.c: Only include <linux/fs.h> if we can.
3286 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
3287 (check_mount): Only check to see if the device is mounted if
3288 HAVE_MNTENT_H is defined (by configure).
3289
3290 * fsck.c (load_fs_info): Only try to get info about filesystems if
3291 HAVE_MNTENT_H is defined (by configure).
3292 (main): Allocate space for a new fsck_path instead of append to a
3293 statically sized buffer.
3294 (PRS): Use alloca to allocate the new path string, instead of
3295 having a fixed size buffer (which was the wrong size anyway).
3296
3297 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
3298 filename instead of using a fixed-size buffer.
3299 * lsattr.c (lsattr_dir_proc): Ditto.
3300 * mklost+fond.c (main): Calculate the actual needed size for the
3301 path buffer instead of using MAXPATHLEN (which not all systems have).
3302
3303 * badblocks.c: Only include linux include files if we have them.
3304 (flush_bufs): New function to flush a block device, optionally
3305 syncing it first. This replaces other copies of this code.
3306 (test_ro): Replace calls to ioctl with flush_bufs().
3307 (test_rw): Ditto.
3308
3309 * Makefile.in: Rewritten to conform to GNU coding standards and
3310 support separate compilation directories.
3311
Theodore Ts'of3db3561997-04-26 13:34:30 +00003312Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
3313
3314 * mke2fs.c (main, zap_bootblock): Added new function
3315 zap_bootblock() which clears the first 512 bytes of the
3316 filesystem. This protects the filesystem from being
3317 misidentified as a MS-DOS FAT filesystem.
3318
3319 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
3320 allocated for printing the block numbers, so that the
3321 display doesn't get corrupted when running badblocks on a
3322 very large partition.
3323
3324 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
3325 ext2_loff_t, so that when checking a large device,
3326 spurious seek errors aren't reported.
3327
3328 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
3329 instead of type int, so that it works for filesystems
3330 greater than 2 GB. (Fortunately count_blocks is only
3331 called if the device does not support the BLKGETSIZE
3332 ioctl, which most do.)
3333
3334 * fsck.c (ignore): Add check to ignore filesystems with a pass
3335 number of zero. (This check was accidentally deleted at
3336 during 0.5b development.)
3337
3338Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
3339
3340 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
3341 option, -S, which only writes the superblock and group
3342 descriptors. Useful for recovering when all of the
3343 superblocks are corrupted somehow (as a last ditch
3344 measure).
3345
3346 Also, don't bother initializing the bitmap blocks in
3347 alloc_tables(), since they will be overwritten at the end
3348 anyway. (Should speed up mke2fs by a little.)
3349
3350Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
3351
3352 * fsck.c (main): Fix stupid typo where a null inst would be freed.
3353
3354 * fsck.c (wait_one): Check WIFEXITED on status before trying to
3355 extract the exit status. In other cases, return
3356 FSCK_ERROR if the back end processor exited with a signal.
3357
3358Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
3359
3360 * tune2fs.c (main): Fixed a bug which prevented the use of the
3361 new options.
3362 Added the `w' (week) suffix recognition in the check interval.
3363
3364Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
3365
3366 * fsck.c (load_fs_info): If the user has an obviously old
3367 /etc/fstab file, issue a warning message and assume that
3368 all partitions should be checked.
3369
3370Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
3371
3372 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
3373 structures.
3374
3375 * mke2fs.c (create_root_dir): Create the root directory owned by
3376 the effective uid.
3377
3378Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
3379
3380 * tune2fs.c (main.c): Added support for new options:
3381 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
3382
3383Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
3384
3385 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
3386
3387Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
3388
3389 * badblocks.c (test_rw): Added verbose output like in the
3390 read-only test.
3391
3392 (do_test and test_rw): Use the llseek system call if available.
3393
3394 * chattr.c: Added support for new attributes.
3395
3396 * lsattr.c: Added support for long format.
3397
3398 * mke2fs.c (usage): Fixed bogus usage message.
3399
3400 (valid_offset): Use the llseek system call if available.
3401
3402Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
3403
3404 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
3405 where a backup superblock/group descriptor is stored. If so,
3406 print a warning message and adjust the superblock counts so that
3407 they are correct. (Otherwise, the bad block will get counted
3408 twice and the # of free blocks count will be wrong.)
3409
3410 (alloc_tables): Removed code which calcualated the free block
3411 statistics, which was moved to lib/ext2fs/initialize.c. This
3412 allows the bad block code to adjust the group descriptor
3413 statistics if necessary.