blob: 421498da5f7dbd56a7522b9ecd1207216a4efe99 [file] [log] [blame]
Theodore Ts'o9dc6ad12006-03-23 22:00:01 -050012006-03-23 Theodore Ts'o <tytso@mit.edu>
2
Theodore Ts'ofcadc8c2006-03-23 22:37:02 -05003 * mklost+found.c (main): Use a larger counter field so that we can
4 create enough directory entries that we can make a full
5 lost+found directory with larger block sizes.
6
Theodore Ts'o9dc6ad12006-03-23 22:00:01 -05007 * mke2fs.conf, mke2fs.conf.5.in: New configuration file which when
8 installed, provides mke2fs's old behaviour. It makes it
9 easier for distributions to change which filesystem
10 options are the default.
11
12 * mke2fs.8.in: Update man page to document how the filesystem
13 features are now set.
14
15 * mke2fs.c: Radically rework how the filesystem features are set
16 when creating filesystems. Use the profile library to
17 read in a configuration file from /etc/mke2fs.conf.
18
19 * util.c (figure_journal_size): If the journal size is 0, assume
20 the journal size is unspecified and figure out the
21 approriate journal size instead of bombing out with an
22 error message.
23
24 * Makefile.in: Build and install the mke2fs.conf(5) man page. Add
25 profile.o from the e2fsck directory to mke2fs executable.
26 Install the configuration file /etc/mke2fs.conf.
27
Theodore Ts'o616059b2006-03-18 20:02:05 -0500282006-03-18 Theodore Ts'o <tytso@mit.edu>
29
Takashi Sato8deb80a2006-03-18 21:43:46 -050030 * dumpe2fs.c, e2image.c, findsuper.c, mke2fs.c: Change printf
31 statements to use %u instead of %d when printing block
32 numbers.
33
Theodore Ts'o616059b2006-03-18 20:02:05 -050034 * mke2fs.c (main): Open the filesystem in exclusive mode while we
35 are initializing it.
36
Theodore Ts'o1aa3d562005-12-31 01:04:40 -0500372005-12-31 Theodore Ts'o <tytso@mit.edu>
38
39 * chattr.1.in: Add notes in the man page to make sure the reader
40 refers to the BUGS AND LIMITATIONS section so that even an
41 idiot will be able to see that some of these attributes
42 are not yet implemented. (Addresses Debian Bug: #312515)
43
Theodore Ts'o9b9a7802005-12-10 21:50:30 -0500442005-12-10 Theodore Ts'o <tytso@mit.edu>
45
46 * dumpe2fs.c, e2image.c, filefrag.c, mke2fs.c: Fix various gcc
47 -Wall complaints.
48
Theodore Ts'ofb733f82005-12-09 18:42:30 -0500492005-12-09 Theodore Ts'o <tytso@mit.edu>
50
51 * mke2fs.8.in: Add more text describing the mke2fs -T option.
52 (Addresses Debian Bug #316811)
53
Theodore Ts'oa5198362005-11-12 23:41:08 -0500542005-11-12 Theodore Ts'o <tytso@mit.edu>
55
56 * fsck.8.in: Add additional fsck.* programs to the SEE ALSO
57 section. Fix missing commas in list. (Addresses Debian
58 Bug #329859)
59
Theodore Ts'o5f51d1c2005-09-24 18:28:00 -0400602005-09-24 Theodore Ts'o <tytso@mit.edu>
61
Theodore Ts'o6a7075d2005-09-24 18:47:39 -040062 * mke2fs.8.in: Fix mke2fs man page to properly document the fact
63 that mke2fs -L takes an argument. (Addresses Debian Bug
64 #322188)
65
Theodore Ts'o5f51d1c2005-09-24 18:28:00 -040066 * badblocks.c: Add extra spaces when printing the "done" message
67 to clear out the block number to fix a display corruption
68 when the -s option is used to display the progress of the
69 test. (Addresses Debian Bug #322231)
70
Andreas Dilgerce911142005-07-06 11:50:08 -0500712005-07-05 Theodore Ts'o <tytso@mit.edu>
72
73 * tune2fs.c, mke2fs.c: Allow fractional percentages when
74 specifying the reserved ratio. (Addresses Debian Bug
75 #80205).
76
Theodore Ts'o1f965c82005-06-30 20:06:45 -0400772006-06-30 Theodore Ts'o <tytso@mit.edu>
78
79 * Release of E2fsprogs 1.38
80
Theodore Ts'o675b79c2005-06-30 20:00:41 -0400812005-06-30 Theodore Ts'o <tytso@mit.edu>
82
83 * mke2fs.c (PRS): Do not support filesystems with more 2**31-1
84 blocks, since there may be kernel bugs with such
85 filesystems.
86
Theodore Ts'od9781ce2005-06-26 22:16:21 -0400872005-06-26 Theodore Ts'o <tytso@mit.edu>
88
89 * tune2fs.8.in: Fix minor typos pointed out by Benno Schulenberg.
90
Theodore Ts'ob7c1d202005-06-20 08:26:50 -0400912005-06-20 Theodore Ts'o <tytso@mit.edu>
92
Theodore Ts'obb145b02005-06-20 08:35:27 -040093 * partinfo.c: Add ioctl definition for BLKGETSIZE so it can be
94 compiled cleanly.
95
96 * findsuper.c: Fix up comments for grammar.
97
98 * dumpe2fs.c (print_journal_information), partinfo.c (main): Add
99 missing _() so all strings can be internationalized.
100
101 * badblocks.c (main), mke2fs.c (parse_extended_opts, PRS),
102 partinfo.c (main), tune2fs.c (usage): Clean up printed
103 messages for grammar and consistency.
104
Theodore Ts'ob7c1d202005-06-20 08:26:50 -0400105 * e2image.8.in: Clean up e2image man page, mostly based on
106 suggestions from Benno Schulenberg.
107
Theodore Ts'od7febfa2005-06-16 14:10:55 -04001082005-06-16 Theodore Ts'o <tytso@mit.edu>
109
110 * mke2fs.c (PRS): Fix missing close parenthesis from bad inode
111 ratio error message.
112
Theodore Ts'o15f50512005-06-05 16:46:19 -04001132005-06-05 Theodore Ts'o <tytso@mit.edu>
114
115 * blkid.8.in: Minor spelling fix.
116
Theodore Ts'o2fa8f372005-06-05 16:05:22 -04001172005-05-29 Theodore Ts'o <tytso@mit.edu>
118
119 * util.c (check_mount): Check the new EXT2_MF_BUSY flag to
120 see if the device is in use by the system.
121
122 * badblocks.c (check_mount): Check the new EXT2_MF_BUSY flag to
123 see if the device is in use by the system. (Works only
124 for Linux 2.6 systems, addresses Debian Bug #308594).
125
Theodore Ts'o8198e792005-05-20 23:10:35 -04001262005-05-20 Theodore Ts'o <tytso@mit.edu>
127
128 * filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ
129 ioctls return an integer, not an unsigned long. Fix this
130 to avoid problems on 64-bit platforms where the size of an
131 integer != the size of a long. (Addresses Debian Bug
132 #309655)
133
Theodore Ts'of35fd3d2005-05-09 16:22:17 -04001342005-05-09 Theodore Ts'o <tytso@mit.edu>
135
Theodore Ts'o7e69ba22005-05-09 22:25:39 -0400136 * util.c (figure_journal_size): Change the default journal size to
137 be bigger for larger filesystems, given modern memory
138 sizes. Now, for filesystems greater than 4GB, we use a
139 journal of 128 MB instead 32 MB.
140
Theodore Ts'of35fd3d2005-05-09 16:22:17 -0400141 * tune2fs.c (main): Fix grammar in message printed when setting
142 the check interval (tune2fs -i)
143
144 * chattr.c: Fix case on usage message.
145
Theodore Ts'oc37543d2005-05-07 13:32:47 -04001462005-05-07 Theodore Ts'o <tytso@mit.edu>
147
148 * blkid.c (main): Use the new functions blkid_dev_set_search() and
149 blkid_dev_has_tag(). Remove compare_search_type() since
150 it has been obseleted by blkid_dev_has_tag().
151
Theodore Ts'oed6acfa2005-05-07 17:06:27 -0400152 * blkid.c (main): Add a new flag, -l, which will use a more
153 efficient method to find the device that matches a
154 particular tag specifier.
155
Theodore Ts'o0af8c332005-05-06 00:10:52 -04001562005-05-06 Theodore Ts'o <tytso@mit.edu>
157
158 * blkid.c (main): Use an int instead of an char to store the
159 return value from getopt() for better portability on
160 systems where char types are unsigned. (Addresses
161 Sourceforge Bug: #1180585)
162
Theodore Ts'obfd97622005-05-05 22:55:20 -04001632005-05-05 Theodore Ts'o <tytso@mit.edu>
164
Theodore Ts'of37ab682005-05-05 23:15:55 -0400165 * badblocks.c (main), mke2fs.c (PRS): Fix error messages by
166 substituting "bad" with "invalid" to avoid confusion with
167 "bad blocks". Thanks to Benno Schulenberg for the patch.
168 (Addresses Sourceforge Bug: #1189803)
169
170 * mke2fs.c (test_disk): Fix grammatical error in error message.
171 Thanks to Benno Schulenberg.
172
173 * mke2fs.c (parse_extended_opts): Print the invalid stride
174 parameter in the error message. Thanks to Benno
175 Schulenberg.
176
177 * fsck.8.in: Fix a few spelling/grammatical errors. Thanks to
178 Benno Schulenberg.
179
Theodore Ts'obfd97622005-05-05 22:55:20 -0400180 * filefrag.c (frag_report): Fix so that when the first block to be
181 found is an indirect block, we don't falsely count an
182 extra discontinuity. (Addresses Debian Bug: #307607)
183
Theodore Ts'o81393672005-04-16 14:05:09 -04001842005-04-16 Theodore Ts'o <tytso@mit.edu>
185
186 * badblocks.8.in, dumpe2fs.8.in, fsck.8.in, tune2fs.8.in: Fix
187 spelling mistakes in man pages. (Addresses Debian Bugs:
188 #304591, #304592, #304594, #304597)
189
Theodore Ts'obcf5aea2005-04-09 00:33:21 -04001902005-04-09 Theodore Ts'o <tytso@mit.edu>
191
Theodore Ts'oa4897d42005-04-09 01:24:04 -0400192 * filefrag.c (frag_report): Don't abort filefrag if
193 EXT3_IOC_GETFLAGS ioctl is not supported, so that filefrag
194 can work on non-ext2/3 filesystems, as advertised.
195 (Addresses Debian Bug: #303509)
196
Theodore Ts'obcf5aea2005-04-09 00:33:21 -0400197 * mke2fs.8.in: Fix minor spelling typo. (Addresses SourceForge
198 Bug #1177804)
199
Theodore Ts'oe27b4562005-03-21 01:02:53 -05002002005-03-21 Theodore Ts'o <tytso@mit.edu>
201
Theodore Ts'ofd4b28e2005-03-21 22:37:03 -0500202 * Release of E2fsprogs 1.37
203
2042005-03-21 Theodore Ts'o <tytso@mit.edu>
205
Theodore Ts'oe27b4562005-03-21 01:02:53 -0500206 * mke2fs.c (create_root_dir): Call ext2fs_write_new_inode() instead of
207 ext2fs_write_inode().
208
Theodore Ts'o63253942005-03-19 01:13:22 -05002092005-03-19 Theodore Ts'o <tytso@mit.edu>
210
211 * mke2fs.c (show_stats): Use the new e2p_os2string() function
212
Theodore Ts'o3d16b3f2005-03-18 20:37:45 -05002132005-03-18 Theodore Ts'o <tytso@mit.edu>
214
215 * filefrag.c (frag_report): Automatically detect files that are
216 stored using the new experimental file fragments format,
217 and use the non-ext2 algorithm for determing the number of
218 extents. Avoid reporting a false discontinuity if there
219 is a non-allocated block (or extent) at the beginning of
220 the file.
221
Theodore Ts'o3eee5e92005-02-05 18:26:03 -05002222006-02-05 Theodore Ts'o <tytso@mit.edu>
223
224 * Release of E2fsprogs 1.36
225
Theodore Ts'o7f1faaa2005-02-04 09:50:41 -05002262005-02-04 Theodore Ts'o <tytso@mit.edu>
227
228 * filefrag.c (frag_report): In verbose mode, print the first and
229 last block numbers; may be useful for some folks.
230
Theodore Ts'o07f031f2005-02-03 20:38:52 -05002312005-02-03 Theodore Ts'o <tytso@mit.edu>
232
233 * tune2fs.c: Define _XOPEN_SOURCE to be 500 to fix compilation
234 problems on Solaris.
235
Theodore Ts'oea774312005-01-28 11:45:28 -05002362005-01-28 Theodore Ts'o <tytso@mit.edu>
237
238 * mke2fs.c (main): Only call create_resize_inode if the resize
239 feature is actually enabled.
240
Theodore Ts'o20953122005-01-27 19:07:26 -05002412005-01-27 Theodore Ts'o <tytso@mit.edu>
242
Theodore Ts'o18d12962005-01-27 19:51:47 -0500243 * blkid.c (main, compare_search_type): Make blkid -t work more
244 consistently when the blkid cache file is explicitly set
245 to /dev/null. (Addresses Debian Bug #292425)
246
Theodore Ts'o84302032005-01-27 19:12:05 -0500247 * mke2fs.c (PRS): Don't use a blocksize greater than 4k, even on
248 2.6 kernels, unless explicitly requested by the user; not
249 all 2.6 kernels (includeing stock 2.6 kernels as of this
250 writing) don't support blocksizes > 4k.
251
Theodore Ts'o20953122005-01-27 19:07:26 -0500252 * mke2fs.c (PRS): If the device size is too big to be expressed
253 using a 1k blocksize, retry with a 4k blocksize.
254 (Addresses Sourceforge bug #1106631)
255
Theodore Ts'o79fc2a92005-01-26 11:37:46 -05002562005-01-26 Theodore Ts'o <tytso@mit.edu>
257
Theodore Ts'of923bf22005-01-26 13:03:55 -0500258 * Makefile.in (uninstall): Make sure "make uninstall" removes
259 everything installed by the makefile.
260
Theodore Ts'o79fc2a92005-01-26 11:37:46 -0500261 * e2image.c (scramble_dir_block): Make sure the unused space
262 in the '.' and '..' directory entries are cleared when
263 e2image -rs is specified.
264
Theodore Ts'ofbc35142005-01-24 23:45:56 -05002652005-01-24 Theodore Ts'o <tytso@mit.edu>
266
267 * tune2fs.8.in: Clarified man page about the -c option.
268
Theodore Ts'o89092922005-01-21 19:11:05 -05002692005-01-21 Theodore Ts'o <tytso@mit.edu>
270
271 * blkid.c (main): Make blkid -t display all devices that match the
272 specified criteria, not just the first one. (Addresses
273 Debian Bug #290530)
274
Theodore Ts'o0aa0e0c2005-01-20 17:37:01 -05002752005-01-20 <tytso@snap.thunk.org>
276
277 * filefrag.c (frag_report): Fix filefrag so that it works
278 correctly with sparse files; unallocated blocks should not
279 be treated as a discontinuity.
280
Theodore Ts'oc6cdada2005-01-19 19:30:01 -05002812005-01-19 Theodore Ts'o <tytso@mit.edu>
282
283 * mke2fs.c (show_stats, set_os): Interpret OS Creator values for
284 FreeBSD and Lites.
285
Theodore Ts'od851ed32005-01-19 00:26:43 -05002862005-01-18 Theodore Ts'o <tytso@mit.edu>
287
288 * e2image.c, e2image.8.in: Add support for the -s option which
289 scrambles directory entries for raw image files.
290
Theodore Ts'o92904042005-01-17 14:32:20 -05002912005-01-17 Theodore Ts'o <tytso@mit.edu>
292
Theodore Ts'o32237012005-01-17 19:13:39 -0500293 * tune2fs.c: On Solaris, defining _XOPEN_SOURCE inexplicably
294 causes struct timeval to be undefined, breaking system
295 header files left and right. But glibc requires
296 _XOPEN_SOURCE in order for strptime() to be defined. So
297 don't define _XOPEN_SOURCE on Solaris systems.
298
Theodore Ts'o92904042005-01-17 14:32:20 -0500299 * filefrag.c (frag_report): Applied patch from Francois Petillon
300 (fantec at proxad.net) to avoid a file descriptor leak.
301
Theodore Ts'o22ba4c12005-01-06 14:05:17 -05003022005-01-06 Theodore Ts'o <tytso@mit.edu>
303
Theodore Ts'oc76564a2005-01-06 14:48:59 -0500304 * badblocks.c (alarm_intr): Increase the number of spaces reserved
305 for printing block numbers, so we can correctly display
306 block numbers numbers greater than 999,999,999.
307 (Addresses SourceForge bug #1016163)
308
Theodore Ts'o22ba4c12005-01-06 14:05:17 -0500309 * tune2fs.c (main): When specifying the number of reservered
310 blocks that can only be allocated by root, enforce a 50%
311 limit so that the user can't accidentally make a
312 superblock which e2fsck will think is insane.
313
Theodore Ts'o55f4cbd2005-01-05 03:01:06 -05003142005-01-05 Theodore Ts'o <tytso@mit.edu>
315
Theodore Ts'o22dcccd2005-01-05 13:43:29 -0500316 * fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from
317 e2fsprogs-1.35-11.2. Fixed multiple command-line parsing
318 bugs so that backwards compatibility is maintained, and so
319 that certain command-line options wouldn't be ignored.
320
Theodore Ts'oc6a44132005-01-05 11:12:20 -0500321 * mke2fs.c (parse_extended_opts): Rename the -R option to -E. Fix
322 the resize= raid/extended option so it actually works.
323 (The patch from Fedora e2fsprogs-1.35-11.2 claimed it
324 worked, but it was a placebo option, despite the claim
325 that it worked in the usage message.)
326
Theodore Ts'o6e82cd72005-01-05 03:02:54 -0500327 * e2initrd_helper.c: Fix gcc -Wall nits.
328
329 * e2image.c (main): Fix gcc -Wall nits. Fix e2image so that
330 e2image -I has an exit code of 0 when it is successful.
331
Theodore Ts'o55f4cbd2005-01-05 03:01:06 -0500332 * mke2fs.c (PRS, parse_r_opts): Use parse_num_blocks() from the
333 e2p library to parse the number of blocks from the command
334 line.
335
Theodore Ts'o35238dd2004-12-23 13:54:28 -05003362004-12-23 Theodore Ts'o <tytso@mit.edu>
337
338 * dumpe2fs.c (list_desc): If reserved GDT blocks are present,
339 display them along with the other filesystem meta blocks.
340
Theodore Ts'oc88bce82004-12-22 00:49:06 -05003412004-12-22 Theodore Ts'o <tytso@mit.edu>
342
343 * fsck.c (main): Check return from malloc of fsck_path string.
344
Theodore Ts'o690e6932004-12-21 20:40:08 -05003452004-12-21 Theodore Ts'o <tytso@mit.edu>
346
347 * tune2fs.c (parse_time): Fix minor buglet; the parse_time routine
348 should use the passed-in argument, not optarg, even though
349 the two are the same in the case of the current caller of
350 said function.
351
Theodore Ts'o22c68212004-12-15 17:26:32 -05003522004-12-15 Theodore Ts'o <tytso@mit.edu>
353
354 * mke2fs.c: Applied resize inode patch from Andreas Dilger to add
355 support for creating filesystems with reserved space for
356 on-line expansion.
357
Theodore Ts'o6d402272004-12-14 21:46:26 -05003582004-12-14 Theodore Ts'o <tytso@mit.edu>
359
Theodore Ts'o522798d2004-12-15 11:28:55 -0500360 * Makefile.in: Move strip command to install-strip target.
361 Use Linux-kernel-style makefile output for "make install"
362
Theodore Ts'o6d402272004-12-14 21:46:26 -0500363 * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro
364
Theodore Ts'o11d1e612004-12-01 12:42:33 -05003652004-12-01 Theodore Ts'o <tytso@mit.edu>
366
367 * e2image.8.in: Fix minor glitches in man page.
368
Theodore Ts'o47204ff2004-11-30 10:52:27 -05003692004-11-30 Theodore Ts'o <tytso@mit.edu>
370
Theodore Ts'o605e6f02004-11-30 22:06:27 -0500371 * Makefile.in: Delete e2initrd_helper when doing a make clean.
372
Theodore Ts'o2e8ca9a2004-11-30 14:07:11 -0500373 * tune2fs.c: If there is a question mark in the device name,
374 separate out the options to the IO layer, and pass it on
375 to ext2fs_open2().
376
Theodore Ts'o47204ff2004-11-30 10:52:27 -0500377 * Makefile.in: Use Linux-kernel-style makefile output to make it
378 easier to see errors/warnings.
379
Theodore Ts'o3a03c2c2004-11-19 14:29:48 -05003802004-11-19 Theodore Ts'o <tytso@mit.edu>
381
382 * mke2fs.8.in: Removed the word "destructive" when describing the
383 read-write test, since it can confuse people.
384
Theodore Ts'o029de632004-10-08 10:47:30 -04003852004-10-08 Theodore Ts'o <tytso@mit.edu>
386
387 * mke2fs.8.in: Add an explanation about why reserved blocks in a
388 filesystem is a good thing.
389
Theodore Ts'odf95e092004-09-28 10:30:27 -04003902004-09-28 Theodore Ts'o <tytso@mit.edu>
391
392 * badblocks.8.in: Document the default block size. (Addresses
393 Debian Bug #273679)
394
Theodore Ts'od99225e2004-09-25 07:40:12 -04003952004-09-25 Theodore Ts'o <tytso@mit.edu>
396
397 * mke2fs.c (set_fs_defaults): Only use blocksizes > 4k on Linux
398 2.6 and newer systems. (Addresses Debian Bug #271064)
399
Theodore Ts'o6ea8d0f2004-09-24 12:15:14 -04004002004-09-24 Theodore Ts'o <tytso@mit.edu>
401
Theodore Ts'o137ce8c2004-09-24 12:16:17 -0400402 * lsattr.c (lsattr_dir_proc): Avoid double // when listing the
403 root directory, or when there is a trailing '/' in the
404 directory name. (Addresses Debian Bug #272943)
405
Theodore Ts'o6ea8d0f2004-09-24 12:15:14 -0400406 * Makefile.in: Make sure /usr/lib is created for when we install
407 e2initrd_helper.
408
Theodore Ts'o91d71c42004-09-19 07:34:35 -04004092004-09-19 Theodore Ts'o <tytso@mit.edu>
410
Theodore Ts'o3ef681c2004-09-19 08:04:44 -0400411 * badblocks.c: Use _() around done_string, so that it gets
412 correctly translated. (Addresses Debian Bug #252836)
413
Theodore Ts'o91d71c42004-09-19 07:34:35 -0400414 * tune2fs.8.in: Add a description of the .journal file, why it
415 is created, and how e2fsck converts it to an invisible
416 journal. (Addresses Debian Bug #256760)
417
Theodore Ts'o5d407732004-09-18 14:53:14 -04004182004-09-18 Theodore Ts'o <tytso@mit.edu>
419
420 * e2initrd_helper.c: New program which allows initrd scripts to
421 check on the contents of /etc/fstab without (a) needing to
422 mount the root filesystem, and (b) needing /bin/awk in the
423 initrd environment. (Addresses Debian Bug #247775)
424
Theodore Ts'o45e18ad2004-09-17 17:31:16 -04004252004-09-17 Theodore Ts'o <tytso@mit.edu>
426
427 * tune2fs.8.in: Mention that e2fsck -D might be useful after
428 setting the dir_index filesystem feature. (Addresses
429 Debian Bug #268148)
430
Theodore Ts'o8c6b6482004-07-28 21:07:53 -04004312004-07-28 Theodore Ts'o <tytso@mit.edu>
432
433 * e2image.c, e2image.8.in: Add new option -I which allows the
434 administrator to install an metadata stored in an e2image
435 file to a filesystem. Obviously, this can be very
436 dangerous!
437
Theodore Ts'o94f6ab32004-06-25 00:55:12 -04004382004-06-25 Theodore Ts'o <tytso@mit.edu>
439
440 * Makefile.in (mke2fs.static): Add the blkid library to so
441 mke2fs.static builds correctly.
442
Theodore Ts'o481d1392004-04-11 16:47:25 -04004432004-04-11 Theodore Ts'o <tytso@mit.edu>
444
Theodore Ts'occdd1d62004-04-11 17:02:44 -0400445 * tune2fs.8.in: Fixed spelling error (Addresses Debian Bug #242995)
446
Theodore Ts'o481d1392004-04-11 16:47:25 -0400447 * mke2fs.8.in: Clarify man page's description of the '-O' option.
448 (Addresses Debian Bug #241940)
449
Theodore Ts'o2eb3b202004-04-07 09:27:36 -04004502004-04-07 Theodore Ts'o <tytso@mit.edu>
451
Theodore Ts'od06863f2004-04-12 12:37:55 -0400452 * tune2fs.c (update_feature_set): If the compatibility bitmasks
453 were not modified, don't set the superblock dirty bit.
Theodore Ts'o2eb3b202004-04-07 09:27:36 -0400454
Theodore Ts'odd607052004-04-03 13:53:46 -05004552004-04-03 Theodore Ts'o <tytso@mit.edu>
456
457 * Makefile.in: Update the modtime even if subst doesn't need to
458 update the man pages, to avoid always re-running
459 subst, especially since there are no dependencies on these
460 generated files.
461
Theodore Ts'o9b2d5e92004-03-21 20:40:20 -05004622004-03-21 Theodore Ts'o <tytso@mit.edu>
463
464 * blkid.c: Remove the partially implemented -p option (it never
465 did anything, but was documented in the man page and the
466 usage display).
467
Theodore Ts'o67508772004-03-20 16:14:46 -05004682004-03-20 Theodore Ts'o <tytso@mit.edu>
469
Theodore Ts'o89279982004-03-20 16:30:10 -0500470 * blkid.c (main, print_tags): Add new option -o which allows the
471 user to control the output format of blkid.
472
Theodore Ts'o67508772004-03-20 16:14:46 -0500473 * mke2fs.8.in: Fix spelling typos (Addresses Debian Bug #238741)
474
Theodore Ts'o8ac59292004-03-08 14:18:56 -05004752004-03-08 Theodore Ts'o <tytso@mit.edu>
476
477 * e2image.8.in: Update manpage to detail that writing to stdout is
478 currently only supported when writing a raw image dump.
479 (Addresses Debian bug #236383)
480
Theodore Ts'o5bec5742004-03-04 20:30:16 -05004812004-03-04 Theodore Ts'o <tytso@mit.edu>
482
483 * logsave.c (main): Use setsid() to avoid getting killed by init
484 (run_program): Add a newline after reporting the exit code
485 or signal when the program exits.
486
Theodore Ts'o167af992004-02-28 08:20:41 -05004872004-02-28 Theodore Ts'o <tytso@mit.edu>
488
Theodore Ts'ob70b1162004-02-28 10:52:35 -0500489 * Release of E2fsprogs 1.35
490
4912004-02-28 Theodore Ts'o <tytso@mit.edu>
492
Theodore Ts'o167af992004-02-28 08:20:41 -0500493 * badblocks.c (main): Change the default number of blocks tested
494 at once from 16 to 64. (Addresses Debian bug #232240)
495
Theodore Ts'o023cbb32004-02-26 21:06:58 -05004962004-02-26 Theodore Ts'o <tytso@mit.edu>
497
Theodore Ts'o6b394c12004-02-26 21:08:06 -0500498 * filefrag.c: Fix gcc -Wall nits.
499
Theodore Ts'o023cbb32004-02-26 21:06:58 -0500500 * badblocks.c (pattern_fill): Fix bug accidentally added when
501 fixing up gcc -Wall nits. badblocks -t random was not
502 getting handled properly because ~0 needed to be cast to
503 an unsigned long instead of an unsigned char. (Addresses
504 Debian bug #234828)
505
Theodore Ts'o993aa112004-02-21 21:02:15 -05005062004-02-21 Theodore Ts'o <tytso@mit.edu>
507
508 * fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a
509 problem because we got lucky, but let's do things right.
510 Fix from Thomas Woerner at Red Hat.)
511
Theodore Ts'od605ba12004-02-03 19:18:03 -05005122004-02-03 Theodore Ts'o <tytso@mit.edu>
513
514 * filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it
515 actually compiles on Linux. (Addresses Debian bug
516 #230992)
517
Theodore Ts'o2e5a1b92004-01-31 20:27:36 -05005182004-01-31 Theodore Ts'o <tytso@mit.edu>
519
520 * chattr.1.in: Clarify man page.
521
522 * chattr.1.in, dumpe2fs.8.in, lsattr.1.in, mklost+found.8.in,
523 tune2fs.8.in: List Theodore Ts'o <tytso@alum.mit.edu> as
524 the current maintainer.
525
Theodore Ts'o2293a4d2004-01-20 13:39:01 -05005262004-01-20 root <tytso@mit.edu>
527
528 * chattr.c (main): Add support for '--' to stop options
529 processing. (Addresses Debian bug #225188).
530
Theodore Ts'o64c90ee2003-12-26 13:56:14 -05005312003-12-26 Theodore Ts'o <tytso@mit.edu>
532
Theodore Ts'ocf119022003-12-26 14:03:20 -0500533 * chattr.1.in: Update text indicating the 'c', 's', and 'u'
534 attributes are not currently supported to remove any
535 mention of a specific kernel version. (Addresses Debian
536 bug #214920)
537
Theodore Ts'o64c90ee2003-12-26 13:56:14 -0500538 * fsck.8.in: Update text describing "standard" options supported
539 by filesystem-specific checkers. (Addresses Debian bug
540 #222606)
541
Theodore Ts'o477b2352003-12-25 14:31:08 -05005422003-12-25 Theodore Ts'o <tytso@mit.edu>
543
544 * Makefile.in: Add filefrag program to the list of programs
545 installed in /usr/sbin.
546
Theodore Ts'oc65e54b2003-12-11 11:31:48 -05005472003-12-11 Theodore Ts'o <tytso@thunk.org>
548
549 * tune2fs.8.in: Fix some whitespace errors in the command synopsis.
550
Theodore Ts'o54434922003-12-07 01:28:50 -05005512003-12-07 Theodore Ts'o <tytso@mit.edu>
552
Theodore Ts'o1e6e4c52003-12-07 02:28:24 -0500553 * mke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner.
554
Theodore Ts'o54434922003-12-07 01:28:50 -0500555 * badblocks.c, blkid.c, chattr.c, dumpe2fs.c, e2image.c, fsck.c,
556 fsck.h, lsattr.c, mke2fs.c, nls-enable.h, tune2fs.c,
557 util.c: Fix gcc -Wall nitpicks.
558
Theodore Ts'o817e49e2003-11-21 09:10:29 -05005592003-09-13 Theodore Ts'o <tytso@mit.edu>
560
561 * tune2fs.c (parse_e2label_options, parse_tune2fs_options,
562 do_findfs): Check the returned name from blkid_get_devname and
563 print an error if the requested LABEL/UUID does not exist.
564
Theodore Ts'oef344e12003-11-21 09:02:21 -05005652003-09-03 Theodore Ts'o <tytso@mit.edu>
566
567 * dumpe2fs.c (list_desc): Use ext2fs_super_and_bgd_loc to
568 determine the locations of the superblock and block group
569 descriptors.
570
Theodore Ts'od07b1502003-11-20 18:34:20 -05005712003-11-20 Theodore Ts'o <tytso@mit.edu>
572
573 * util.c (check_plausibility): Support 2.6 kernel header files,
574 instead of having the build to crash. (Addresses Debian
575 bug #221778)
576
Theodore Ts'o1cca86f2003-09-01 09:28:18 -04005772003-09-01 Theodore Ts'o <tytso@mit.edu>
578
579 * mke2fs.c (progress_init, progress_update): If the environment
580 variable MKE2FS_SKIP_PROGRESS is set, then don't print out
581 a progress bar; for regression test support.
582 (PRS): If the environment variable MKE2FS_DEVICE_SECTSIZE
583 is set, then override the device sector size. Again for
584 regression test support.
585 (main): If the environment variable MKE2FS_SKIP_CHECK_MSG
586 is set, then skip printing an information messages about
587 when the filesystem will be checked, since this number is
588 random and screws up the regression test expect script.
589
Theodore Ts'o79120f82003-08-31 20:56:57 -04005902003-08-31 Theodore Ts'o <tytso@mit.edu>
591
592 * mke2fs.c (set_fs_defaults): Fix bug which caused -T largefile or
593 -T largefile4 to core dump due to a division by zero
594 error. (Addressed Debian bug #207082)
595
Theodore Ts'oa7ac1df2003-08-24 17:56:41 -04005962003-08-24 Theodore Ts'o <tytso@mit.edu>
597
598 * dumpe2fs.8.in, e2image.8.in, e2label.8.in, mke2fs.8.in,
599 tune2fs.8.in: Adjust description line so that apropos
600 "ext2" or "ext3" will find the man page. (Addresses
601 Debian Bug #206845)
602
Theodore Ts'o1f9a60c2003-08-01 00:58:00 -04006032003-08-01 Theodore Ts'o <tytso@mit.edu>
604
605 * badblocks.c (set_o_direct): Add check to make sure the file
606 offset of the device is page aligned. (Addresses Debian
607 Bug #203713)
608
609 * badblocks.c (test_ro, test_rw): Add code to recover after an
610 error so that we continue reading on page-aligned
611 boundaries. (Thanks to Philippe Troin <phil@fifi.org> for
612 the patch.)
613
Theodore Ts'odc058712003-07-25 07:39:33 -04006142003-07-25 Theodore Ts'o <tytso@mit.edu>
615
Theodore Ts'o9c7ec172003-07-26 01:03:34 -0400616 * Release of E2fsprogs 1.34
617
6182003-07-25 Theodore Ts'o <tytso@mit.edu>
619
Theodore Ts'ocf7d5f12003-07-25 17:39:51 -0400620 * mke2fs.c (PRS): Add warning if using -j and the blocksize is
621 greater than 4096, since some kernels don't support ext3
622 with large block sizes. (Addresses Debian bug #193773)
623
Theodore Ts'odc058712003-07-25 07:39:33 -0400624 * badblocks.c (set_o_direct): Remove debugging printf. (Addresses
625 Debian bug #201499)
626
Theodore Ts'o5e38fed2003-07-21 20:43:21 -04006272003-07-21 Theodore Ts'o <tytso@mit.edu>
628
629 * fsck.c (wait_many): Rename wait_all() to wait_many(), and have
630 new semantics: WAIT_ALL vs. WAIT_ATLEAST_ONE. This fixes
631 a bug where when fsck is waiting for another partition on
632 the same spindle, it spins wasting a lot of CPU.
633
Theodore Ts'o11393002003-07-12 01:58:12 -04006342003-07-12 Theodore Ts'o <tytso@mit.edu>
635
Theodore Ts'o1c29b092003-07-12 16:01:45 -0400636 * badblocks.c (do_read, do_write, test_rw): Change the read/write
637 test to honor the -c option (number of blocks at a time).
638 do_read and do_write will try to turn on the O_DIRECT flag
639 if it appears that it is possible to use it. (Addresses
640 Debian bug #198006)
641
Theodore Ts'o11393002003-07-12 01:58:12 -0400642 * mke2fs.c (set_fs_defaults): If sector_size is 0, don't use it to
643 set the blocksize to zero. This causes MD devices to fail
644 since they don't support the BLKSSZGET ioctl. (Addresses
645 Debian bug #196734)
646
Theodore Ts'o48e6e812003-07-06 00:36:48 -04006472003-07-06 Theodore Ts'o <tytso@mit.edu>
648
Theodore Ts'oa7ccdff2003-07-08 18:03:48 -0400649 * mke2fs.c (PRS, main): If CONFIG_TESTIO_DEBUG, then use the
650 testio manager.
651
652 * mke2fs.c (PRS): Round down the default filesystem size so that
653 it is an even multiple of the page size, to work around
654 buffer cache kernel bug.
655
Theodore Ts'o48e6e812003-07-06 00:36:48 -0400656 * badblocks.c: Fix gcc -Wall nitpicks (signed/unsigned type issues)
657
658 * blkid.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
659
Theodore Ts'o93d5c382003-05-21 17:28:29 -04006602003-05-21 Theodore Ts'o <tytso@mit.edu>
661
662 * mke2fs.c (PRS, set_fs_defaults): If the sector size of the
663 device is larger than the default block size, then use the
664 sector size of the device as the default block size.
665
Theodore Ts'o84c05452003-05-18 01:11:52 -04006662003-05-18 Theodore Ts'o <tytso@mit.edu>
667
668 * badblocks.c: Use an unsigned integer to support 4-byte test
669 patterns with the high bit set. Let the user explicitly
670 specify a random pattern with the argument "random".
671
Theodore Ts'o6d40f562003-05-07 08:35:38 -04006722003-05-07 Theodore Ts'o <tytso@mit.edu>
673
674 * badblocks.c (test_rw): Fix minor memory leak with test_rw() is
675 called for multiple passes.
676 (test_nd): Fix bug in chosing randomness for the
677 non-destructive test. We were only using 1 bit of
678 randomness per byte instead of 8 due to a bit-shift bug.
679 Also, initialize the random number generator from the time
680 in main(). Thanks to Thayne Harbaugh for pointing out
681 these bugs.
682
Theodore Ts'o849b6bc2003-05-07 09:52:14 -0400683 * badblocks.c, badblocks.8.in: Functional enhancements contributed
684 by Thayne Harbaugh. These patches allow the -t option to
685 control the test pattern(s) used when checking the disk.
686 Test patterns may be specified in all modes (r/w, r/o and
687 non-destructive).
688
Theodore Ts'o2a29f132003-05-05 12:08:47 -04006892003-05-05 Theodore Ts'o <tytso@mit.edu>
690
691 * tune2fs.c (main, add_journal_device, remove_journal_device): If
692 --enable-testio-debug is set, then use the test_io manager
693 so we can watch what tune2fs is doing.
694
Theodore Ts'oa04eba32003-05-03 16:35:17 -04006952003-05-03 Theodore Ts'o <tytso@mit.edu>
696
Theodore Ts'oddc32a02003-05-03 18:45:55 -0400697 * uuidgen.c (main): Add setup functions for NLS support.
698
699 * e2image.c (write_header), mke2fs.c (PRS): Add missing space in
700 displayed message.
701
702 * badblocks.c (usage), findsuper.c (main), util.c
703 (parse_journal_opts): Fix typo in usage string.
704
Theodore Ts'obc7c14e2003-05-03 16:40:09 -0400705 * tune2fs.c (parse_time): Add portability code to work around lack
706 of strptime().
707
Theodore Ts'oa04eba32003-05-03 16:35:17 -0400708 * Makefile.in: Add $(LIBINTL) to the link line so we can support
709 using the internal gettext library.
710
711 * nls-enable.h: Add #ifndef protection around LOCALEDIR definition.
712
Theodore Ts'o71df0dc2003-04-21 16:17:09 -04007132003-04-21 Theodore Ts'o <tytso@mit.edu>
714
715 * Release of E2fsprogs 1.33
716
Theodore Ts'ofc56eee2003-04-18 07:32:00 -04007172003-04-18 Theodore Ts'o <tytso@mit.edu>
718
719 * Makefile.in (uuidgen): Avoid linking lsattr and chattr against
720 libext2fs, and avoid linking blkid against any of the ext2
721 libraries.
722
Theodore Ts'o814dc052003-04-17 21:58:27 -04007232003-04-17 Theodore Ts'o <tytso@mit.edu>
724
725 * Makefile.in (fsck): Fsck does not need to linked against the
726 ext2 libraries anymore.
727
Theodore Ts'obc34d6b2003-04-16 14:05:06 -04007282003-04-16 Theodore Ts'o <tytso@mit.edu>
729
Theodore Ts'o2ecaaf62003-04-16 16:13:58 -0400730 * fsck.c (main): Put stdout and stderr into non-buffered mode to
731 avoid cosmetic problems when running fsck under logsave.
732
Theodore Ts'o38798572003-04-16 15:29:39 -0400733 * mke2fs.c (PRS): Avoid printing the version banner for mke2fs if
734 the -q option is specified. (Addresses Debian bug #172716)
735
Theodore Ts'obc34d6b2003-04-16 14:05:06 -0400736 * logsave.c: Add support for the -a option (only partially
737 implemented previously). Always log the command-line and
738 start and stop time to the log file. Add support for the
739 -s option, which skips text bracketed between control-A
740 and control-B characters.
741
Theodore Ts'of9ddad52003-04-14 18:05:12 -04007422003-04-14 Theodore Ts'o <tytso@mit.edu>
743
744 * logsave.c: New program which saves the output of a command in a
745 log file, even if the containing directory hasn't been
746 mounted yet (in which case the it saves the output in
747 memory until it can write out the logfile).
748
Theodore Ts'occbed852003-04-11 13:32:31 -04007492003-04-11 Theodore Ts'o <tytso@mit.edu>
750
Theodore Ts'oc5290fa2003-04-11 22:10:50 -0400751 * mke2fs.c (PRS): If the argument to -b is negative, treat it as a
752 minimum blocksize. (Feature requested by EVMS developers
753 for mainframe DASD's that do not support 1k blocksizes.)
754
Theodore Ts'o5e055412003-04-11 14:00:53 -0400755 * mke2fs.8.in: Document the -g option. (Addresses Debian bug #188318)
756
Theodore Ts'o5e804b72003-04-11 13:46:57 -0400757 * mke2fs.c (PRS): Fix bug where mke2fs was incorrectly checking
758 the argument to the -g option, if the default block size
759 is used. (Addresses Debian bug #188319)
760
Theodore Ts'occbed852003-04-11 13:32:31 -0400761 * tune2fs.8.in, mke2fs.8.in: Document the dir_index filesystem
762 feature which can be used with the -O option.
763
Theodore Ts'oee828a92003-04-06 23:08:47 -04007642003-04-06 Theodore Ts'o <tytso@mit.edu>
765
766 * fsck.c (parse_fstab_line, interpret_type, fsck_device, ignore,
767 main): Don't evaluate the filesystem type when loading the
768 fstab file, since that might cause fsck to hang trying to
769 read from a floppy disk. (Addresses Debian bug #187812)
770 Add tmpfs and devpts to filesystems that should be
771 ignored, and add jfs, reseirfs, and xfs as filesystems
772 types where we should complain if we can't find the fsck
773 program for that filesystem type.
774
Theodore Ts'occ4f98e2003-04-03 11:37:46 -05007752003-04-03 Theodore Ts'o <tytso@mit.edu>
776
777 * badblocks.c (bb_output): Flush output to the badblocks
778 output file as bad blocks are discovered.
779
Theodore Ts'ofc05eb02003-03-25 23:02:34 -05007802003-03-25 Theodore Ts'o <tytso@mit.edu>
781
782 * chattr.1.in: Clarified the description of the 't' (no tail)
783 attribute. (Addresses Debian bug #185945)
784
Theodore Ts'oe71d8732003-03-14 02:13:48 -05007852003-03-14 Theodore Ts'o <tytso@mit.edu>
786
787 * fsck.c: And #ifdef protection around #include of malloc.h
788
Theodore Ts'oeca53e32003-03-14 00:38:45 -05007892003-03-13 Theodore Ts'o <tytso@mit.edu>
790
791 * e2image.c (write_raw_image_file): Include blocks from slow
792 symbolic links in the raw image file.
793
Theodore Ts'o332f2c22003-03-06 12:58:33 -05007942003-03-06 <tytso@mit.edu>
795
796 * tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow
797 the device name to be specified using LABEL=xxx or
798 UUID=xxx, since we're including the blkid library anyway.
799 (Addresses Debian bugs #166048, #179671)
Theodore Ts'o77be4d22003-03-06 12:39:55 -0500800
801 * tune2fs.8.in, chattr.1.in: Minor man page fixes (Addresses
802 Debian bugs #175233, #175113, and #170497)
803
Theodore Ts'oed78c022003-03-06 11:09:18 -05008042003-03-06 Theodore Tso <tytso@mit.edu>
805
806 * Makefile.in (DEPLIBS_BLKID): Use DEPLIBUUID, not LIBUUID to
807 avoid depending on -lsocket on Solaris.
808
Theodore Ts'oed1b33e2003-03-01 19:29:01 -05008092003-03-01 Theodore Ts'o <tytso@mit.edu>
810
811 * fsck.c, util.c, tune2fs.c, Makefile.in: Use the blkid library
812 instead of the specialized functions in
813 get-device-by-label.c and fstype.c.
814
815 * base_device.c (base_device): Take a const char* as an argument.
816
817 * blkid.c: Remove deprecated -d option,
818
Theodore Ts'o98999c32003-02-16 00:47:07 -05008192003-02-16 Theodore Ts'o <tytso@mit.edu>
820
821 * blkid.c: Update to reflect renaming of blkid_get_devname() to
822 blkid_get_dev(), and blkid_get_token() to
823 blkid_get_devname().
824
Theodore Ts'o19445ef2003-01-29 21:04:52 -05008252003-01-29 Theodore Ts'o <tytso@mit.edu>
826
827 * badblocks.8.in: Fix grammar nit.
828
Theodore Ts'o7a603aa2003-01-26 01:54:39 -05008292003-01-26 Theodore Ts'o <tytso@mit.edu>
830
831 * blkid.c (main): Modify blkid to use the new libblkid public
832 interfaces.
833
Theodore Ts'oe12f2ae2003-01-23 16:45:16 -05008342003-01-23 Theodore Ts'o <tytso@mit.edu>
835
836 * Makefile.in: Integrate in new blkid library.
837
Theodore Ts'o76ea3a22003-01-22 19:55:59 -05008382003-01-22 Theodore Ts'o <tytso@mit.edu>
839
840 * fsck.c (parse_fstab_line, parse_escape): Add support for
841 backslash escaping in /etc/fstab. (i.e., so that \040
842 will work.)
843
Theodore Ts'o54779c62002-11-13 07:00:16 -05008442002-11-12 Theodore Ts'o <tytso@mit.edu>
845
846 * mke2fs.c (PRS): Don't enable the dir_index feature by default;
847 the ext2 code on 2.4 kernels (but not 2.2 kernels, and not
848 the 2.4 ext3 code) accidentally had the backwards
849 compatibility support for dir_indexing removed.
850
Theodore Ts'o38513012002-11-09 15:00:56 -05008512002-11-09 Theodore Ts'o <tytso@mit.edu>
852
853 * Release of E2fsprogs 1.32
854
Theodore Ts'o51f8f8d2002-11-08 20:02:21 -05008552002-11-08 Theodore Ts'o <tytso@mit.edu>
856
Theodore Ts'oae65b292002-11-08 20:08:48 -0500857 * Release of E2fsprogs 1.31
858
8592002-11-08 Theodore Ts'o <tytso@mit.edu>
860
Theodore Ts'o51f8f8d2002-11-08 20:02:21 -0500861 * chattr.1.in: Update man page.
862
Theodore Ts'o5d823a42002-11-01 02:13:53 -05008632002-10-31 Theodore Ts'o <tytso@mit.edu>
864
865 * Release of E2fsprogs 1.30
866
Theodore Ts'oa2c8bf92002-11-01 02:01:41 -05008672002-11-01 Theodore Ts'o <tytso@mit.edu>
868
869 * chattr.c, chattr.1.in: Add support for a new inode flag, which
870 is to be used for indicating the top of directory
871 hierarchies for the Orlov block allocator.
872
Theodore Ts'of68b3b02002-10-31 15:30:26 -05008732002-10-31 Theodore Ts'o <tytso@mit.edu>
874
875 * get_device_by_label.c (read_partitions): Pay attention to
876 partitions returned in /proc/partitions that begin with
877 with the string "lvm".
878
Theodore Ts'o76dd5e52002-10-30 23:07:21 -05008792002-10-30 Theodore Ts'o <tytso@mit.edu>
880
Theodore Ts'o482afc42002-10-31 03:32:34 -0500881 * Makefile.in (install): Search all compression extensions when
882 deleting old man pages.
883
Theodore Ts'o76dd5e52002-10-30 23:07:21 -0500884 * dumpe2fs.c (list_desc): Fix bug in algorithm which determined
885 which blocks are used as backup superblock and block group
886 descriptors.
887
888 * mke2fs.c (PRS): Fix bug which checked the tmp pointer
889 erreoneously (and needlessly).
890
Theodore Ts'o1d4c7942002-10-28 16:52:12 -05008912002-10-28 <tytso@snap.thunk.org>
892
893 * fsck.c (main): Fix bug reported by Gregory Mutt. Multiple
894 filesystems explicitly specified on the command line were
895 not being checked in parallel, due to a logic bug
896 introduced in to support the FSCK_MAX_INST environment
897 variable.
898
Theodore Ts'od90a23e2002-10-25 17:07:11 -04008992002-10-25 Theodore Ts'o <tytso@mit.edu>
900
901 * dumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that
902 if there is an error reading the block/inode bitmaps, it
903 will still print out the contents of the block group
904 descriptors.
905
Theodore Ts'oc046ac72002-10-20 00:38:57 -04009062002-10-20 Theodore Ts'o <tytso@valinux.com>
907
908 * dumpe2fs.c (list_desc), mke2fs.c (PRS), e2image.c
909 (mark_table_blocks): Add support for the meta_blockgroup
910 filesystem format.
911
Theodore Ts'oa0c3fd52002-10-15 17:43:43 -04009122002-10-15 <tytso@snap.thunk.org>
913
914 * tune2fs.8.in, tune2fs.c (update_mntopts, main): Add new option
915 'o' which allows the system administrator to specify
916 default mount options.
917
Theodore Ts'o3e699062002-10-13 23:56:28 -04009182002-10-13 Theodore Ts'o <tytso@mit.edu>
919
920 * get_device_by_label.c (read_partitions): Use a 16k buffer to
921 read in /proc/partitions in one go.
922
923 * badblocks.c, fsck.c, fstype.c, get_device_by_label.c,
924 tune2fs.c: Fix gcc -Wall nits.
925
Theodore Ts'o64aecc42002-10-11 17:44:12 -04009262002-10-11 Theodore Ts'o <tytso@mit.edu>
927
928 * mklost+found.c (main): Make sure the lost+found directory is
929 created with 0700 permissions.
930
Theodore Ts'o3432a912002-10-02 17:47:08 -04009312002-10-02 Theodore Ts'o <tytso@mit.edu>
932
933 * e2image.c (write_raw_image_file): Handle a bad block in the
934 inode table correctly.
935
Theodore Ts'o41ec7bb2002-09-29 22:37:40 -04009362002-09-29 Theodore Ts'o <tytso@mit.edu>
937
Theodore Ts'odbfb3f02002-09-29 22:42:27 -0400938 * get_device_by_label.c: Applied sourceforge patch #613447, which
939 adds support for reiserfs volumes for LABEL= and UUID=
940 fstab entries.
941
Theodore Ts'o41ec7bb2002-09-29 22:37:40 -0400942 * badblocks.c (main): Appled sourceforge patch #600451, which
943 addresses sourceforge bug #600388, by AEF. This allows
944 badblocks to work correctly on read-only devices such as
945 CD-ROM's, DVD's, etc.
946
Theodore Ts'o82b39c92002-09-29 19:08:38 -04009472002-09-24 Theodore Ts'o <tytso@mit.edu>
948
949 * mke2fs.8.in, tune2fs.8.in: Clarify manual pages about using the
950 caret ('^') character to negate feature sets when using
951 the -O option. Define the has_journal feature to avoid
952 confusion about what ^has_journal means.
953
Theodore Ts'oc6633052002-09-24 01:26:50 -04009542001-09-24 Theodore Tso <tytso@mit.edu>
955
956 * Release of E2fsprogs 1.29
957
Theodore Ts'o84bd5502002-09-24 00:13:19 -04009582002-09-24 Theodore Ts'o <tytso@mit.edu>
959
960 * fsck.c: If the bone-headed user enters the filename twice, the
961 -R option which skips the root filesystem will skip all of
962 them. (Addresses Debian bug #159423). Note! This is not
963 a precedent for dealing intelligently with any other kind
964 of doubled entry in /etc/fstab!
965
Theodore Ts'o843049c2002-09-22 15:37:40 -04009662002-09-22 root <tytso@mit.edu>
967
968 * mke2fs.c (main): Enable directory indexing by default.
969
970 * tune2fs.c (update_feature_set): Allow directory indexing flag to
971 be set. If so, set the default hash to be TEA, and
972 initialize the hash seed to a random value.
973
Theodore Ts'of9e4abf2002-09-21 06:46:43 -04009742002-09-21 Theodore Ts'o <tytso@mit.edu>
975
976 * get_device_by_label.c (init_lvm): Fix bug which caused
977 LABEL='xxx' to not work correctly when using LVM.
978 (Reversed sense of error check reported by ateeq@hotpop.com)
979
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -04009802001-08-31 Theodore Tso <tytso@thunk.org>
981
982 * Release of E2fsprogs 1.28
983
Theodore Ts'of044b4d2002-08-17 13:32:21 -04009842002-08-17 Theodore Ts'o <tytso@mit.edu>
985
Theodore Ts'o118d7da2002-08-17 23:01:22 -0400986 * findfs.8.in: New man page.
987
988 * tune2fs.c (do_findfs): If tune2fs is executed with argv[0] set
989 to findfs, then it will interpret argv[1] as one of
990 LABEL=xxx or UUID=xxx and translate it to a device name.
991
992 * get_device_by_label.c (uuidcache_init): Moved code which
993 interpreted /proc/partitions into read_partitions(), and
994 then added support for interpreting /proc/evms/volumes in
995 read_evms(). uuidcache_init() calls both read_evms() and
996 read_partitions().
997
Theodore Ts'o1f22ce32002-08-17 18:16:29 -0400998 * mke2fs.8.in: Add a common usage of the -n option. (Addresses
999 Debian Bug #146437)
1000
Theodore Ts'oa1411352002-08-17 17:39:39 -04001001 * fsck.c (main): If no filesystems are specified on the command
1002 line, default to -As. (Addresses Debian Bug #153102)
1003
1004 * badblocks.8.in: Clarify why it's bad to do a non-destructive
1005 test on a r/o mounted filesystem. (Addresses Debian Bug
1006 #131350)
1007
Theodore Ts'o023d1112002-08-17 14:44:56 -04001008 * chattr.1.in: Document the compression attribute flags E, X, and
1009 Z, and explain that chattr can't set or set these flags.
1010 (Addresses Debian Bug #151990)
1011
Theodore Ts'of044b4d2002-08-17 13:32:21 -04001012 * fsck.8.in: Fix typo in man page, and clarified text regarding
1013 options specifiers for -t option. (Addresses Debian bug
1014 #145044)
1015
1016 * mke2fs.c (main): If there is a problem zeroing blocks at the end
1017 of the filesystem, don't abort mke2fs. Addresses Debian
1018 bug #155007.
1019
Theodore Ts'oed909bb2002-08-16 17:03:59 -040010202002-08-16 Theodore Ts'o <tytso@mit.edu>
1021
1022 * e2image.c (write_raw_image_file): Check for an extended
1023 attribute block before checking for has_valid_blocks.
1024
Theodore Ts'o4cae0452002-07-21 14:14:03 -040010252002-07-21 Theodore Ts'o <tytso@mit.edu>
1026
1027 * fsck.8.in: Document new fsck exit code, FSCK_CANCELED.
1028
1029 * fsck.c: Trap SIGINT and SIGTERM, and relay it to all of the
1030 child fsck processes.
1031
Theodore Ts'o70988102002-07-14 08:00:00 -040010322002-07-14 Theodore Ts'o <tytso@mit.edu>
1033
1034 * mke2fs.c (zap_sector): Clear the buffer *after* testing for the
1035 BSD sector label. Otherwise the first 512 bytes don't get
1036 zapped. (Addresses Debian bug #147256.)
1037
Theodore Ts'of0865ce2002-07-02 10:08:27 -040010382002-07-02 Theodore Ts'o <tytso@mit.edu>
1039
1040 * mke2fs.8.in: Cleaned up man page, and made it a bit more
1041 OS-agnostic. Addresses Debian bug #144621. Hope this
1042 makes the Hurd whiners happy. :-)
1043
Theodore Ts'o5cfd7402002-06-28 10:47:24 -040010442002-06-28 Theodore Ts'o <tytso@mit.edu>
1045
1046 * chattr.1.in: Fix man page typo. (Addresses Debian bug #141938)
1047
Theodore Ts'o88372d52002-06-15 18:58:39 -040010482002-06-15 Theodore Ts'o <tytso@mit.edu>
1049
1050 * chattr.c: Applied patch from Andrew to support the dirsync flag.
1051
Andreas Dilgerb21bf262002-06-10 11:05:56 -060010522002-05-22 Andreas Dilger <adilger@clusterfs.com>
1053
1054 * mke2fs.c (set_fs_defaults): make the default inode ratio at most
1055 one inode per block for large blocksizes.
1056
Theodore Ts'o31e29a12002-05-17 10:53:07 -040010572002-05-17 Theodore Ts'o <tytso@mit.edu>
1058
1059 * mke2fs.c (PRS): Determine the page size using sysconf() at
1060 runtime, instead of using the Linux system header files.
1061
10622002-05-16 Andreas Dilger <adilger@clusterfs.com>
1063
1064 * mke2fs.c (PRS): Allow blocksizes larger than 4k to be specified,
1065 with warning printed and the user questioned if blocksize
1066 is larger than the system's page size according to the
1067 Linux kernel header files. Added better checking for
1068 valid inode sizes, and again print a warning message if
1069 using a large inode size (since most kernels today don't
1070 support this yet).
1071
10722002-04-30 Theodore Ts'o <tytso@mit.edu>
Theodore Ts'o7de65772002-04-30 20:22:32 -04001073
1074 * fsck.8.in: Fix typo in man page.
1075
Theodore Ts'o7ef3bb82002-03-08 03:01:53 -050010762002-03-08 Theodore Tso <tytso@mit.edu>
1077
Theodore Ts'oa8e77242002-03-08 03:12:14 -05001078 * Release of E2fsprogs 1.27
1079
10802002-03-08 Theodore Tso <tytso@mit.edu>
1081
Theodore Ts'o7ef3bb82002-03-08 03:01:53 -05001082 * mke2fs.c: Check for the BSD disklabel on all architectures, and
1083 also check the byte-swapped magic number as well.
1084
Theodore Ts'o756df352002-03-07 20:52:12 -050010852002-03-07 Theodore Tso <tytso@mit.edu>
1086
Theodore Ts'o66938372002-03-08 00:14:46 -05001087 * mke2fs.c: Output warnings to stderr
1088 (From Philipp Thomas <pthomas@suse.de>)
1089
Theodore Ts'o546a1ff2002-03-07 23:52:56 -05001090 * base_device.c (main): Fix gcc -Wall complaints in debug code.
1091
Theodore Ts'o756df352002-03-07 20:52:12 -05001092 * mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha.
1093 (From Thorsten Kukuk <kukuk@suse.de>)
1094
Theodore Ts'o14308a52002-03-05 03:26:52 -050010952002-03-04 Philipp Thomas <pthomas@suse.de>
1096
1097 * chattr.c (main), fsck.c (main), mke2fs.c (main), findsuper.c
1098 (main), dumpe2fs.c (main), lsattr.c (main), partinfo.c (main),
1099 tune2fs.c (main), mklost+found.c (main), badblocks.c
1100 (main), e2image.c (main): Newer libintl needs LC_CTYPE to
1101 be set in addition to LC_MESSAGES.
1102
Andreas Dilger0072f8d2002-02-25 23:11:26 -070011032002-02-25 Andreas Dilger <adilger@clusterfs.com>
1104
1105 * mke2fs.c: Add check for mkfs.ext3 and create a journal in
1106 this case.
1107
Theodore Ts'o57173d02002-02-26 14:59:39 -050011082002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -05001109
1110 * Makefile.in (install): Install hard links for man pages for
1111 mkfs.ext2 and mkfs.ext3. Also install hard link for
1112 mkfs.ext3. Remove any compressed man pages before
1113 installing the man pages.
1114
Theodore Ts'o57173d02002-02-26 14:59:39 -050011152002-02-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o541d1732002-02-23 21:23:26 -05001116
1117 * badblocks.8.in: Clarify man page's description of the -f option
1118
Theodore Ts'o57173d02002-02-26 14:59:39 -050011192002-02-12 Theodore Tso <tytso@mit.edu>
Theodore Ts'o7d4343d2002-02-12 02:34:44 -05001120
1121 * get_device_by_label.c: Since on non-STDC compilers, we define
1122 away const, include get_device_by_label.h after we include
1123 fsck.h.
1124
1125 * Makefile.in (base_device): Remove use of $<, which is
1126 non-portable.
1127
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011282002-02-03 Theodore Tso <tytso@thunk.org>
1129
1130 * Release of E2fsprogs 1.26
1131
11322002-02-03 Theodore Tso <tytso@mit.edu>
Theodore Ts'o5599c2f2002-02-03 00:08:52 -05001133
1134 * fsck.c (interpret_type): Allow filesystems types of the form
1135 "ext3,ext2", etc.
1136
1137 * fstype.c (identify_fs): Add support for only searching for a
1138 specified list of filesystems. Also add support for
1139 identifying reiserfs filesystems.
1140
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011412002-01-29 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa1069112002-01-29 12:49:14 -05001142
1143 * fsck.c: Allow the number of outstanding processes fs-specific
1144 fsck programs to be capped via the FSCK_MAX_INST
1145 envrionment variable.
1146
1147 * fsck.8.in: Document all of the environment variables used by fsck.
1148
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011492002-01-27 Theodore Tso <tytso@mit.edu>
Theodore Ts'o177ab2b2002-01-27 18:23:49 -05001150
1151 * tune2fs.8.in: Document the -f flag to tune2fs.
1152
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011532002-01-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'o5493a272002-01-02 14:15:35 -05001154
1155 * badblocks.c (main): Open the device as O_RDWR if possible, since
1156 fsync() isn't guaranteed to work if the filesystem is
1157 opened read-only.
1158
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011592001-12-26 Theodore Tso <tytso@mit.edu>
Theodore Ts'od4de4aa2001-12-26 08:58:01 -05001160
1161 * tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add
1162 support for new option, -T, which allows the user to set
1163 the last checked time on the filesystem.
1164
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011652001-12-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6a525062001-12-24 09:40:00 -05001166
Theodore Ts'o3ed57c22001-12-24 15:01:59 -05001167 * mke2fs.c (main, test_disk): If two -c options are
1168 specified, then perform a destructive read/write test
1169 of the disk.
1170
1171 * mke2fs.8.in: Document the double -c option; also encourage users
1172 to use -c instead of the -l/-L options since it's too hard
1173 for users to get things like the blocksize parameter correct.
1174
1175 * badblocks.8.in: Encourage users to use the -c option in mke2fs
1176 and e2fsck instead of running badblocks directly.
1177
Theodore Ts'o6a525062001-12-24 09:40:00 -05001178 * mke2fs.c (create_lost_and_found): The lost+found directory is
1179 now created with 0700 permissions, since files which get
1180 dropped into that directory may have come from a protected
1181 directory, and the system administrator may not deal with
1182 immediately. (Addresses Debian bug #118443)
1183
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011842001-12-23 Theodore Tso <tytso@mit.edu>
Theodore Ts'o19007e52001-12-23 19:33:51 -05001185
1186 * Makefile.in, jfs_user.h: Move linux/jbd.h to
1187 ext2fs/kernel-jbd.h, to avoid using the system header
1188 file version of hbd.h when using diet glibc (since it
1189 forcibly adds /usr/include to the beginning of the
1190 include search path.)
1191
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011922001-12-22 Theodore Tso <tytso@mit.edu>
Theodore Ts'oeaf4dc52001-12-22 00:04:22 -05001193
1194 * get_device_by_label.c (init_lvm): Add support to read out
1195 information from the LVM proc hierarchy, so that the UUID
1196 cache can search the LVM logical volumes for UUID's,
1197 labels, etc.
1198
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050011992001-12-21 Theodore Tso <tytso@mit.edu>
Theodore Ts'o0655b102001-12-21 23:59:46 -05001200
1201 * dumpe2fs.c (list_bad_blocks): Change to not die if the listing
1202 of the bad blocks can't be found. Slimmed down dumpe2fs
1203 by eliminating duplicate code paths.
1204
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012052001-12-16 Theodore Tso <tytso@mit.edu>
Theodore Ts'o8cf93332001-12-16 02:23:36 -05001206
Theodore Ts'o4ea7bd02001-12-16 23:23:37 -05001207 * dumpe2fs.c (list_desc), fsck.c (fs_match),
1208 get_device_by_label.c (get_label_uuid),
1209 mke2fs.c (set_fs_defaults, zap_sector, PRS),
1210 tune2fs.c (remove_journal_device, update_feature_set),
1211 util.c (figure_journal_size), util.h: Fix gcc -Wall nits.
1212
1213 * e2image.c (write_raw_image_file): Fix gcc -Wall nits, and use
1214 the stashed inode functions to optimize away system calls.
1215
Theodore Ts'o8cf93332001-12-16 02:23:36 -05001216 * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to
1217 linux/jbd.h
1218
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012192001-12-02 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa5f0bb92001-12-02 19:29:35 +01001220
1221 * dumpe2fs.c: Don't print the offset to the bitmap and inode table
1222 if it's negative. Also did some generalized code clean up
1223 to slim it down the support of the -x option.
1224
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012252001-11-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'oa36cf922001-11-24 16:13:49 -05001226
1227 * e2image.8.in: Fix cut-and-paste typo (Addresses Debian bug
1228 #119624)
1229
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012302001-11-13 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6ef39202001-11-13 18:49:09 -05001231
1232 * util.c (check_plausibility): Use stat64 if available so that
1233 check_plausibility() works with files > 2GB.
1234
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012352001-11-05 Theodore Tso <tytso@mit.edu>
Theodore Ts'o6430bd62001-11-05 18:58:46 -05001236
Theodore Ts'ob3f5b4c2001-11-05 19:22:02 -05001237 * chattr.1.in: Update the man page to document the EXT2_NOTAIL_FL
1238 flag.
1239
1240 * chattr.c: Add support for the EXT2_NOTAIL_FL flag.
1241
Theodore Ts'o6430bd62001-11-05 18:58:46 -05001242 * fsck.c (interpret_type): If the "auto" type is specified, make
1243 sure interpet_device() is called so that device
1244 specifications which use LABEL= or UUID= are translated
1245 into a real device name.
1246
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012472001-10-12 Theodore Tso <tytso@mit.edu>
Theodore Ts'oe3ef3502001-11-05 18:57:43 -05001248
1249 * e2image.c (output_meta_data_blocks): Optimize away excess
1250 lseek() calls when creating a sparse file. Fewer system
1251 calls are a good thing. <g>
1252
Andreas Dilger568101f2001-10-13 01:22:25 -060012532001-10-07 Andreas Dilger <adilger@turbolinux.com>
1254
1255 * mke2fs.c (main): Always exit with non-zero code in case of error.
1256
1257 * mke2fs.c (zap_sector): Check that buffer allocation succeeded.
1258
Theodore Ts'ofbf91112001-09-20 10:47:47 -040012592001-09-20 Theodore Tso <tytso@thunk.org>
1260
1261 * Release of E2fsprogs 1.25
1262
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012632001-09-19 Theodore Tso <tytso@mit.edu>
Theodore Ts'o39567c42001-09-19 15:28:21 -04001264
Theodore Ts'of6a6afc2001-09-19 18:27:39 -04001265 * tune2fs.c (remove_journal_inode): Remove dead code that wasn't
1266 in use.
1267
Theodore Ts'o39567c42001-09-19 15:28:21 -04001268 * tune2fs.8.in: Update man page to reflect the fact that adding or
1269 removing a journal doesn't require running e2fsck.
1270
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -050012712001-09-13 Theodore Tso <tytso@mit.edu>
Theodore Ts'o3f85f652001-09-17 10:38:06 -04001272
1273 * mke2fs.c (zap_sector): Allocate sufficient space for
1274 zero-filled buffer.
1275
Theodore Ts'ofb707752001-09-04 15:00:37 -040012762001-09-02 Theodore Tso <tytso@thunk.org>
1277
1278 * Release of E2fsprogs 1.24a
1279
Andreas Dilger9d8e6342001-08-31 10:24:46 -060012802001-08-31 Andreas Dilger <adilger@turbolinux.com>
1281
1282 * mke2fs.c (main): Fix version format string.
1283
Theodore Ts'o109624a2001-08-31 00:59:55 -040012842001-08-30 Theodore Tso <tytso@thunk.org>
1285
1286 * Release of E2fsprogs 1.24
1287
Theodore Ts'o177a9ac2001-08-30 18:07:40 -040012882001-08-30 Theodore Tso <tytso@valinux.com>
1289
1290 * badblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621)
1291
Theodore Ts'o04a96852001-08-30 21:55:26 -04001292 * mke2fs.c (zap_sector): Now takes a third argument, which is how
1293 many sectors to clear out. Fixed up Andreas's patch to
1294 make it a bit more efficient/compact.
1295
Andreas Dilger59f27242001-08-30 15:39:04 -060012962001-08-30 Andreas Dilger <adilger@turbolinux.com>
1297
1298 * mke2fs.c (main): Zap the second sector of the disk, along with
1299 any sectors in the same filesystem block after the superblock.
1300 The latter will remove (for example) swapspace signatures
1301 on 4kB+ blocksize filesystems. Also when zeroing the "end"
1302 of the filesystem don't actually zero the start of a very
1303 small device (less than 64 blocks).
1304
Theodore Ts'o0f8973f2001-08-27 12:44:23 -040013052001-08-27 Theodore Tso <tytso@valinux.com>
1306
Andreas Dilger59f27242001-08-30 15:39:04 -06001307 * fsck.c (main): Make version display consistent with the other
Theodore Ts'o0f8973f2001-08-27 12:44:23 -04001308 e2fsprogs programs.
1309
1310 * lsattr.c, chattr.c, mke2fs.c, tune2fs.c, dumpe2fs.c, e2image.c,
1311 mklost+found.c: Remove EXT2FS_VERSION from the version
1312 display, since it only confuses people.
1313
Theodore Ts'oe843c762001-08-18 14:22:25 -040013142001-08-18 Theodore Tso <tytso@valinux.com>
1315
1316 * tune2fs.c (remove_journal_device): Remove unused variable
1317 check_uuid.
1318
1319 * get_device_by_label.h: Define function prototype for
1320 copy_string(), since this was moved from fsck.c to
1321 get_device_by_label.c by Andreas's BK changeset.
1322
Andreas Dilger2d155762001-08-17 03:48:11 -060013232001-08-17 Andreas Dilger <adilger@turbolinux.com>
1324
1325 * get_device_by_label.[ch], fsck.c, util.c: New interpret_spec()
1326 function in get_device_by_label.c to allow the use of
1327 UUID= or LABEL= when creating filesystems which use external
1328 journal dev (e.g. mke2fs -J device=LABEL=<journal_label>).
1329
1330 * tune2fs.c: Use superblock s_journal_uuid to locate an external
1331 journal device instead of s_journal_dev when removing it.
1332 Allow opening journal devices to set the label and UUID
1333 in the ext2 superblock.
1334
1335 * mke2fs.c, tune2fs.c: Free journal_device after use, as it is
1336 malloc'd in interpret spec.
1337
Theodore Ts'od2586682001-08-15 11:03:58 -040013382001-08-15 Theodore Tso <tytso@valinux.com>
1339
Theodore Ts'o943ed872001-08-27 12:29:22 -04001340 * Release of E2fsprogs 1.23
1341
13422001-08-15 Theodore Tso <tytso@valinux.com>
1343
Theodore Ts'o7141b542001-08-15 19:17:37 -04001344 * tune2fs.c: Make sure that error messages are sent to stderr, and
1345 normal messages are sent to stdout. (Addresses Debian bug
1346 #108555.)
1347
Theodore Ts'o1d349cc2001-08-15 19:06:55 -04001348 * fsck.8.in: Fixed error in synopsis of the man page.
1349
Theodore Ts'o88f8af62001-08-15 18:39:51 -04001350 * fsck.c (check_all): Don't bother to interpret a device where the
Theodore Ts'o685c13f2001-08-15 19:04:59 -04001351 pass number is zero. (Addresses Debian bug #106696.)
1352 (main): Print a warning message if there are no devices to
1353 be checked. (Addresses Debian bug #107458.)
Theodore Ts'o88f8af62001-08-15 18:39:51 -04001354
Theodore Ts'of3561ed2001-08-15 11:58:16 -04001355 * mke2fs.c (PRS): Handle -O and -s options in line in the getopt
1356 loop, so that -s and -O handling are a bit more intuitive.
1357 (Not that they should be mixed anyway; -s is deprecated.)
1358
Theodore Ts'od2586682001-08-15 11:03:58 -04001359 * tune2fs.c (parse_tune2fs_options): Give an error if -O is
1360 specified more than once.
1361
Theodore Ts'o085b02c2001-08-10 19:13:11 -040013622001-08-10 Theodore Tso <tytso@valinux.com>
1363
1364 * mke2fs.8.in: Slim down text describing the -O flag to remove
1365 text that erroneously implied that all features
1366 (including compatible flags) aren't compatible with older
1367 kernels.
1368
Theodore Ts'o6304baf2001-08-09 05:41:29 -040013692001-08-09 Theodore Tso <tytso@valinux.com>
1370
Theodore Ts'oe8a447d2001-08-09 06:13:18 -04001371 * mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if
1372 mke2fs -O none is specified, the sparse_super feature
1373 should not be present.
1374
Theodore Ts'o6304baf2001-08-09 05:41:29 -04001375 * e2image.c, e2image.8.in: Add support for raw image files.
1376
Theodore Ts'o8c97b0b2001-08-04 21:14:45 -040013772001-08-04 Andreas Dilger <root@lynx.adilger.int>
1378
1379 * mke2fs.c (PRS): Put check for JOURNAL_DEV before sparse_option,
1380 so we don't set the sparse superblock flag on journal devices.
1381
Theodore Ts'o194686b2001-07-31 12:03:23 -040013822001-07-31 Theodore Tso <tytso@valinux.com>
1383
1384 * tune2fs.c (update_feature_set, remove_journal_inode): If
1385 removing an in-filesystem journal, clear out the journal
1386 inode and update the filesystem accounting structures so
1387 we don't have to run e2fsck to clean up after ourselves
1388
Theodore Ts'ode49f012001-07-30 16:31:30 -040013892001-07-30 Theodore Tso <tytso@valinux.com>
1390
1391 * tune2fs.c (update_feature_set): Don't require a forced fsck if
1392 we're removing an external journal from a filesystem.
1393
Theodore Ts'o77dc4eb2001-07-27 22:00:18 -040013942001-07-27 Theodore Tso <tytso@valinux.com>
1395
1396 * mke2fs.c (PRS): If the blocksize is not specified and the
1397 journal device is specified, use it to determine the
1398 blocksize of the new filesystem.
1399
Theodore Ts'o9b61b8c2001-07-20 14:25:23 -040014002001-07-20 Theodore Tso <tytso@valinux.com>
1401
1402 * fsck.8.in: Add much more explicit language documenting how the
1403 fs_passno field in /etc/fstab is handled. (Addresses
1404 Debian bug #30833).
1405
Theodore Ts'oda376f52001-07-19 20:38:53 -040014062001-07-19 Theodore Tso <tytso@valinux.com>
1407
1408 * fstype.c (identify_fs): New file which looks at the superblock
1409 of the filesystem to determines its type.
1410
1411 * fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
1412 if the type specified in /etc/fstab is "auto".
1413
Theodore Ts'o67960132001-06-23 00:16:37 -040014142001-06-23 Theodore Tso <tytso@valinux.com>
1415
1416 * Release of E2fsprogs 1.22
1417
Theodore Ts'of4f75ba2001-06-16 01:14:28 +000014182001-06-15 Theodore Tso <tytso@valinux.com>
1419
1420 * Release of E2fsprogs 1.21
1421
Theodore Ts'o562ba5e2001-06-14 07:05:44 +000014222001-06-14 Theodore Tso <tytso@valinux.com>
1423
1424 * mke2fs.c (PRS): Remove unneeded test in when creating a external
1425 filesystem journal.
1426
Theodore Ts'ocdf186e2001-06-13 22:16:47 +000014272001-06-13 Theodore Tso <tytso@valinux.com>
1428
Theodore Ts'o66cf2f62001-06-14 06:42:44 +00001429 * tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move
1430 the message which displays how often the filesystem will
1431 be checked from mke2fs into a utility subroutine. Then
1432 cause tune2fs to call that function to display the message
1433 after adding a journal to a filesystem.
1434
1435 * mke2fs.8.in: Add manual page fixups and explanation for why it's
1436 good to check filesystems periodically from Andreas
1437 Dilger.
1438
Theodore Ts'ocdf186e2001-06-13 22:16:47 +00001439 * Makefile.in: Don't build e2image if --disable-imager is
1440 specified to configure.
1441
Theodore Ts'o28cf9042001-06-12 22:35:00 +000014422001-06-12 Theodore Tso <tytso@valinux.com>
1443
Theodore Ts'ocbbf0312001-06-13 00:12:04 +00001444 * dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not
1445 we're (not) using i386 byte order.
1446
1447 * dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks
1448 function, and use the ext2fs_badblocks_* functions
1449 instead.
1450
Theodore Ts'o28cf9042001-06-12 22:35:00 +00001451 * fsck.c (device_already_active): Fixed bug which can cause fsck
1452 to core dump if there are a mix of devices with standard
Theodore Ts'o83d5abf2001-06-13 23:31:27 +00001453 and non-standard names. (Addresses Debian bug #100559)
Theodore Ts'o28cf9042001-06-12 22:35:00 +00001454
Theodore Ts'ob7056402001-06-08 02:53:20 +000014552001-06-07 Theodore Tso <tytso@valinux.com>
1456
1457 * chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using
1458 the 64-bit function, since this changes the expected size
1459 of struct dirent. Instead use lseek64 explicitly.
1460
Theodore Ts'o797f5ef2001-06-01 23:49:46 +000014612001-06-01 Theodore Tso <tytso@valinux.com>
1462
1463 * Makefile.in: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +00001464 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +00001465
Theodore Ts'oe549d0a2001-05-25 16:38:48 +000014662001-05-25 Theodore Tso <tytso@valinux.com>
1467
Theodore Ts'obb185862001-05-25 17:35:00 +00001468 * Release of E2fsprogs 1.20
1469
14702001-05-25 Theodore Tso <tytso@valinux.com>
1471
Theodore Ts'oe549d0a2001-05-25 16:38:48 +00001472 * tune2fs.c (update_feature_set): Fix capitalization typo.
1473
Theodore Ts'oc7a24e42001-05-23 22:26:39 +000014742001-05-23 Theodore Tso <tytso@valinux.com>
1475
Theodore Ts'oa9bc79a2001-05-23 22:29:22 +00001476 * partinfo.c (main): Use unsigned long instead of long when
1477 querying the size of a device using the BLKGETSIZE ioctl,
1478 to remove the 1TB limit (and turn it into a 2TB limit :-)
1479
Theodore Ts'oc7a24e42001-05-23 22:26:39 +00001480 * fsck.c (compile_fs_type): Fix I18N compilation bug: use N_()
1481 instead of _() to initialize static variables.
1482
Theodore Ts'o07025ae2001-05-21 01:39:02 +000014832001-05-20 Theodore Tso <tytso@valinux.com>
1484
Theodore Ts'o10a32f12001-05-21 02:15:15 +00001485 * fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix
1486 handling of -t option to be more intuitive. Also add
1487 support for the Mandrake -t loop hack. See man page
1488 for description of new -t semantics.
1489
Theodore Ts'o9164b862001-05-21 01:41:37 +00001490 * fsck.c (device_already_active): Fix bug in
1491 device_already_active which could cause infinite loops if
1492 we don't know the base_device of the filesystem.
1493
Theodore Ts'o07025ae2001-05-21 01:39:02 +00001494 * fsck.c: Make sure all exit status codes returned by fsck are
1495 consistent with the error codes documented in the fsck man
1496 page.
1497
Theodore Ts'o251395d2001-05-14 04:43:05 +000014982001-05-14 Theodore Tso <tytso@valinux.com>
1499
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001500 * badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c,
1501 lsattr.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c:
1502 Change location of ext2_fs.h to be ext2fs/ext2_fs.h
1503
Theodore Ts'o251395d2001-05-14 04:43:05 +00001504 * tune2fs.8.in: Fix typo's and make other clarifications suggested
1505 by Andreas Dilger.
1506
Theodore Ts'o1400bbb2001-05-14 04:19:25 +000015072001-05-11 Andreas Dilger <adilger@turbolinux.com>
1508
1509 * mke2fs.c: don't zap the superblock if we are running with noaction!
1510 Zap the end of the device to remove stale RAID superblocks.
1511
Theodore Ts'o8d641742001-05-14 04:12:27 +000015122001-05-14 Theodore Tso <tytso@valinux.com>
1513
1514 * tune2fs.c (update_feature_set): Clean up some printf messages.
1515
1516 * fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other
1517 clarifications suggested by Andreas Dilger.
1518
Theodore Ts'o14bbcbc2001-05-13 22:58:27 +000015192001-05-13 Theodore Tso <tytso@valinux.com>
1520
1521 * mke2fs.c (PRS): Integrated changes from Andreas Dilger which
1522 make the revision superblock field be set to the correct
1523 value depending on if superblock features are set.
1524
Theodore Ts'o6d56d512001-05-12 15:46:21 +000015252001-05-12 Theodore Tso <tytso@valinux.com>
1526
Theodore Ts'o69303722001-05-12 16:12:12 +00001527 * fsck.c (PRS): fsck -? now prints the usage message.
1528
Theodore Ts'o12da49c2001-05-12 15:49:17 +00001529 * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in,
1530 mklost+found.8.in, tune2fs.8.in: Fix typo; removed
1531 excess "anonymous" in the AVAILABILITY section.
1532
Theodore Ts'o6d56d512001-05-12 15:46:21 +00001533 * chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of
1534 e2fsprogs package.
1535
Theodore Ts'od71a4952001-05-07 16:53:26 +000015362001-05-07 Theodore Tso <tytso@valinux.com>
1537
1538 * util.c: Use specific check for HAVE_SYS_STAT_H.
1539
Theodore Ts'ocd130a02001-05-05 05:43:23 +000015402001-05-05 Theodore Tso <tytso@valinux.com>
1541
Theodore Ts'o609c9d02001-05-05 06:45:05 +00001542 * fsck.8.in: Add explicit language to describe how options get
1543 passed to filesystem-specific checkers.
1544
Theodore Ts'ocd130a02001-05-05 05:43:23 +00001545 * badblocks.8.in: Fixed man page to describe the first optional
1546 parameter to badblocks as last_block, instead of
1547 num_blocks. (Debian bug #87216)
1548
1549 * badblocks.c: Change the blocks_count variable to be last_count,
1550 which is a more accurate description of the variable.
1551
Theodore Ts'o095b4592001-05-03 13:33:11 +000015522001-05-03 Theodore Tso <tytso@valinux.com>
1553
Theodore Ts'o348e43d2001-05-03 14:43:43 +00001554 * e2image.8.in: New manual page
1555
1556 * badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in,
1557 tune2fs.8.in: Update location of e2fsprogs to be
1558 http://e2fsprogs.sourceforge.net.
1559
1560 * dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs
1561 to dump out the filesystem statistics from an ext2 image
1562 file.
1563
Theodore Ts'o095b4592001-05-03 13:33:11 +00001564 * e2image.c (main): Fix format of e2image to be easier to be parse
1565 by ext2fs_open().
1566
Theodore Ts'o45d70862001-05-01 15:44:37 +000015672001-05-01 Theodore Tso <tytso@valinux.com>
1568
1569 * fsck.c (device_already_active): If we're not able to determine
1570 the base device, we should assume that the device is
1571 already active in order to force serialization.
1572
Theodore Ts'oce57f142001-04-26 04:25:39 +000015732001-04-26 Theodore Tso <tytso@valinux.com>
1574
1575 * tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for
1576 backwards compatibility with older kernels). -c 0 makes
1577 more sense to users.
1578
Theodore Ts'o4d0f2282001-04-23 20:58:03 +000015792001-04-22 Theodore Tso <tytso@valinux.com>
1580
1581 * tune2fs.c (remove_journal_device): If the force flag is given,
1582 tune2fs will remove the journal device information from
1583 the superblock even if tune2fs failed to open the journal
1584 device or otherwise other failed to remove the filesystem
1585 from journal device.
1586 (parse_tune2fs_options): Fix -j option so that it works
1587 (it was missing the open_flag being set to EXT2_FLAG_RW).
1588 (main): Accept "-U clear" to set a null UID.
1589
Theodore Ts'ob10fd5e2001-04-22 03:47:23 +000015902001-04-21 Theodore Tso <tytso@valinux.com>
1591
Theodore Ts'o48015ce2001-04-22 03:58:32 +00001592 * mke2fs.8.in: Manual page cleanups. Temporarily comment out the
1593 documentation for the extern journal device support.
1594
Theodore Ts'ob10fd5e2001-04-22 03:47:23 +00001595 * mke2fs.c (usage): Remove the deprecated -s option from the usage
1596 message.
1597
Theodore Ts'o1d08d9b2001-04-17 01:01:49 +000015982001-04-16 Theodore Tso <tytso@valinux.com>
1599
Theodore Ts'o2103ea72001-04-21 20:53:43 +00001600 * mke2fs.c (main): Add better explanation about when the
1601 filesystem will be checked after it is created.
1602
Theodore Ts'od6a27e02001-04-17 02:34:41 +00001603 * util.c (parse_journal_opts): Remove code which allowed a bare
1604 number to be treated as a journal size.
1605
Theodore Ts'o1d08d9b2001-04-17 01:01:49 +00001606 * mke2fs.c, tune2fs.c: Add newlines to error messages so that they
1607 look nicer.
1608
Theodore Ts'od6a27e02001-04-17 02:34:41 +00001609 * mke2fs.c (create_journal_dev): Call
1610 ext2fs_create_journal_superblock() first, so if it's going
1611 to error out, the user finds out before waiting for the
1612 entire device to get zero'ed.
1613
Theodore Ts'o2537b6d2001-03-26 20:07:13 +000016142001-03-26 Theodore Tso <tytso@valinux.com>
1615
1616 * mke2fs.8.in, tune2fs.8.in: Change man paegs to document that the
Theodore Ts'o8d641742001-05-14 04:12:27 +00001617 journal must be bewteen 1024 and 102,400 file system
Theodore Ts'o2537b6d2001-03-26 20:07:13 +00001618 blocks.
1619
1620 * mke2fs.c, tune2fs.c: Change to use figure_journal_size()
1621
1622 * util.c, util.h (figure_journal_size): Change
1623 journal_default_size into routine which also converts the
1624 requested journal size into filesystem blocks and does
1625 bounds checking to make sure the journal is sized
1626 reasonably. Renamed function to journal_default_size.
1627 (parse_journal_opts): Remove bounds check for the journal
1628 size, since this is now done in figure_journal_size, and
1629 based on the number of filesystem blocks, as opposed to
1630 using the absolute size of the journal.
1631
Theodore Ts'o93345d12001-02-17 06:09:50 +000016322001-02-17 Theodore Tso <tytso@valinux.com>
1633
1634 * mke2fs.c (main): Flush out the "creating journal" message.
1635 Also handle the case where the default journal size
1636 returns zero blocks == no journal. Print out how often
1637 the filesystem will be checked.
1638
Theodore Ts'oc5423c52001-02-08 05:45:17 +000016392001-02-08 Theodore Tso <tytso@valinux.com>
1640
1641 * e2image.c (main): Add code to write the e2image header.
1642
Theodore Ts'offf18b42001-02-08 03:06:43 +000016432001-02-07 Theodore Tso <tytso@valinux.com>
1644
Theodore Ts'obe4244b2001-02-08 03:28:18 +00001645 * tune2fs.8.in: Update man page to reflect that 2.0.39 supports
1646 sparse_super.
1647
Theodore Ts'o8b164f92001-02-08 03:24:18 +00001648 * dumpe2fs.c (list_desc): Fix fencepost error when calculating the
1649 range of inode table blocks. Add '0x' to values printed
1650 in hex.
1651
Theodore Ts'offf18b42001-02-08 03:06:43 +00001652 * chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the
1653 use of the LFS so that lstat will work on large files.
1654
Theodore Ts'o02088862001-01-18 01:44:19 +000016552001-01-17 Theodore Ts'o <tytso@valinux.com>
1656
Theodore Ts'odc2ec522001-01-18 01:51:15 +00001657 * tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user
1658 interface so that -J is used to specify journal options,
1659 and -j is used to request creation of a journal using
1660 default values. (This is a UI change, but we haven't done
1661 a formal release, and it makes things much more consistent
1662 with the rest of the options out there.)
1663
1664 * tune2fs.c: Add support for removing a filesystem from an
1665 external journal; we correctly remove the filesystem UUID
1666 from the external journal's filesystem list.
1667
Theodore Ts'o5683e6e2001-01-18 01:47:48 +00001668 * util.h, util.c (journal_default_size): New function from Andreas
1669 Dilger to calculate an appropriate default journal size
1670 given a filesystem size.
1671
1672 * util.c (parse_journal_opts): Allow the creation of a journal as
1673 small as 1MB.
1674
Theodore Ts'o02088862001-01-18 01:44:19 +00001675 * dumpe2fs.c (print_journal_information): Use s_first_data_block
1676 to find the correct block to read the journal superblock.
1677
Theodore Ts'o16ed5b32001-01-16 07:47:31 +000016782001-01-15 Theodore Ts'o <tytso@valinux.com>
1679
1680 * tune2fs.c: Changed the external journal code so that it simply
1681 adds a filesystem to a journal; the journal must have bene
1682 created via "mke2fs -O journal_dev /dev/XXX".
1683
1684 * mke2fs.c: Add support for creating an external journal device by
1685 using the command "mke2fs -O journal_dev /dev/XXX". Also
1686 changed the external journal code so -j device=/dev/XXX it
1687 simply adds a filesystem to that journal; the journal must
1688 have been created via separate step.
1689
1690 * dumpe2fs.c (print_journal_information): Add support for dumping
1691 information about an external journal device.
1692
Theodore Ts'o4055ef72001-01-14 16:11:14 +000016932001-01-14 Theodore Ts'o <tytso@valinux.com>
1694
Theodore Ts'o44c09c02001-01-14 17:02:09 +00001695 * mke2fs.c: Add new filesystem types, largefile and largefile4,
1696 for those filesystems whose average inode size is 1MB and
1697 4MB, respectively. Allow the inode ratio specified to be
1698 has high as 4MB. Make the s_max_mount_count vary between
1699 20 and 40, to avoid needing to check all of the
1700 filesystems at the same time. Add some random jitter to
1701 the s_max_mount_count value so that we avoid checking all
1702 of the filesystems at the same time when we reboot.
1703
Theodore Ts'o08dd8302001-01-14 16:25:58 +00001704 * tune2fs.8.in: Add description of the -j option.
1705
Theodore Ts'o4055ef72001-01-14 16:11:14 +00001706 * tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush
1707 stdout after printing in-progress message.
1708 (main): Exit with status code 1 if we failed to determine
1709 the mount status of the device.
1710
Theodore Ts'odfcdc322001-01-11 15:38:00 +000017112001-01-11 <tytso@snap.thunk.org>
1712
Theodore Ts'oc8c071a2001-01-11 16:08:23 +00001713 * e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c,
1714 uuidgen.c: Fix gcc -Wall complaints, including one bug in
1715 tune2fs caused by a block automatic shadowing version of
1716 the variable we really wanted to use, which broke the
1717 logic testing to see if the filesystem was mounted.
1718
Theodore Ts'o4d404542001-01-11 16:04:59 +00001719 * badblocks.c (flush_bufs): Use ext2fs_sync_device() to sync and
1720 flush the device.
1721
Theodore Ts'odfcdc322001-01-11 15:38:00 +00001722 * mke2fs.c: Change ino_t to ext2_ino_t.
1723
Theodore Ts'o83238152001-01-09 00:16:26 +000017242001-01-08 <tytso@snap.thunk.org>
1725
1726 * Makefile.in, tune2fs.c: Move e2label functionality into tune2fs,
1727 using argv[0] as a dispatch. This allows e2label to be
1728 (more) safely used on mounted filesystems.
1729
Theodore Ts'o8820c792001-01-06 04:20:03 +000017302001-01-05 <tytso@snap.thunk.org>
1731
1732 * get_device_by_label.h (get_volume_label_by_spec): Add function
1733 prototype.
1734
1735 * get_device_by_label.c: Use string_copy() instead of strdup() for
1736 portability's sake. Fix a few other gcc -Wall
1737 complaints.
1738
1739 * fsck.c (string_copy): Export string_copy() extern.
1740
1741 * badblocks.c: Fix various gcc -Wall complaints, including
1742 an incorrect reference to sync in flush_bufs().
1743
Theodore Ts'o63985322001-01-03 17:02:13 +000017442001-01-03 <tytso@snap.thunk.org>
1745
1746 * tune2fs.c (update_feature_set, add_journal): Moved to separate
1747 functions. Added ability to add and remove the journal
1748 while the filesystem is live. Added support for setting
1749 a time-based UUID. Removed zero-initialized static variables.
1750
1751 * mke2fs.c, util.c, util.h (strcasecmp, proceed_question,
1752 check_plausibility, parse_journal_opts, check_mount):
1753 Moved functions to util.c so they can be used by tune2fs.
1754
1755 * mke2fs.c (main): Change ext2fs_add_journal_fs() to
1756 ext2fs_add_journal_inode() to reflect function renaming.
1757
Theodore Ts'ob21e38a2001-01-01 15:26:58 +000017582001-01-01 <tytso@snap.thunk.org>
1759
Theodore Ts'oef9abe52001-01-01 15:31:53 +00001760 * mke2fs.c, e2image.c: Removed references to struct ext2fs_sb to
1761 struct ext2_super_block.
1762
Theodore Ts'ob21e38a2001-01-01 15:26:58 +00001763 * tune2fs.c (main): Add support to allow HAS_JOURNAL flag to be
1764 cleared, but only if the filesystem is unmounted or
1765 mounted read-only. Changed struct ext2fs_sb to struct
Theodore Ts'oef9abe52001-01-01 15:31:53 +00001766 ext2_super_block, and cleaned up old code which was needed
1767 for old versions of ext2_fs.h (not needed since we're
1768 using our own version now).
Theodore Ts'ob21e38a2001-01-01 15:26:58 +00001769
Theodore Ts'o9a718842000-12-31 13:48:12 +000017702000-12-31 <tytso@snap.thunk.org>
1771
Theodore Ts'od4cf2fc2000-12-31 14:09:38 +00001772 * fsck.c (check_all): Call interpet_device to resolve LABEL= and
1773 UUID= right away so that the device_already_active() logic
1774 can do the right thing. Also cleaned up the the root
1775 filesystem logic checking code; fixed up a logic bug with
1776 the parallel_root option.
1777
Theodore Ts'of10748d2000-12-31 13:55:14 +00001778 * lsattr.1.in: Add pointer to chattr man page for definition of
1779 the file attributes.
1780
1781 * lsattr.c (list_attributes): Minor cleanup to smooth out logic
1782 flow. Also removed static initialized variables to zero.
1783
Theodore Ts'o9a718842000-12-31 13:48:12 +00001784 * chattr.c (decode_arg, get_flag): Use a table-driven method for
1785 decoding the ext2 file flags character options. Add
1786 support for the journaled data flag.
1787
1788 * chattr.1.in: Document the -j/+j/=j flag.
1789
Theodore Ts'o16ad3332000-12-31 03:21:56 +000017902000-12-30 <tytso@snap.thunk.org>
1791
1792 * mke2fs.8.in: Minor clarity edit.
1793
1794 * mke2fs.c (usage): Document the -j option.
1795 (main): Print the number blocks used in the journal.
1796
Theodore Ts'ob9fd8c12000-12-29 03:10:45 +000017972000-12-28 <tytso@snap.thunk.org>
1798
1799 * base_device.c (base_device): Add support for DAC960 device
1800 names.
1801
1802 * fsck.c (device_already_active): Handle the case where
1803 base_device doesn't know how to interpret the device name,
1804 instead of core dumping.
1805
Theodore Ts'o74a74d22000-12-09 14:33:29 +000018062000-12-09 <tytso@snap.thunk.org>
1807
Theodore Ts'od48755e2000-12-09 14:36:04 +00001808 * mke2fs.c (main, parse_journal_opts): Add support for creating V1
1809 superblocks. We now pass in a journal_flags field to the
1810 journal creation routines for this purpose.
1811
1812 * mke2fs.c: Remove zero initializers to save a few bytes from the
1813 executable image. (Are we excited yet?)
1814
Theodore Ts'o74a74d22000-12-09 14:33:29 +00001815 * findsuper.c: And non-subtle copyright licensing restriction to
1816 get Yann to remove this program from the Debian package. :-)
1817
Theodore Ts'o793e27d2000-12-03 06:33:56 +000018182000-12-03 <tytso@snap.thunk.org>
1819
1820 * fsck.c (device_already_active): Change to use new version of
1821 base_device() which now returns dynamically allocated
1822 memory.
1823
1824 * base_device.c (base_device): New version moved from fsck.c which
1825 now understands ugly devfs names. (Debian bug #65181)
1826
1827 * base_device.tst: Test case for base_device.c
1828
Theodore Ts'oe1c6b2f2000-12-02 06:19:33 +000018292000-12-02 <tytso@snap.thunk.org>
1830
Theodore Ts'o2d091792000-12-02 07:03:32 +00001831 * fsck.8.in: Add clarification that filesystems with a fs_passno
1832 of 0 are skipped with the -A option. (Debian wishlist/bug
1833 #63442)
1834
Theodore Ts'oe9f9dd82000-12-02 06:35:07 +00001835 * fsck.c (wait_one): When we let a new fsck take control of the
1836 console to display the progress bar, set FLAG_PROGRESS to
1837 so that fsck knows not to start new processes during an
1838 fsck pass with the progress bar. (Should fix debian bug
1839 #65267)
1840
Theodore Ts'oe1c6b2f2000-12-02 06:19:33 +00001841 * tune2fs.8.in: Add clarifying statement about converting user and
1842 group names to uid's before storing them in the
1843 superblock. (Debian bug #67446)
1844
Theodore Ts'o8ddaa662000-11-17 04:55:24 +000018452000-11-16 Theodore Ts'o <tytso@valinux.com>
1846
1847 * mke2fs.c(main): Expand the -j option so that it parses
1848 option=argument style options, and add support for
1849 creating filesystems with external journals.
1850
1851 * mke2fs.8.in: Document new syntax for the -j option.
1852
Theodore Ts'o72ed1262000-11-12 19:32:20 +000018532000-11-05 <tytso@snap.thunk.org>
1854
1855 * e2image.c, Makefile.in: New program which saves ext2 metadata to
1856 a file for people who need a last-ditch saving throw.
1857
Theodore Ts'o85ef4ae2000-10-24 19:33:45 +000018582000-10-24 <tytso@snap.thunk.org>
1859
Theodore Ts'of6f65832000-10-25 03:01:37 +00001860 * mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s
1861 handling a bit more sane. (Even though -s is deprecated
1862 at this point.)
1863
Theodore Ts'o0056be12000-10-25 02:24:33 +00001864 * get_device_by_label.c: Apply fix from Erik Troan to support 16
1865 character labels.
1866
Theodore Ts'o43819662000-10-25 02:06:09 +00001867 * fsck.c (device_already_active): Add a special case check for MD
1868 devices, so we don't try to check them in parallel with
1869 other devices.
1870
Theodore Ts'o85ef4ae2000-10-24 19:33:45 +00001871 * mke2fs.c (PRS, main), mke2fs.8.in: Add support for the -j
1872 option, which builds an ext2/3 filesystem with an ext3
1873 journal.
1874
Theodore Ts'oe294cf22000-10-24 18:41:44 +000018752000-10-24 <tytso@valinux.com>
1876
1877 * mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95
1878 didn't catch.
1879
Theodore Ts'o3f1e9a52000-09-12 21:21:52 +000018802000-09-12 <tytso@valinux.com>
1881
1882 * fsck.c: Add base device definitions for hd[e-h], for those
1883 systems with four IDE interfaces.
1884
Theodore Ts'od7e39b02000-09-11 17:01:35 +000018852000-09-11 <tytso@valinux.com>
1886
1887 * mke2fs.c (zap_sector): Fix error message printed when zap_sector
1888 fails.
1889
1890 * dumpe2fs.c (list_desc): Fixed format string bug when printing
1891 the inode table location in non-hex format.
1892
Theodore Ts'o556ccbd2000-08-20 19:11:05 +000018932000-08-20 <tytso@valinux.com>
1894
1895 * get_device_by_label.c: Add call to ext2fs_find_block_device if
1896 we can't find the device using the name given by
1897 /proc/partitions. (This can happen if devfs is compiled
1898 into the kernel, but not mounted.)
1899
Theodore Ts'o80c22c92000-08-14 15:32:11 +000019002000-06-27 Andreas Dilger <adilger@turbolabs.com>
1901
1902 * dumpe2fs.c (usage): add fhx options to usage message, add -x option
1903 to print out the per-group block numbers in hex, add line for
1904 location of primary/backup superblock and group descriptors
1905
1906 * mke2fs.c: rename max to group_blk_max avoid potential macro conflict
1907
Theodore Ts'oe41784e2000-08-14 14:44:15 +000019082000-08-14 <tytso@valinux.com>
1909
1910 * mke2fs.c (zap_sector): Change zap_bootsect to more general
1911 zap_sect.
1912 (main): Clear the superblock when starting mke2fs, to
1913 avoid leaving the filesystem in an inconsistent state.
1914
Theodore Ts'o28412de2000-07-27 02:45:55 +000019152000-07-26 <tytso@valinux.com>
1916
1917 * get_device_by_label.c: Improve /proc/partitions parsing in
1918 fsck, and speed up fsck -a.
1919
Theodore Ts'of9e67062000-07-13 23:25:54 +000019202000-07-13 <tytso@valinux.com>
1921
1922 * Release of E2fsprogs 1.19
1923
Theodore Ts'oa551b782000-07-13 22:05:31 +000019242000-07-13 <tytso@snap.thunk.org>
1925
1926 * badblocks.8.in: Added text explaining that the -n and -w options
1927 are mutually exclusive.
1928
1929 * badblocks.c (usage): Fix usage message to make it clear that the
1930 block count must be specified if the starting block is to
1931 be specified. (The starting block should be a option, in
1932 the long run.)
1933
1934 * badblocks.c (test_nd): Save and restore the currently_testing
1935 variable before going into the write verification loop.
1936 This avoids a loop termination problem if the last block
1937 on the disk is bad. Also, turn off the SIGALRM signal
1938 while restoring blocks after the user types ^C. The
1939 num_saved variable is now static so that it won't get
1940 clobbered by a longjmp. buf_used and bb_count are no
1941 longer static, since they aren't used by the cleanup
1942 routines anymore.
1943
1944 * badblocks.c (main): Removed an unsued varaible (buf_size).
1945 Fixed bad getopt argument that didn't allow the 'b' option
1946 to take an argument. Added error checking when parsing
1947 the starting block number. Fixed lint warning in fscanf
1948 format string.
1949
Theodore Ts'o35964b52000-07-06 13:19:43 +000019502000-07-06 Theodore Ts'o <tytso@valinux.com>
1951
Theodore Ts'o19c68912000-07-07 03:25:13 +00001952 * fsck.c (execute, wait_one): Treat fsck.ext3 the same as
1953 fsck.ext2 (because they are the same) for the purposes of
1954 the progress bar display logic.
1955
Theodore Ts'o45d9e2f2000-07-07 03:12:54 +00001956 * tune2fs.8.in: Update manual page to document what happens if
1957 max_mount_count is negative.
1958
1959 * tune2fs.c (main): Allow setting the maximal count value to be
1960 negative, since the kernel interprets that as forcing a
1961 check.
1962
Theodore Ts'o5b1519b2000-07-06 14:16:08 +00001963 * fsck.c (lookup, load_fs_info, check_all): Use lazy evaluation
1964 for calling interpret_device(), since this requires root
1965 privileges if the partitions need to be scanned.
1966 Otherwise, it's not possible to do non-proot fsck's for
1967 removeable devices such as floppies if there are any
1968 LABEL= or UUID= entries in /etc/fstab.
1969
Theodore Ts'o981dc562000-07-06 14:13:29 +00001970 * badblocks.c (check_mount, main): Check to see if the filesystem
1971 is mounted before doing a read/write or non-destructive
1972 test. This can be overriden using the new -f option.
1973
Theodore Ts'o35964b52000-07-06 13:19:43 +00001974 * badblocks.8.in: Update manual page to reflect that the
1975 blocks-count parameter is now optional. Also properly
Theodore Ts'o981dc562000-07-06 14:13:29 +00001976 document the start-block parameter. Added documentation
1977 for the -f option.
Theodore Ts'o35964b52000-07-06 13:19:43 +00001978
1979 * badblocks.c (main): Allow the blocks-count parameter to be
1980 optional. If it's not specified, use the size of the
1981 device as a default.
1982
Theodore Ts'od49a22b2000-07-06 00:31:27 +000019832000-07-05 Theodore Ts'o <tytso@valinux.com>
1984
1985 * badblocks.c (test_nd): Significantly simplify the logic so that
1986 it's more obviously what's going on. Fixed a few
1987 potential cases which weren't handled correctly in the
1988 old, overly complicated logic.
1989 (flush_bufs): Now doesn't take a second argument, and
1990 always forces a sync; this is required before it's really
1991 safe to call BLKFLSBUF, at least for some kernels.
1992
Theodore Ts'o26ab5312000-05-29 15:05:42 +000019932000-05-29 Theodore Ts'o <tytso@valinux.com>
1994
1995 * mke2fs.c (PRS): Add a much more specific error message if the
1996 filesystem size is defaulted and get_device_size returns a
1997 size of zero. Otherwise, users get a confusing "invalid
1998 argument while passed to ext2 library" error message.
1999
Theodore Ts'o4ea0a112000-05-08 13:33:17 +000020002000-05-08 Theodore Ts'o <tytso@valinux.com>
2001
Theodore Ts'oc96e5112000-05-08 14:47:15 +00002002 * fsck.c (interpret_device): Add better error messages if a UUID=
2003 or LABEL= specification is given.
2004
Theodore Ts'o4ea0a112000-05-08 13:33:17 +00002005 * mke2fs.c (main): We forcibly turn off the filetype feature if
2006 the OS is the hurd, since the hurd doesn't support it.
2007 (And since the hurd allows the transmogrification of files
2008 to special files and vice versa --- for no good reason
2009 that I can understand --- it can't support the filetype
2010 feature for the forseeable future, either.)
2011
2012 * mke2fs.c (proceed_question): Fix reversed sense of
2013 proceed_question that was busted due to the
2014 internationalization patch. Fixed bug where if
2015 proceed_question was called twice, the input buffer wasn't
2016 cleared of the previous question's newline.
2017
Theodore Ts'oe2207ce2000-04-06 21:51:18 +00002018Thu Apr 6 17:50:25 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
2019
2020 * badblocks.c (flush_bufs): Use fsync() if the system doesn't
2021 support fdatasync().
2022
Theodore Ts'offe4cab2000-04-03 13:27:41 +000020232000-04-03 Theodore Ts'o <tytso@valinux.com>
2024
Theodore Ts'o373b8332000-04-03 16:22:35 +00002025 * badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c,
2026 uuidgen.c: For platforms that don't define optarg.h,
2027 manually define optarg and optind.
2028
Theodore Ts'o4d003982000-04-03 16:01:11 +00002029 * badblocks.8.in: Updated manual page with suggestions from David
2030 Beattie.
2031
2032 * badblocks.c (test_nd): Generalized cleanup and bug-fixes. We
2033 now explicitly clear out the signal handlers to prevent a
2034 longjmp to a deactivated stack frame.
2035 (test_rw): Fixed a signed vs. unsigned comparison error.
2036
Theodore Ts'offe4cab2000-04-03 13:27:41 +00002037 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, lsattr.1.in,
2038 mklost+found.8.in, tune2fs.8.in: Update Remy Card's e-mail
2039 address.
2040 chattr.1.in: Update which attributes aren't supported.
2041
Theodore Ts'oe1a0a3e2000-02-11 05:00:19 +000020422000-02-09 Theodore Ts'o <tytso@valinux.com>
2043
2044 * chattr.1.in:
2045 * lsattr.1.in: Change "version" to "version/generation number".
2046
2047 * chattr.1.in: Fix stupid file vs filesystem typo.
2048
2049 * tune2fs.c Fix spelling error (spare vs sparse).
2050
2051 * mke2fs.c (PRS): Add safety check to make sure the number of
2052 blocks doesn't exceed 32 bits on a 64 bit machine.
2053
2054 * chattr.c: Random cleanup; file-only variables are now static.
2055 Options for setting/clearings flags put into order, and
2056 #ifdef's removed (since we now use a built-in header
2057 file). Add error message if user tries to set and reset
2058 the same flag.
2059
2060 * lsattr.c: Random cleanup; file-only variables are now static.
2061 The -l "long" listing has been changed to look nicer.
2062 Options names have been renamed to be more descriptive.
2063
Theodore Ts'odd018f52000-02-06 23:57:07 +000020642000-02-06 Theodore Ts'o <tytso@valinux.com>
2065
Theodore Ts'od9c56d32000-02-08 00:47:55 +00002066 * badblocks.c, chattr.c, dumpe2fs.c, e2label.c, findsuper.c,
2067 fsck.c, get_device_by_label.c, lsattr.c, mke2fs.c,
2068 mklost+found.c, nls-enable.h, partinfo.c, tune2fs.c,
2069 uuidgen.c: Add Internationalization support as
2070 suggested by Marco d'Itri <md@linux.it>.
2071
Theodore Ts'odd018f52000-02-06 23:57:07 +00002072 * badblocks.c: Fix non-destructive read/write patches from David
2073 Beattie. Non-standard variable-length automatic arrays
2074 removed. Non-destrutive write test fixed so that logic is
2075 clearer and more provably correct. (I believe the old
2076 code had a bug where the disk data wasn't restored if it
2077 was interrupted at the wrong time.)
2078
2079 * badblocks.8.in: Document new options in man page.
2080
Theodore Ts'ob4ee1fb2000-02-02 19:08:51 +000020812000-02-02 Theodore Ts'o <tytso@valinux.com>
2082
2083 * fsck.c (interpret_device): If there was an attempt to interpret
2084 a device specification of the type "UUID=" or "LABEL=",
2085 and it fails, check to see if /proc/partitions is
2086 readable. If not, print a warning message about /proc
2087 perhaps not being mounted, and exit.
2088
2089 * mke2fs.c (check_plausibility): Remove unneeded #include of
2090 linux/fs.h. Add #define of MAJOR if necessary.
2091
2092 * partinfo.c: Remove unneeded #include of linux/fs.h
2093
Theodore Ts'o582134c2000-01-19 13:26:23 +000020942000-01-19 Theodore Ts'o <tytso@valinux.com>
2095
2096 * tune2fs.c (usage): Update the usage message to correctly
2097 document the -s option.
2098
Theodore Ts'o879ac922000-01-18 20:59:11 +000020992000-01-18 Theodore Ts'o <tytso@valinux.com>
2100
2101 * badblocks.c: Folded in patches David Beattie <dbeattie@usa.net>.
2102 Need to do cleanup before release: use of GCC extensions
2103 (dynamic arrays); unclean coding tricks (use of || instead
2104 of if statements, etc.). Comments from David Beattie:
2105
2106 "I added non-destructive write-testing, and quite a few
2107 other features. The non-destructive write testing,
2108 triggered by new "-n" command-line option, will write test
2109 patterns to the disk, but only after reading data off the
2110 disk into memory. Then, comparing the test patterns gives
2111 a result as to whether or not those sectors are reliable.
2112 Finally, the original data is written back.
2113
2114 To streamline this operation, I added another option, "-c
2115 blocks_at_once", which will give the number of disk blocks
2116 to process at one time (mnemonic--"count"). I made this
2117 default to 16 (as in the read-only testing mode), and also
2118 affect the read-only testing mode. Of course, read-only
2119 mode needs (count * block_size) amount of memory, and
2120 non-destructive read-write needs 3 times that much, so it
2121 makes sense to do the calculations and not overrun
2122 available RAM...I would have liked to implement and
2123 auto-memory-usage heuristic, but I have no idea if it's
2124 even possible to determine the amount of free memory on a
2125 Unix system except by reading /proc entries, and that
2126 didn't seem portable. I did NOT make this blocks_at_once
2127 affect the behavior of the test_rw routine, as it is
2128 processing the whole disk at once, anyway.
2129
2130 I *think* that I got higher detection rates on my hard
2131 drive using random test data than patterned test data, so
2132 my non-destructive mode initializes its test data buffer
2133 randomly.
2134
2135 I fixed a typo in flush_bufs that caused the ioctl
2136 BLKFLSBUF to never get compiled into the program.
2137
2138 Also, I added an "undocumented" (I didn't put it into the
2139 usage message; you can if you think it's useful) "-h"
2140 option to specify the host device to flush--useful if you
2141 want to test out my "non-destructive" code on something
2142 other than a hard drive, such as a file on a hard drive,
2143 and want the host hard drive to flush.
2144
2145 I provided support for an "input" file (via option "-i",
2146 similar to the "-o" option)...containing a list of
2147 already-known bad blocks; it will skip testing those
2148 blocks, thus adding speed to the bad block scan (on my
2149 computer, hitting a physically bad block causes a
2150 half-second-or-more freeze as the kernel waits for the
2151 hard drive to give up and reset itself; pretty annoying
2152 when you already know the block is bad from a previous
2153 scan).
2154
2155 Finally, the real killer, the persistent re-scan (option:
2156 "-p num_passes") that I created will, if desired,
2157 persistently re-scan the drive until it has completed a
2158 user-decidable number of passes in a row during which no
2159 new bad blocks are found. On my drive, I would see
2160 behavior that a certain percentage of bad blocks would be
2161 found with each pass (it was not reliable in the defective
2162 areas!), so I wanted it to check it over and over again
2163 until it didn't find any more, several times. Perhaps
2164 this will be useful to others. Defaults of course to
2165 zero, meaning it will stop after the first pass. I used
2166 "-p 2" on my drive, and it ran for 2 1/2 days...then used
2167 "-p 3" a couple days later and it ran for a few more
2168 hours, and since then the rest of my drive has been
2169 completely reliable.
2170
2171 Implementation of these last two features, "-i" and "-p",
2172 I did using a bb_list from libext2fs. I debated whether
2173 bad blocks input through "-i" should be output into the
2174 "-o" file (or stdout, of course), and decided against it,
2175 but left the code to do so in place, commented out, just
2176 for your information.
2177
2178 In order to maintain data integrity upon interruption of a
2179 non-destructive-write test, I created a signal handler
2180 which I install which will write back whatever original
2181 disk data is in the buffers upon any of the fatal signals
2182 (except SIGKILL, of course).
2183
2184 Of course, ideally, the new options would be reflected in
2185 the badblocks manual page, but I am not experienced at
2186 manual page modification; if you decide my patch to
2187 badblocks should be incorporated into the distribution, I
2188 could learn how to update the manpage and other
2189 documentation, or you could do it for me after exercising
2190 your opinions, if you have any, on exactly what the
2191 command-line parameters should be called and which ones
2192 should be in the distribution."
2193
Theodore Ts'o3cb77842000-01-18 16:30:27 +000021942000-01-07 Theodore Ts'o <tytso@valinux.com>
2195
2196 * Really fix the bug where "fsck -As" will actually allow
2197 interactive fsck's. (For those people who like to do
2198 interactive fsck's in the /etc/rc scripts!?!)
2199
Theodore Ts'obfd21931999-11-23 13:48:58 +000022001999-11-23 <tytso@valinux.com>
2201
2202 * tune2fs.8.in: Fix man page so that the sparse_super filesystem
2203 option is properly named.
2204
Theodore Ts'o6733c2f1999-11-23 02:23:30 +000022051999-11-22 <tytso@valinux.com>
2206
2207 * mke2fs.c: Change log2() and log10() to int_log2() and
2208 int_log10() to avoid namespace collisions. Change #ifdef
2209 sparc to #ifdef __sparc__.
2210
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +000022111999-11-19 <tytso@valinux.com>
2212
2213 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
2214 the source directory.
2215
Theodore Ts'o6fdc7a31999-11-10 13:34:40 +000022161999-11-10 <tytso@valinux.com>
2217
Theodore Ts'ocd086361999-11-10 16:00:39 +00002218 * Release of E2fsprogs 1.18
2219
22201999-11-10 <tytso@valinux.com>
2221
Theodore Ts'o6fdc7a31999-11-10 13:34:40 +00002222 * mke2fs.8.in: Update manual page so that the sparse_option
2223 filesystem option is properly named.
2224
Theodore Ts'o6a35ffa1999-11-04 22:34:43 +000022251999-11-04 <tytso@valinux.com>
2226
2227 * fsck.c (main): Move setting of the interactive flag to before
2228 the call to check_all(), so that people who try to use
2229 fsck -As can do so interactively.
2230
Theodore Ts'o36caf251999-10-26 14:29:22 +000022311999-10-26 <tytso@valinux.com>
2232
Theodore Ts'o28e11941999-10-26 18:17:20 +00002233 * Release of E2fsprogs 1.17
2234
22351999-10-26 <tytso@valinux.com>
2236
Theodore Ts'o3bc03661999-10-26 17:17:00 +00002237 * fsck.c (PRS, device_already_active): Add debugging hook; if the
2238 environment variable FSCK_FORCE_ALL_PARALLEL is set, then
2239 force all fsck runs to happen in parallel.
2240
Theodore Ts'o36b01301999-10-26 14:38:36 +00002241 * get_device_by_label.c (has_right_label): Fixed bug where code
2242 used a strncmp to compare a binary UUID value which may
2243 contain a NULL. Fixed GCC warnings; added const to char *
2244 typed variables. Eliminated non-portable use of u_char.
2245
Theodore Ts'o4a600561999-10-26 14:35:51 +00002246 * mke2fs.c (PRS): Fix gcc warnings; add const to some char *
Theodore Ts'o9094f281999-10-26 16:42:50 +00002247 variables, including in struct mke2fs_defaults.
2248 (set_fs_defaults): Changed parameter name to avoid
2249 gcc warnings.
Theodore Ts'o4a600561999-10-26 14:35:51 +00002250
Theodore Ts'ob5135711999-10-26 14:33:24 +00002251 * fsck.c (wait_one): Fix gcc warnings; add #include for ctype.h,
2252 add const to char * variables, and use NOARGS to declare
2253 functions that take no arguments. Also fix a memory leak
2254 in execute() where we weren't freeing argv[] after forking
2255 the child process.
2256
Theodore Ts'o36caf251999-10-26 14:29:22 +00002257 * chattr.c: Add hack to compile in a definition for S_ISLNK so we
2258 can successfully compile even with warnings turned on.
2259
Theodore Ts'oad6783d1999-10-26 01:58:54 +000022601999-10-25 <tytso@valinux.com>
2261
2262 * mke2fs.c (show_stats): Capitalized Hurd to make the GNU types
2263 happy.
Theodore Ts'oe6597041999-10-26 02:30:16 +00002264 (PRS): Use __u64 instead of long long for portability
2265 reasons. Also moved #include of sys/stat.h inside #ifdef
2266 HAVE_LINUX_MAJOR_H for portability reasons.
Theodore Ts'oad6783d1999-10-26 01:58:54 +00002267
2268 * fsck.c (execute): Fix really stupid bug in the linked list
2269 management which caused fsck in parallel mode to go into
2270 an infinite loop.
2271
Theodore Ts'o896938d1999-10-23 01:04:50 +000022721999-10-22 <tytso@valinux.com>
2273
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002274 * Release of E2fsprogs 1.16
2275
22761999-10-22 <tytso@valinux.com>
2277
Theodore Ts'o896938d1999-10-23 01:04:50 +00002278 * tune2fs.c (main): Add a new option -O which allows the user to
2279 set and clear certain "safe" filsystem feature flags.
2280 Currently, the only ones which are supported for
2281 modification are sparse_superblock and filetype.
2282
2283 * mke2fs.c (PRS): Add new option -O which allows the user to
2284 request filesystems with specific filesystem options. By
2285 default on 2.2 and later systems, create filesystems that
2286 have both file type information and sparse superblocks.
2287
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +000022881999-10-21 <tytso@valinux.com>
2289
2290 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
2291 fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
2292 tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
2293 format (bold option flags and italicized variables), as
2294 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
2295
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +000022961999-10-14 <tytso@valinux.com>
2297
Theodore Ts'o671cbfa1999-10-20 18:14:23 +00002298 * tune2fs.c (main): Fix typo (double spaces) in messages regarding
2299 changing the sparse superblock option
2300
Theodore Ts'o7f4bb6c1999-10-20 18:11:01 +00002301 * fsck.c (wait_one): If the fsck process just started, wait a
2302 second before sending a SIGUSR1, to give it a chance
2303 to set the signal handler; otherwise, fsck will die on an
2304 unhandled SIGUSR1.
2305
23061999-09-15 <tytso@valinux.com>
Theodore Ts'o76714331999-10-20 18:06:29 +00002307
2308 * mke2fs.c (show_stats): Fix display bug when printing out the
2309 number of superblocks. Suggested by Yann Dirson.
2310
Theodore Ts'o27401561999-09-14 20:11:19 +000023111999-09-08 <tytso@valinux.com>
2312
2313 * partinfo.c: Fix minor compilation bugs pointed out by Yann
2314 Dirson.
2315
2316 * mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2
2317 kernels.
2318
2319 * mke2fs.8.in: Add the possible valid block sizes for mke2fs.
2320 Document the -n flag, and the new defaults for the -s
2321 flag.
2322
2323 * dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h
2324 (header-only).
2325
23261999-08-13 <tytso@valinux.com>
2327
2328 * mke2fs.c (PRS): Fix logic for turning on/off the sparse
2329 superblock option.
2330
23311999-07-18 Theodore Ts'o <tytso@valinux.com>
Theodore Ts'o657cb971999-07-30 23:19:10 +00002332
2333 * Release of E2fsprogs 1.15
2334
Theodore Ts'o50787ea1999-07-19 15:30:21 +000023351999-07-18 <tytso@rsts-11.mit.edu>
2336
2337 * mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows
2338 the user to specify the how the filesystem is to be used.
2339 Mke2fs now chooses the filesystem parameters automatically
2340 based on the size of the filesystem and the intended use
2341 of the filesystem. Add new option -n which simply goes
2342 through the calculations to determine the parameters of
2343 the filesystem the system would make.
2344
23451999-07-18 <tytso@valinux.com>
2346
2347 * fsck.c, fsck.h: Add support for new option -C. This option will
2348 automatically manage e2fsck processes so that they will
2349 print completion/progress bars. If multiple filesystems
2350 are being checked, arrange to make sure that only one
2351 e2fsck process is displaying a progress bar at a time.
2352
23531999-07-08 <tytso@valinux.com>
Theodore Ts'o9f10a7b1999-07-16 10:41:36 +00002354
2355 * badblocks.c (do_test): Don't complain if the write error occurs
2356 on a non-block boundary. This is perfectly common when
2357 using blocksizes larger than 1k.
2358
Theodore Ts'oc54b3c31999-07-03 07:20:06 +000023591999-07-03 <tytso@valinux.com>
Theodore Ts'o5dbb0721999-07-03 06:16:06 +00002360
2361 * uuidgen.c: Add option parsing so that user can ask for either a
2362 time-based UUID or a random-based UUID.
2363
Theodore Ts'oc54b3c31999-07-03 07:20:06 +000023641999-07-02 <tytso@valinux.com>
Theodore Ts'o2d8defd1999-07-03 01:59:42 +00002365
2366 * fsck.c: Added support for LABEL= and UUID= specifications for
2367 the filesystem's device, to match what recent mount
2368 programs can support. Also, close stdin when doing fsck
2369 -A or when checking more than one filesystem at a time, so
2370 that e2fsck doesn't try to ask interactive questions if
2371 the filesystem appears to be mounted.
2372
2373 * get_device_by_label.c: New file added to support LABEL=foo and
2374 UUID=bar type specifications.
2375
Theodore Ts'o00eedba1999-07-03 00:45:58 +000023761999-07-01 <tytso@valinux.com>
2377
2378 * badblocks.c: Make the "done" string include enough spaces to
2379 clear out a large block number.
2380
Theodore Ts'oca3c3281999-06-29 14:37:35 +000023811999-06-29 <tytso@valinux.com>
2382
2383 * mke2fs.c (check_mount): Allow a filesystem to be made even if it
2384 appears mounted if the force option is given.
2385
Theodore Ts'oe72a9ba1999-06-25 15:40:18 +000023861999-06-24 <tytso@valinux.com>
2387
2388 * mke2fs.8.in: Fix typo in man page which caused the badblocks
2389 command to not show up in the "SEE ALSO" section.
2390
Theodore Ts'oe2423cc1999-06-18 00:51:31 +000023911999-05-02 <tytso@rsts-11.mit.edu>
2392
2393 * findsuper.c: Added documentation from aeb@cwi.nl; some minor
2394 code cleanups.
2395
Theodore Ts'o02e7dd91999-06-18 00:48:41 +000023961999-05-20 <tytso@rsts-11.mit.edu>
2397
2398 * dumpe2fs.c, dumpe2fs.8.in: Added new command-line options which
2399 allow a filesystem expert to specify the superblock and
2400 blocksize when opening a filesystem. This is mainly
2401 useful when examining the remains of a toasted filesystem.
2402
Theodore Ts'o5d45d801999-03-16 19:35:19 +000024031999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca>
2404
2405 * uuidgen.c, uuidgen.1.in: Created command-line utility to
2406 generate UUIDs.
2407
24081999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
2409
2410 * fsck.c (fsck_device, execute): Don't dereference a null pointer
2411 when checking a filesystem not in /etc/fstab.
2412
Theodore Ts'o7d5633c1999-02-09 08:14:28 +000024131999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2414
2415 * fsck.c (fsck_device): Print an error message if the user passes
2416 in a device or directory name which isn't found in /etc/fstab.
2417 Allow the location of /etc/fstab to be overridden by
2418 the FSTAB_FILE environment variable.
2419
24201999-01-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2421
2422 * mke2fs.c (write_inode_tables): Add kludge code so that when the
2423 MKE2FS_SYNC environment variable is set, mke2fs will sync
2424 every MKE2FS_SYNC block groups, while it is writing out
2425 the inode tables. This is to work around a VM bug in the
2426 2.0 kernel. I've heard a report that a RAID user was able
2427 to trigger it even using a 2.2 kernel.
2428
Theodore Ts'oee922991999-01-16 05:39:12 +000024291999-01-16 Theodore Ts'o <tytso@rsts-11.mit.edu>
2430
2431 * fsck.c (execute, wait_one): Modified routines so that they
2432 accurately create an fsck_instance even when the noexecute
2433 flag is set. This allows for accurate debugging of the
2434 fsck pass structure.
2435 (check_all): When the verbose flag is given twice, print
2436 debugging information about when fsck is waiting for jobs
2437 to finish.
2438
Theodore Ts'o7953f611999-01-09 05:03:52 +000024391999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2440
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00002441 * Release of E2fsprogs 1.14
2442
24431999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2444
Theodore Ts'o7953f611999-01-09 05:03:52 +00002445 * fsck.8.in: Clarified and expanded the documentation for the -A
2446 switch.
2447
Theodore Ts'o665f7101999-01-08 13:33:39 +000024481999-01-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
2449
2450 * fsck.c (load_fs_info): If the pass number field is missing, it
2451 needs to be treated as zero.
2452
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +000024531999-01-05 Theodore Ts'o <tytso@rsts-11.mit.edu>
2454
Theodore Ts'o8d641742001-05-14 04:12:27 +00002455 * mke2fs.c (PRS): Add -N option to allow the user to specify
2456 exactly how many inodes he/she wishes.
Theodore Ts'o5515e6b1999-01-05 07:25:06 +00002457
Theodore Ts'oa88fa0c1999-01-05 07:02:39 +00002458 * chattr.c, lsattr.c: Only print the version information for the
2459 program if the -V option is given.
2460
2461 * chattr.c: Ignore symbolic links when doing a recursive descent
2462 through a directory.
2463
Theodore Ts'o93ab9d71999-01-02 04:04:42 +000024641999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
2465
2466 * fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines
2467 are commented out. Also allow blank lines in the
2468 /etc/fstab file.
2469 (execute): In verbose mode, print the mountpount of the
2470 filesystem which we are checking (user request).
2471
24721998-12-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2473
2474 * mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
2475 compatibility with Linux 1.2.13 header files.
2476
Theodore Ts'o556ad131998-12-19 08:10:58 +000024771998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
2478
2479 * Release of E2fsprogs 1.13
2480
Theodore Ts'ocb620171998-12-08 02:21:29 +000024811998-12-07 Theodore Ts'o <tytso@rsts-11.mit.edu>
2482
2483 * mke2fs.8.in: Fixed stupid typo ("Raid options are _comma_
2484 seperated", instead of common separated)
2485
Theodore Ts'o5a679c81998-12-03 16:40:38 +000024861998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu>
2487
2488 * Makefile.in: Updated dependencies.
2489
24901998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu>
2491
2492 * fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of
2493 relying on getmntent(). This has the advantage of
2494 allowing us to properly handle missing pass numbers correctly.
2495
Theodore Ts'o1dde43f1998-11-14 04:18:28 +000024961998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
2497
2498 * tune2fs.8.in: Fix minor display bug in the nroff.
2499
2500 * mke2fs.c (show_stats, write_inode_tables): Use the log10
2501 function to calculate the display of block numbers so that
2502 things look nice on an 80 character display.
2503
25041998-10-12 Theodore Ts'o <tytso@rsts-11.mit.edu>
2505
2506 * mke2fs.c (usage): Add the sparse-super-flag to the usage
2507 message.
2508
Theodore Ts'o4a5fa191998-07-09 05:42:45 +000025091998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
2510
2511 * Release of E2fsprogs 1.12
2512
Theodore Ts'oeb5ab741998-07-04 17:47:52 +000025131998-07-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
2514
2515 * findsuper.c (main): Print the block group number which is now
2516 being written by e2fsprogs.
2517
Theodore Ts'o818180c1998-06-27 05:11:14 +000025181998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu>
2519
2520 * fsck.c (ignore): Remove unused variable cp.
2521
2522 * chattr.c (fatal_error):
2523 * tune2fs.c (usage):
2524 * lsattr.c (usage):
2525 * dumpe2fs.c (usage):
2526 * badblocks.c (usage): Remove volatile from declaration.
2527
2528 * fsck.c: Change use of strdup to be string_copy, since we don't
2529 trust what glibc is doing with strdup. (Whatever it is,
2530 it isn't pretty.)
2531
25321998-06-19 Theodore Ts'o <tytso@rsts-11.mit.edu>
2533
2534 * mke2fs.c (PRS): Add a -V option which prints the version number
2535 and exit.
2536
Theodore Ts'o4bf5fbf1998-05-14 22:43:10 +000025371998-05-14 Theodore Ts'o <tytso@rsts-11.mit.edu>
2538
2539 * fsck.c (ignore): Remove check for filesystems with the noauto
2540 option.
2541
Theodore Ts'o7e44f241998-04-01 03:16:29 +000025421998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
2543
2544 * Makefile.in: Change to use new installation directory variables
2545 convention. Fix uninstall rules to take $(DESTDIR) into
2546 account. Remove cat8dir and cat1dir from the installdirs
2547 target, since modern man package don't necessarily put the
2548 cat directory in /usr/man/cat?.
2549
Theodore Ts'oa789d841998-03-30 01:20:55 +000025501998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu>
2551
Theodore Ts'o3b27db91998-03-30 01:32:10 +00002552 * e2label.8.in: New man page to document the e2label function.
2553
Theodore Ts'oa789d841998-03-30 01:20:55 +00002554 * e2label.c: Fix -Wall warning by making functions static.
2555
25561998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu>
2557
2558 * chattr.1.in: Document that the append-only attribute may
2559 only be set or cleared by the superuser.
2560
2561 * Update all manual pages to that the availability section is
2562 up-to-date.
2563
2564 * e2label.8.in, tune2fs.8.in: Update manual page to state that
2565 labels must be no longer than 16 characters, or they will
2566 be truncated.
2567
2568 * e2label.c (change_label), tune2fs.c (main): If the label is
2569 longer than 16 characters, print a warning message stating
2570 that the label will be truncated.
2571
2572 * mke2fs.c (PRS): If the user specifies a filesystem size, and
2573 it's larger than the apparent size of the device, print a
2574 warning message and ask if the user wants to proceed.
2575
Theodore Ts'obbfa3aa1998-03-21 07:12:46 +000025761998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu>
2577
2578 * mke2fs.c (check_plausibility): Fixed spelling typo in warning
2579 message. Fixed up -Wall warnings in file.
2580
Theodore Ts'oe9271681998-03-09 03:23:51 +00002581Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
2582
2583 * partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an
2584 int.
2585
Theodore Ts'o92bcc591998-02-16 22:29:34 +00002586Sun Feb 1 16:53:36 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
2587
2588 * badblocks.8: Update documentation to note that output format
2589 of badblocks is suitable for use with e2fsck -l or
2590 mke2fs -l.
2591
2592 * mke2fs.c (handle_bad_blocks): Fix bug so that all groups with
2593 bad superblock backup blocks are printed (not just the
2594 first one).
2595
Theodore Ts'oca8abba1998-01-19 14:55:24 +00002596Mon Dec 1 17:01:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2597
2598 * badblocks.8.in: Add documentation for the -s option.
2599
Theodore Ts'o519149f1997-10-25 03:49:49 +00002600Fri Oct 24 23:37:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2601
2602 * fsck.c:
2603 * chattr.c: Remove #include of getopt.h, since it's not needed.
2604
2605 * tune2fs.c (main):
2606 * lsattr.c (main):
2607 * badblocks.c (main):
2608 * dumpe2fs.c (main):
2609 * mke2fs.c (PRS): Make the variable which getopt returns into be
2610 an int, so that it won't lose on platforms where char is
2611 unsigned.
2612
Theodore Ts'od163b091997-10-03 17:42:28 +00002613Fri Oct 3 13:38:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2614
2615 * mke2fs.c (parse_raid_opts): Make parse_raid_opts return a void,
2616 to fix a -Wall warning.
2617
Theodore Ts'o00e54331997-09-16 02:13:52 +00002618Mon Sep 15 22:07:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2619
2620 * tune2fs.c (main):
2621 * mklost+found.c (main):
2622 * lsattr.c (main):
2623 * dumpe2fs.c (main):
2624 * chattr.c (main):
2625 * badblocks.c (main): Declare main to return an int, as required.
2626 Make sure main always ends with an exit(0). (Some
2627 programs weren't doing this, and thus were returning a
2628 random exit value.)
2629
Theodore Ts'oab6b8ab1997-07-14 19:28:55 +00002630Mon Jul 14 15:27:29 1997 Theodore Y. Ts'o <tytso@mit.edu>
2631
2632 * e2label.c: New file contributed by Andries Brouwer which
2633 provides an easy-to-use interface to modify the filesystem
2634 label.
2635
2636 * Makefile.in (SPROGS): Add Makefile support to build e2label
2637
Theodore Ts'o024996c1997-06-17 05:38:35 +00002638Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2639
2640 * Release of E2fsprogs 1.11
2641
Theodore Ts'oe22d4611997-06-17 03:57:27 +00002642Mon Jun 16 23:37:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2643
2644 * mke2fs.c (show_stats): Adjust the number of columns printed when
2645 displaying the superblock backups to avoid running over
2646 80 columns when making a really big disk.
2647
Theodore Ts'of635d7f1997-05-09 02:50:16 +00002648Thu May 8 22:22:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2649
Theodore Ts'o583ccdc1997-05-09 03:06:31 +00002650 * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, fsck.8.in,
2651 mke2fs.8.in, tune2fs.8.in: Fix minor typos and grammer
2652 oops found by Bill Hawes (whawes@star.net).
2653
Theodore Ts'of635d7f1997-05-09 02:50:16 +00002654 * mke2fs.c (test_disk): Pass the blocksize to the bad blocks
2655 command so that all of the filesystem gets tested in the
2656 case where the blocksize 2048 or 4096.
2657
Theodore Ts'oa29f4d31997-04-29 21:26:48 +00002658Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2659
2660 * Release of E2fsprogs version 1.10
2661
2662Thu Apr 24 09:52:47 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2663
2664 * mke2fs.c: Added new option -R, which specifies RAID options.
2665 Currently the only supported RAID option is "stride" which
2666 specifies the stripe width in RAID filesystem. This is
2667 used to aid in the placement of the inode and block
2668 bitmaps.
2669
2670 * mke2fs.8.in, tune2fs.8.in: Added warnings that the sparse
2671 superblock option isn't yet supported by most kernels.
2672
2673Wed Apr 23 22:42:51 1997 Theodre Ts'o <tytso@localhost.mit.edu>
2674
2675 * mke2fs.c (PRS): Make the default filesystem revision be 0, not
2676 1. (Since some people are still worried about 1.2.13
2677 compatibility).
2678
2679Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2680
2681 * Release of E2fsprogs version 1.09
2682
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +00002683Fri Apr 11 18:57:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2684
2685 * chattr.1.in: Updated man page so that the 'A' attribute is
2686 specified everywhere.
2687
2688 * chattr.c (usage): Added usage message for the 'A' attribute.
2689
2690Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2691
2692 * Release of E2fsprogs version 1.08
2693
Theodore Ts'o521e3681997-04-29 17:48:10 +00002694Thu Apr 10 07:08:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2695
2696 * dumpe2fs.c (list_desc): List the offsets of the inode and block
2697 bitmaps, and the inode table. List the block boundaries
2698 for the groups.
2699
2700Sat Apr 5 11:55:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2701
2702 * tune2fs.c (main): Implement the -s flag allows the user to
2703 set and reset the sparse superblock flag.
2704
2705 * mke2fs.c (PRS): By default generate DYNAMIC revision
2706 filesystems. The -s flag controls whether or not the
2707 sparse superblock flag is set.
2708 (PRS): Change to allow the user to specify the true
2709 maximum number of blocks per group to reflect the
2710 blocksize.
2711
Theodore Ts'o19c78dc1997-04-29 16:17:09 +00002712Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
2713
2714 * Release of E2fsprogs version 1.07
2715
2716Thu Mar 6 17:15:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2717
2718 * mke2fs.c (create_root_dir): Set the root directory's i_uid and
2719 i_gid to be the real user and group id.
2720
2721Tue Mar 4 10:14:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2722
2723 * mke2fs.c (check_plausibility): Add more intelligent error
2724 messages when the device doesn't exist.
2725
2726Sat Mar 1 10:43:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2727
2728 * fsck.c (main): Fix bug where the PATH environment variable isn't
2729 set when it is unset.
2730
2731Tue Jan 14 12:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2732
2733 * mke2fs.c (write_inode_tables): Fixed bug in write_inode_tables
2734 where a loop variable was getting reused in a nested loop.
2735 This caused the inode table to not be correctly
2736 initialized.
2737
2738Thu Jan 2 00:00:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
2739
2740 * lsattr.c, chattr.c: Include string.h, since we use memcpy().
2741
2742 * findsuper.c: Use time_t for ctime(), not __u32.
2743
2744Sat Dec 28 23:39:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2745
2746 * badblocks.c: Adapted -vv modifications from Rik Faith so that
2747 they frequently update the block number field.
2748
2749 * badblocks.8.in: Document the optional start-block parameter
2750
2751Mon Oct 14 11:52:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2752
2753 * mke2fs.c: Updated to use new ext2fs_allocate_tables() function.
2754
2755Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2756
2757 * Release of E2fsprogs version 1.06
2758
Theodore Ts'o5c576471997-04-29 15:29:49 +00002759Mon Oct 7 00:56:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2760
2761 * chattr.1.in: Documented the 'A' (noatime) attribute.
2762
2763 * dumpe2fs.c (main): Change EXT2_SWAP to EXT2_FLAG_SWAP for
2764 consistency's sake.
2765
2766Sun Sep 22 16:18:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2767
2768 * chattr.c (decode_arg): Add support for the 'A' (noatime) flag.
2769
2770Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2771
2772 * Release of E2fsprogs version 1.05
2773
Theodore Ts'o1e3472c1997-04-29 14:53:37 +00002774Sat Sep 7 07:34:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2775
2776 * tune2fs.c (main): Add support for new option -C, which sets the
2777 current number of mounts.
2778 (main): Allow the interval to be specified in seconds,
2779 mostly for debugging.
2780
2781Tue Aug 27 17:27:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
2782
2783 * Makefile.in (SMANPAGES): Use @FSCK_MAN@ instead of fsck.8.
2784 (SPROGS): Use @FSCK_PROG@ instead of fsck.
2785
2786Thu Aug 22 00:51:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2787
2788 * mke2fs.c (zap_bootblock): Don't do zap_bootblock on a
2789 sparc.
2790
2791Tue Aug 20 00:15:46 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2792
2793 * chattr.c (main): Fixed bug so that chattr -v works. (Bug report
2794 and fix sent by Charles Howes, chowes@eznet.ca)
2795
2796Fri Aug 9 11:52:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2797
2798 * tune2fs.8.in:
2799 * tune2fs.c: Added support for the -L option which sets the volume
2800 label, the -M option which sets the last mounted
2801 directory, and the -U option which sets the filesystem UUID.
2802
2803 * mke2fs.8.in:
2804 * mke2fs.c: Added support for the -o option, which overrides the
2805 creator OS. Generate a UUID for the filesystem, if
2806 applicable. Added support for the -L option which sets
2807 the volume label, and the -M option which sets the last
2808 mounted directory.
2809
2810Sat Jun 22 17:43:17 1996 Remy Card <card@bbj.linux.eu.org>
2811
2812 * chattr.c (decode_arg): Integrated Michael Nonweiler's fix to
2813 avoid a segmentation fault when the "-v" option is used
2814 and no version number is specified.
2815
Theodore Ts'o62c06f71997-04-29 14:34:47 +00002816Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2817
2818 * Release of E2fsprogs version 1.04
2819
2820Wed May 15 21:15:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
2821
2822 * Makefile.in (fsck): fsck doesn't need to be linked with the ext2
2823 libraries.
2824
Theodore Ts'o7f88b041997-04-26 14:48:50 +00002825Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu>
2826
2827 * Release of E2fsprogs version 1.03
2828
2829Thu Mar 7 03:43:20 1996 <tytso@rsts-11.mit.edu>
2830
2831 * mke2fs.c (PRS): Add (for development only) support to
2832 specify revision and inode size of the new filesystem.
2833
2834Tue Mar 5 03:51:35 1996 <tytso@rsts-11.mit.edu>
2835
2836 * mke2fs.8.in: Fix a few minor typo's in the man page.
2837
2838 * mke2fs.c (reserve_inodes): Add support for dynamic first inode
2839 revision.
2840
2841Mon Feb 5 22:19:49 1996 <tytso@rsts-11.mit.edu>
2842
2843 * fsck.c (check_all, PRS): Added new flag -P, which turns on the
2844 parallel root option. This allows you to check the root
2845 filesystem in parallel with the other filesystems. Note
2846 that this is not the safest thing in the world to do,
2847 since if the root filesystem is in doubt things like
2848 the e2fsck executable might be corrupted! But some
2849 sysadmins, who don't want to repartition the root
2850 filesystem to be small and compact, may really want this
2851 option turned on.
2852
Theodore Ts'o74becf31997-04-26 14:37:06 +00002853Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu>
2854
2855 * Release of E2fsprogs version 1.02
2856
2857Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu>
2858
2859 * mke2fs.c (check_plausibility): Add check to warn user if they
2860 are trying to mke2fs the whole disk. (/dev/hda
2861 vs. /dev/hda1)
2862
2863Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu>
2864
2865 * fsck.c (check_all): If we break out of the loop because we are
2866 serializing and have just started at fsck we haven't
2867 finished the pass. We need to go round again in case there
2868 are more filesystems to be done in this pass. (Patch
2869 submitted by Mike Jagdis)
2870
2871Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu>
2872
2873 * dumpe2fs.c (in_use): test_bit() was renamed to
2874 ext2fs_test_bit().
2875
Theodore Ts'o297f47a1997-04-26 14:25:20 +00002876Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu>
2877
2878 * fsck.c (fsck_device): Check fstype instead of type; this was a
2879 stupid typo which caused coredumps in some cases.
2880
Theodore Ts'oa418d3a1997-04-26 14:00:26 +00002881Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu>
2882
2883 * Makefile.in (install): Strip programs when they are installed.
2884
2885Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl>
2886
2887 * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(),
2888 so we do the check to see if the filesystem is mounted
2889 *before* we try to determine the size of the device.
2890
2891Wed Sep 6 23:34:07 1995 Remy Card <card@bbj>
2892
2893 * fsck.c (load_fs_info): Load the informations from /etc/fstab in
2894 the same order.
2895
2896Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu>
2897
2898 * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted()
2899 function to determine if the device is mounted.
2900
2901 * mke2fs.c (PRS): Change call to use the new
2902 ext2fs_get_device_size() function in order to determine
2903 the size of the filesystem. Remove get_size() and
2904 is_valid_offset(), which are no longer called.
2905
2906Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
2907
2908 * fsck.c (fsck_device): Make sure fstype has been set by the user
2909 and that it does not begin with "no" and the user has
2910 specified exactly one type before using it as the type to
2911 check.
2912
2913Fri Aug 11 14:17:18 1995 Remy Card <card@bbj>
2914
2915 * badblocks.8:
2916 * chattr.1:
2917 * dumpe2fs.8:
2918 * fsck.8:
2919 * lsattr.1:
2920 * mke2fs.8:
2921 * mklost+found.8:
2922 * tune2fs.8: Updated date and version number.
2923
2924Thu Aug 10 14:18:36 1995 Remy Card <card@bbj>
2925
2926 * tune2fs.c: Fixed a bug which prevented the use of user and group
2927 names with the -g and -u options. Thanks to Jean Christophe
2928 ANDRE <progfou@mycrob.cafard.freenix.fr>.
2929
2930 * mke2fs.8:
2931 * tune2fs.8: Fixed a spelling error in Ted's name :-)
2932
2933Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl>
2934
2935 * mke2fs.c (count_blocks): Divide the size by
2936 EXT2_BLOCK_SIZE(&param), instead of assuming that the
2937 blocksize is always 1024 bytes.
2938
2939Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
2940
2941 * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is
2942 not portable!! In any case putenv() in some systems must
2943 take a static character array or malloc()'ed memory;
2944 passing memory allocated using alloca() to putenv() is not
2945 advisable.
2946
2947 * chattr.c (chattr_dir_proc):
2948 * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() ---
2949 alloca is not portable!
2950
2951 * fsck.c (fsck_device): If the filesystem type is specified by the
2952 user using the -t option, let it override the type in
2953 /etc/fstab.
2954
2955 * fsck.c (strdup): Don't build strdup() if the system defines it.
2956
2957Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl)
2958
2959 * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s
2960 benefit.
2961
2962 * The $(UPROGS) go in bin, not sbin.
2963
2964 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
2965 tune2fs.c: Don't include <getopt.h> if it doesn't exist.
2966
2967Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl>
2968
2969 * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c,
2970 tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined.
2971
2972Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
2973
2974 * chattr.c: Include errno.h, since we use errno
2975
2976 * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined,
2977 explicitly initialize filesys_info to be NULL.
2978
2979 * mke2fs.c: Include the stdio.h and errno.h header files
2980
2981Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
2982
2983 * mke2fs.c: Only include <linux/fs.h> if we can.
2984 (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined.
2985 (check_mount): Only check to see if the device is mounted if
2986 HAVE_MNTENT_H is defined (by configure).
2987
2988 * fsck.c (load_fs_info): Only try to get info about filesystems if
2989 HAVE_MNTENT_H is defined (by configure).
2990 (main): Allocate space for a new fsck_path instead of append to a
2991 statically sized buffer.
2992 (PRS): Use alloca to allocate the new path string, instead of
2993 having a fixed size buffer (which was the wrong size anyway).
2994
2995 * chattr.c (chattr_dir_proc): Use alloca to allocate space for a
2996 filename instead of using a fixed-size buffer.
2997 * lsattr.c (lsattr_dir_proc): Ditto.
2998 * mklost+fond.c (main): Calculate the actual needed size for the
2999 path buffer instead of using MAXPATHLEN (which not all systems have).
3000
3001 * badblocks.c: Only include linux include files if we have them.
3002 (flush_bufs): New function to flush a block device, optionally
3003 syncing it first. This replaces other copies of this code.
3004 (test_ro): Replace calls to ioctl with flush_bufs().
3005 (test_rw): Ditto.
3006
3007 * Makefile.in: Rewritten to conform to GNU coding standards and
3008 support separate compilation directories.
3009
Theodore Ts'of3db3561997-04-26 13:34:30 +00003010Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost>
3011
3012 * mke2fs.c (main, zap_bootblock): Added new function
3013 zap_bootblock() which clears the first 512 bytes of the
3014 filesystem. This protects the filesystem from being
3015 misidentified as a MS-DOS FAT filesystem.
3016
3017 * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space
3018 allocated for printing the block numbers, so that the
3019 display doesn't get corrupted when running badblocks on a
3020 very large partition.
3021
3022 * badblocks.c (do_test, test_ro, test_rw): Added missing cast to
3023 ext2_loff_t, so that when checking a large device,
3024 spurious seek errors aren't reported.
3025
3026 * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t
3027 instead of type int, so that it works for filesystems
3028 greater than 2 GB. (Fortunately count_blocks is only
3029 called if the device does not support the BLKGETSIZE
3030 ioctl, which most do.)
3031
3032 * fsck.c (ignore): Add check to ignore filesystems with a pass
3033 number of zero. (This check was accidentally deleted at
3034 during 0.5b development.)
3035
3036Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu>
3037
3038 * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new
3039 option, -S, which only writes the superblock and group
3040 descriptors. Useful for recovering when all of the
3041 superblocks are corrupted somehow (as a last ditch
3042 measure).
3043
3044 Also, don't bother initializing the bitmap blocks in
3045 alloc_tables(), since they will be overwritten at the end
3046 anyway. (Should speed up mke2fs by a little.)
3047
3048Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu>
3049
3050 * fsck.c (main): Fix stupid typo where a null inst would be freed.
3051
3052 * fsck.c (wait_one): Check WIFEXITED on status before trying to
3053 extract the exit status. In other cases, return
3054 FSCK_ERROR if the back end processor exited with a signal.
3055
3056Tue Nov 15 10:20:00 1994 Remy Card <card@bbj>
3057
3058 * tune2fs.c (main): Fixed a bug which prevented the use of the
3059 new options.
3060 Added the `w' (week) suffix recognition in the check interval.
3061
3062Sun Nov 13 15:58:48 1994 (tytso@rsx-11)
3063
3064 * fsck.c (load_fs_info): If the user has an obviously old
3065 /etc/fstab file, issue a warning message and assume that
3066 all partitions should be checked.
3067
3068Sat Nov 12 00:33:18 1994 (tytso@rsx-11)
3069
3070 * dumpe2fs.c (list_desc): Update to new inode and block bitmap
3071 structures.
3072
3073 * mke2fs.c (create_root_dir): Create the root directory owned by
3074 the effective uid.
3075
3076Mon Nov 7 22:04:37 1994 Remy Card <card@bbj>
3077
3078 * tune2fs.c (main.c): Added support for new options:
3079 -r reserved_blocks_count, -g reserved_gid, -u reserved_uid.
3080
3081Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11)
3082
3083 * fsck.c (ignore): If the pass number is 0, ignore the filesystem.
3084
3085Wed Aug 17 21:55:03 1994 Remy Card (card@bbj)
3086
3087 * badblocks.c (test_rw): Added verbose output like in the
3088 read-only test.
3089
3090 (do_test and test_rw): Use the llseek system call if available.
3091
3092 * chattr.c: Added support for new attributes.
3093
3094 * lsattr.c: Added support for long format.
3095
3096 * mke2fs.c (usage): Fixed bogus usage message.
3097
3098 (valid_offset): Use the llseek system call if available.
3099
3100Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11)
3101
3102 * mke2fs.c (handle_bad_blocks): Check to see if a bad block is
3103 where a backup superblock/group descriptor is stored. If so,
3104 print a warning message and adjust the superblock counts so that
3105 they are correct. (Otherwise, the bad block will get counted
3106 twice and the # of free blocks count will be wrong.)
3107
3108 (alloc_tables): Removed code which calcualated the free block
3109 statistics, which was moved to lib/ext2fs/initialize.c. This
3110 allows the bad block code to adjust the group descriptor
3111 statistics if necessary.