Theodore Ts'o | 6d53db3 | 1999-07-03 20:52:21 +0000 | [diff] [blame] | 1 | E2fsprogs 1.15 (July 2, 1999) |
| 2 | ============================= |
| 3 | |
| 4 | Add configuration checks so that e2fsprogs will compile cleanly on |
| 5 | Linux 2.3 kernels that have renamed i_version to i_generation. |
| 6 | |
| 7 | Fix bug where if /dev/null couldn't be opened (should never happen), |
| 8 | e2fsck would hang in a tight loop. |
| 9 | |
| 10 | Make e2fsck handle the case where /lost+found isn't a directory. |
| 11 | |
| 12 | E2fsck now uses mallinfo if it exists to get accurate statistics about |
| 13 | its memory usage. |
| 14 | |
| 15 | Fix bug in e2fsck where it wouldn't check to see if a disconnected |
| 16 | inode had any problems before connecting it to /lost+found. |
| 17 | |
| 18 | Add check to e2fsck so it makes sure that total number of inodes in |
| 19 | the filesystem is a sane number. |
| 20 | |
| 21 | Fix fencepost error when clearing an the end of the block bitmap which |
| 22 | caused the last block in the bitmap not to get cleared. |
| 23 | |
| 24 | Cleaned up a number of messages in e2fsck: |
| 25 | * The message "Group's #'s copy of the group descriptor..." |
| 26 | was fixed so that the correct number would be displayed. |
| 27 | * Added missing space in the "disk write-protected" error messsage |
| 28 | * Cleaned up the error message printed when a non-interactive |
| 29 | e2fsck needs to abort a check because the filesystem |
| 30 | appears to be mounted. |
| 31 | |
| 32 | Added a new command-line utility, uuidgen, which will create and print |
| 33 | a UUID. |
| 34 | |
| 35 | Make debugfs's icheck command more robust by checking to make sure an |
| 36 | inode has valid blocks before interarting over the inode's blocks. |
| 37 | |
| 38 | UUID generation now uses a random-based scheme whenever possible to |
| 39 | prevent potential privacy problems. |
| 40 | |
| 41 | Man pages for all of the UUID functions in the lirbary were added. |
| 42 | |
| 43 | Fixed bug in fsck so it won't coredump if a filesystem not in |
| 44 | /etc/fstab is given to it. |
| 45 | |
| 46 | Fsck now understands the UUID=xxxx and LABEL=yyyy forms in /etc/fstab |
| 47 | that most of the other mount utilities understands. |
| 48 | |
| 49 | Mke2fs will make a filesystem even if it appears mounted if the force |
| 50 | option is given. |
| 51 | |
| 52 | Dumpe2fs has new command-line options which allow a filesystem expert |
| 53 | to specify the superblock and blocksize when opening a filesystem. |
| 54 | This is mainly useful when examining the remains of a toasted |
| 55 | filesystem. |
| 56 | |
| 57 | The badblocks program has been updated to display correctly on disks |
| 58 | with large block numbers. |
| 59 | |
| 60 | Mke2fs will sync the disk device every MKE2FS_SYNC block groups if the |
| 61 | MKE2FS_SYNC environment variable is set. This is to work around a VM |
| 62 | bug in the 2.0 kernel. I've heard a report that a RAID user was able |
| 63 | to trigger it even using a 2.2 kernel. |
| 64 | |
| 65 | Fixed miscellaneous documentation and man pages. |
| 66 | |
| 67 | Programmer's notes: |
| 68 | ------------------- |
| 69 | |
| 70 | Cleaned up functions such as pass1_get_blocks, pass1_read_inode which |
| 71 | in e2fsck's pass1.c really should have been static. |
| 72 | |
| 73 | The return value of the uuid_compare() function was changed to make it |
| 74 | match with the convetions used by strcmp, memcmp, and Paul Leach's |
| 75 | UUID sample document. |
| 76 | |
| 77 | The "make depend" process has now been made more automated; it now |
| 78 | automatically word-wraps the dependencies, and only replaces source |
| 79 | Makefile.in if there has been a change in the dependencies. Also, a |
| 80 | top-level "make depend" now recurses through all the subdirectories |
| 81 | automatically. |
| 82 | |
| 83 | The Makefile in .../util has been changed so that subst is built using |
| 84 | the native C compiler during a cross-compilation, since the subst |
| 85 | program is only used during the build process. Also add an explicit |
| 86 | rule to build util/subst by cd'ing to the correct directory and |
| 87 | running Makefile. |
| 88 | |
| 89 | The man directories are defined in terms mandir, so that the configure |
| 90 | script can override the location of the manual pages. |
| 91 | |
| 92 | The config files have been updated to recognize new machine types for |
| 93 | both the i386 and alpha families. |
| 94 | |
| 95 | Fsck has been modified so that it will accurately create an |
| 96 | fsck_instance even when the noexecute flag is set. This allows for |
| 97 | accurate debugging of the fsck pass structure. Also, when the verbose |
| 98 | flag is given twice, fsck will print debugging information about when |
| 99 | fsck is waiting for jobs to finish. |
| 100 | |
| 101 | |
Theodore Ts'o | 14790ed | 1999-01-12 23:32:52 +0000 | [diff] [blame] | 102 | E2fsprogs 1.14 (January 9, 1999) |
| 103 | ================================ |
| 104 | |
| 105 | Fix the fstab parsing code so that it can handle blank lines and |
| 106 | comment characters. Also, missing pass numbers need to be treated as |
| 107 | zero. |
| 108 | |
| 109 | Fixed a bug in e2fsck where under some circumstances (when e2fsck |
| 110 | needs to restart processing after fixing an egregious inconsistency) |
| 111 | it would try to access already freed memory. |
| 112 | |
| 113 | E2fsck now prints non-printable characters in directory entries and |
| 114 | pathnames using '^' and 'M-' notation. |
| 115 | |
| 116 | Fixed chattr so that it will ignore symbolic links when doing |
| 117 | recursive descent traversals. For both chattr and lsattr, no longer |
| 118 | print the version string unless the -V option is given. |
| 119 | |
| 120 | Allow the system administrator to directly specify the number of |
| 121 | inodes desired in the filesystem, for some special cases where this is |
| 122 | necessary. |
| 123 | |
| 124 | Fix portability problems so that e2fsprogs can be compiled under Linux |
| 125 | 1.2 systems and Solaris systems. |
| 126 | |
| 127 | Update the config.guess file with a more recent version that will |
| 128 | identify newer Linux platforms. |
| 129 | |
| 130 | Programmer's notes |
| 131 | ------------------ |
| 132 | |
| 133 | Ext2fs_read_inode and ext2fs_write_inode will now return an error if |
| 134 | an inode number of zero is passed to them. |
| 135 | |
Theodore Ts'o | 556ad13 | 1998-12-19 08:10:58 +0000 | [diff] [blame] | 136 | E2fsprogs 1.13 (December 15, 1998) |
| 137 | ================================== |
| 138 | |
| 139 | Fixed a bug in debugfs where an error messages weren't getting printed |
| 140 | when the ext2 library routines to read inodes returned errors in the |
| 141 | stat, cmri and rm commands. |
| 142 | |
| 143 | Fixed a bug in mke2fs so that if a ridiculous inode ratio parameter is |
| 144 | provided, it won't create an inode table smaller than the minimum |
| 145 | number of inodes required for a proper ext2 filesystem. |
| 146 | |
| 147 | Fsck now parses the /etc/fstab file directly (instead of using |
| 148 | getmntent()), so that it can distinguish between a missing pass number |
| 149 | field and pass number field of zero. This caused problems for |
| 150 | diskless workstations where all of the filesystems in /etc/fstab have |
| 151 | an explicit pass number of zero, and fsck could not distinguish this |
| 152 | from a /etc/fstab file with missing pass numbers. |
| 153 | |
| 154 | E2fsck will create a /lost+found directory if there isn't one in the |
| 155 | filesystem, since it's safer to create the lost+found directory before |
| 156 | it's needed. |
| 157 | |
| 158 | Fixed e2fsck so that it would detect bogus immutable inodes which |
| 159 | happen to be sockets and FIFO files, and offer to clear them. |
| 160 | |
| 161 | If a filesystem has multiple reasons why it needs to be checked, and |
| 162 | one of the reasons is that it is uncleanly mounted, e2fsck will print |
| 163 | that as the reason why the filesystem is being checked. |
| 164 | |
| 165 | Cleaned up the output routines of mke2fs so that it doesn't overflow |
| 166 | an 80 column display when formating really big filesystems. |
| 167 | |
| 168 | Added a sanity check to e2fsck to make sure that file descriptors 0, |
| 169 | 1, 2 are open before opening the hard disk. This avoids a problem |
| 170 | where a broken program might exec e2fsck with those file descriptors |
| 171 | closed, which would cause disastrous results if the kernel returns a |
| 172 | file descriptor for the block device which is also used by FILE * |
| 173 | stdout. |
| 174 | |
| 175 | Fixed up the e2fsck progress reporting functions so that the values |
| 176 | reliably reach 100% at the completion of all of the e2fsck passes. |
| 177 | |
| 178 | Fixed minor documentation bugs in man pages and usage messages. |
| 179 | |
| 180 | Programmer's notes: |
| 181 | ------------------- |
| 182 | |
| 183 | Fixed a number of lint warnings in the ext2fs library and potential |
| 184 | portability problems from other OS's header files that might define |
| 185 | CPP macros for names like "max" and "min". |
| 186 | |
| 187 | ext2fs_badblocks_list_add() has been made more efficient when it needs |
| 188 | to grow the bad blocks list. |
| 189 | |
| 190 | Fixed a bug in e2fsck which caused it to dereference a freed pointer |
| 191 | just before exiting. |
| 192 | |
| 193 | Fixed the substition process for generating the mk_cmds and compile_et |
| 194 | scripts so that they will work outside of the build tree. |
| 195 | |
| 196 | Add sanity check to e2fsck so that if an internal routine |
| 197 | (ext2fs_get_dir_info) returns NULL, avoid dereferencing the pointer |
| 198 | and causing a core dump. This should never happen, but... |
| 199 | |
Theodore Ts'o | a569671 | 1998-07-09 05:38:07 +0000 | [diff] [blame] | 200 | E2fsprogs 1.12 (July 9, 1998) |
Theodore Ts'o | 21d5385 | 1998-02-21 03:14:50 +0000 | [diff] [blame] | 201 | ================================== |
| 202 | |
| 203 | E2fsprogs now works with glibc (at least with the version shipped wtih |
| 204 | RedHat 5.0). The ext2fs_llseek() function should now work even with |
| 205 | i386 ELF shared libraries and if llseek() is not present. We also |
| 206 | explicitly do a configure test to see if (a) llseek is in libc, and |
| 207 | (b) if llseek is declared in the system header files. (See standard |
| 208 | complaints about libc developers don't understand the concept of |
| 209 | compatibility with previous versions of libc.) |
| 210 | |
Theodore Ts'o | c9833a6 | 1998-07-05 19:37:53 +0000 | [diff] [blame] | 211 | The ext2fs library now writes out the block group number in each of |
| 212 | the superblock copies. This makes it easier to automatically |
| 213 | determine the starting block group of the filesystem when the block |
| 214 | group information is trashed. |
| 215 | |
| 216 | Added support for the EXT2_FEATURE_INCOMPAT_FILETYPE feature, |
Theodore Ts'o | 101c84f | 1998-03-24 16:27:11 +0000 | [diff] [blame] | 217 | which means that e2fsprogs will ignore the high 8 bits of the |
| 218 | directory entry's name_len field, so that it can be used for other |
| 219 | purposes. |
| 220 | |
| 221 | Added support for the EXT2_FEATURE_RO_COMPAT_LARGE_FILE feature. |
| 222 | E2fsprogs will now support filesystems with 64-bit sized files. |
| 223 | |
| 224 | Added support for the EXT2_FEATURE_COMPAT_DIR_PREALLOC feature. |
| 225 | |
Theodore Ts'o | 21d5385 | 1998-02-21 03:14:50 +0000 | [diff] [blame] | 226 | Added new program "e2label", contributed by Andries Brouwer. E2label |
| 227 | provides an easy-to-use interface to modify the filesystem label. |
| 228 | |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 229 | Fixed bug so that lsattr -v works instead of producing a core dump. |
| 230 | |
Theodore Ts'o | 21d5385 | 1998-02-21 03:14:50 +0000 | [diff] [blame] | 231 | Fixed a minor bug in mke2fs so that all groups with bad superblock |
| 232 | backup blocks are printed (not just the first one). |
Theodore Ts'o | a4b2d3c | 1998-04-03 16:12:25 +0000 | [diff] [blame] | 233 | |
| 234 | Mke2fs will check the size of the device, and if the user specifies a |
| 235 | filesystem size larger than the apparent size of the device it will |
| 236 | print a warning message and ask if the user wants to proceed. |
| 237 | |
Theodore Ts'o | c9833a6 | 1998-07-05 19:37:53 +0000 | [diff] [blame] | 238 | E2fsck has a new option -C, which sends completion information to the |
| 239 | specified file descriptor. For the most part, this is intended for |
| 240 | programs to use, although -C 0 will print a spinning character to the |
| 241 | stdout device, which may be useful for users who want to see something |
| 242 | happening while e2fsck goes about its business. |
| 243 | |
Theodore Ts'o | 21d5385 | 1998-02-21 03:14:50 +0000 | [diff] [blame] | 244 | Fixed a bug in e2fsck which could cause a core dump when it needs to |
| 245 | expand the /lost+found directory, and sometimes the bitmaps haven't |
| 246 | been merged in. Also fixed a related bug where ext2fs_write_dir_block |
| 247 | was used to write out a non-directory block. (Which would be bad on a |
| 248 | non-Intel platform with byte swapping going on.) |
| 249 | |
| 250 | Fixed bug in e2fsck where it would print a "programming error" message |
| 251 | instead of correctly identifying where a bad block was in used when |
| 252 | the bad block was in a non-primary superblock or block group |
| 253 | descriptor. Also fixed a related bug when sparse superblocks are in |
| 254 | use and there is a bad block where a superblock or block group |
| 255 | descriptor would have been in a group that doesn't include a |
| 256 | superblock. |
| 257 | |
| 258 | Fixed a bug in e2fsck (really in libext2fs's dblist function) where if |
| 259 | the block group descriptor table is corrupt, it was possible to try to |
| 260 | allocate a huge array, fail, and then abort e2fsck. |
| 261 | ext2fs_get_num_dirs() now sanity checks the block group descriptor, |
| 262 | and subsitutes reasonable values if the descriptors are obviously bogus. |
| 263 | |
| 264 | If e2fsck finds a device file which has the immutable flag set and the |
| 265 | i_blocks beyond the normal device number are non-zero, e2fsck will |
| 266 | offer to remove it, since it's probably caused by garbage in the inode |
| 267 | table. |
| 268 | |
| 269 | When opening a filesystem, e2fsck specially checks for the EROFS error |
| 270 | code, and prints a specific error message to the user which is more |
| 271 | user friendly. |
| 272 | |
| 273 | If the filesystem revision is too high, change the e2fsck to print |
| 274 | that this is either because e2fsck is out of date, or because the |
| 275 | superblock is corrupt. |
| 276 | |
| 277 | E2fsck now checks for directories that have duplicate '.' and '..' |
| 278 | entries, and fixes this corruption. |
| 279 | |
| 280 | E2fsck no longer forces a sync of the filesystem (with attendant sleep |
| 281 | calls) at all times. The ext2fs_flush() function now performs a sync |
| 282 | only if it needed to write data blocks to disk. |
| 283 | |
| 284 | Fixed a minor bug in e2fsck's pass1b's file cloning function, where |
| 285 | certain errors would not be properly reported. |
| 286 | |
| 287 | Updated and expanded a few points in the man pages which users |
| 288 | complained wheren't explicit enough. |
| 289 | |
| 290 | Added special case byte-swapping code if compiling on the PowerPC, to |
| 291 | accomodate the strange big-endian variant of the ext2 filesystem that |
| 292 | was previously used on the PowerPC port. |
| 293 | |
| 294 | |
| 295 | Programmer's notes: |
| 296 | ------------------- |
| 297 | |
| 298 | Removed C++ keywords from the ext2fs libraries so that it could be |
| 299 | compiled with C++. |
| 300 | |
| 301 | E2fsck's internal organization has now been massively reorganized so |
| 302 | that pass*.c don't have any printf statements. Instead, all problems |
| 303 | are reported through the fix_problem() abstraction interface. E2fsck |
| 304 | has also been revamped so that it can be called as a library from a |
| 305 | application. |
| 306 | |
| 307 | Added new fileio primitives in libext2fs for reading and writing |
| 308 | files on an unmounted ext2 filesystem. This interface is now used by |
| 309 | debugfs. |
| 310 | |
| 311 | Added a new libext2fs function for mapping logical block numbers of |
| 312 | a file to a physical block number. |
| 313 | |
| 314 | Added a new libext2fs function, ext2fs_alloc_block(), which allocates |
| 315 | a block, zeros it, and updates the filesystem accounting records |
| 316 | appropriately. |
| 317 | |
| 318 | Added a new libext2fs function, ext2fs_set_bitmap_padding(), which |
| 319 | sets the padding of the bitmap to be all one's. Used by e2fsck pass 5. |
| 320 | |
| 321 | The libext2fs functions now use a set of memory allocation wrapper |
| 322 | functions: ext2fs_get_mem, ext2fs_free_mem, and ext2fs_resize_mem, |
| 323 | instead of malloc, free, and resize. This makes it easier for us to |
| 324 | be ported to strange environments where malloc, et. al. aren't |
| 325 | necessarily available. |
| 326 | |
| 327 | Change the libext2fs fucntion to return ext2-specific error codes |
| 328 | (EXT2_DIR_EXISTS and EXT2_DB_NOT_FOUND, for example) instead of using |
| 329 | and depending on the existence of system error codes (such as EEXIST |
| 330 | and ENOENT). |
| 331 | |
| 332 | Renamed io.h to ext2_io.h to avoid collision with other OS's header |
| 333 | files. |
| 334 | |
| 335 | Add protection against ext2_io.h and ext2fs.h being included multiple |
| 336 | times. |
| 337 | |
| 338 | The types used for memory lengths, etc. have been made more portable. |
| 339 | In generla, the code has been made 16-bit safe. Added Mark |
| 340 | Habersack's contributed DOS disk i/o routines. |
| 341 | |
| 342 | Miscellaneous portability fixes, including not depending on char's |
| 343 | being signed. |
| 344 | |
| 345 | The io_channel structure has a new element, app_data, which is |
| 346 | initialized by the ext2fs routines to contain a copy of the filesystem |
| 347 | handle. |
| 348 | |
| 349 | ext2fs_check_directory()'s callback function may now return the error |
| 350 | EXT2_ET_CALLBACK_NOTHANDLED if it wishes ext2fs_check_directory() to |
| 351 | really do the checking, despite the presence of the callback function. |
| 352 | |
| 353 | |
Theodore Ts'o | bc21007 | 1997-06-17 05:41:36 +0000 | [diff] [blame] | 354 | E2fsprosg 1.11 (June 17, 1997) |
| 355 | ============================== |
| 356 | |
| 357 | Fixed e2fsck to detect (previously ignored) conflicts between the |
| 358 | superblock or block group descriptors and block bitmaps, inode |
| 359 | bitmaps, and inode tables. |
| 360 | |
| 361 | Fixed bug in e2fsck so that when the message printed out when a block |
| 362 | or inode bitmap conflicts with other data, it has the correct group |
| 363 | number. |
| 364 | |
| 365 | Fixed bug in e2fsck and mke2fs where the blocksize wasn't being passed |
| 366 | to badblocks. This meant that not all of the filesystem was being |
| 367 | tested for bad blocks! |
| 368 | |
| 369 | Fixed an array boundary overrun case which cropped up in |
| 370 | ext2fs_badblocks_list_test when a user tried running "mke2fs -c |
| 371 | -b 4096". |
| 372 | |
| 373 | Adjusted the number of columns printed by mke2fs when displaying the |
| 374 | superblock backups to avoid running over 80 columns when making a |
Theodore Ts'o | 21d5385 | 1998-02-21 03:14:50 +0000 | [diff] [blame] | 375 | really big filesystem. |
Theodore Ts'o | bc21007 | 1997-06-17 05:41:36 +0000 | [diff] [blame] | 376 | |
| 377 | Fixed up the man pages for e2fsck, debugfs, badblocks, chattr, |
| 378 | dumpe2fs, fsck, mke2fs, and tune2fs (typos and other minor grammar |
| 379 | fixes), thanks to some suggestions from Bill Hawes (whawes@star.net). |
| 380 | |
| 381 | Programmer's notes: |
| 382 | ------------------- |
| 383 | |
| 384 | Fixed install rule in lib/ss so that ss_err.h is actually getting |
| 385 | installed. |
| 386 | |
| 387 | Fixed bug in ext2fs_copy_bitmap; the destination bitmap wasn't getting |
| 388 | bassed back to the caller. |
| 389 | |
| 390 | Fixed bug in ext2fs_inode_scan_goto_blockgroup; it had not been |
| 391 | setting the current inode number (which meant this function wasn't |
| 392 | working at all). |
| 393 | |
| 394 | Fixed bug in ext2fs_resize_generic_bitmap; it had not be zeroing all |
| 395 | blocks in the bitmap when increasing the size of the bitmap. |
| 396 | |
| 397 | Changed the initial number of blocks allocated by ext2fs_init_dblist() |
| 398 | to be more realistic. |
| 399 | |
| 400 | Added a new function ext2fs_allocate_group_table, which sets up the |
| 401 | group descriptor information (and allocates inode and block bitmaps, |
| 402 | and inode tables for a particular group). The function was created by |
| 403 | factoring out code form ext2fs_allocate_tables(). |
| 404 | |
| 405 | Added a new function ext2fs_move_blocks which takes a bitmap of the |
| 406 | blocks to be moved, and moves them to another location on the |
| 407 | boardboard. |
| 408 | |
| 409 | Make the unix_io channel's io_channel_flush implementation calls sync() |
| 410 | to to flush the kernel buffers to disk. |
| 411 | |
| 412 | Added a new function ext2fs_dblist_count returns the number of |
| 413 | directory blocks in dblist. |
| 414 | |
| 415 | |
Theodore Ts'o | ae85148 | 1997-04-29 18:13:24 +0000 | [diff] [blame] | 416 | E2fsprogs 1.10 (April 24, 1997) |
| 417 | =============================== |
| 418 | |
| 419 | Mke2fs once again defaults to creating revision #0 filesystems, since |
| 420 | people were complaining about breaking compatibility with 1.2 kernels. |
| 421 | Warning messages were added to the mke2fs and tune2fs man pages that |
| 422 | the sparse superblock option isn't supported by most kernels yet (1.2 |
| 423 | and 2.0 both don't support parse superblocks.) |
| 424 | |
| 425 | Added new flag to mke2fs, -R <raid options>, which allows the user to |
| 426 | tell mke2fs about the RAID configuration of the filesystem. Currently |
| 427 | the only supported raid option is "stride" which specifies the width |
| 428 | of the RAID stripe. |
| 429 | |
| 430 | Fixed bug in e2fsck where pass1b would bomb out if there were any |
| 431 | blocks marked bad in the inode table. |
| 432 | |
| 433 | Fixed rare bug in mke2fs where if the user had a very unlucky number |
| 434 | of blocks in a filesystem (probability less than .002) the resulting |
| 435 | filesystem would be corrupt in the last block group. |
| 436 | |
| 437 | Fixed bug where if e2fsck tried to allocate a block to fix a |
| 438 | filesystem corruption problem and the filesystem had no free blocks, |
| 439 | ext2fs_new_block() would loop forever. |
| 440 | |
| 441 | The configure script now checks explicitly to see if "-static" works, |
| 442 | since that can't be assumed to be true --- RedHat doesn't install |
| 443 | libc-static by default. |
| 444 | |
| 445 | Fixed bug in libext2's block iterator functions where under some |
| 446 | cirmcustances, file with holes would cause the bcount parameter to the |
| 447 | callback function to be incorrect. This bug didn't affect any of |
| 448 | e2fsprogs programs, but it was discovered by Paul Mackerras, the |
| 449 | author of the PPC boot loader. |
| 450 | |
| 451 | Removed use of static variables to store the inode cache in libext2fs. |
| 452 | This caused problems if more than one filesystem was accessed via |
| 453 | libext2fs (static variables in libraries are generally a bad idea). |
| 454 | Again, this didn't affect e2fsprogs programs, but it was discovered by |
| 455 | Paul Mackerras. |
| 456 | |
| 457 | Fixed minor bugs and version code drift to assure that e2fsprogs 1.10 |
| 458 | will compile cleanly with 1.2.13 kernels (even with a.out shared |
| 459 | libraries!) |
| 460 | |
| 461 | Programmer's notes: |
| 462 | ------------------- |
| 463 | |
| 464 | Added new functions to duplicate an ext2 filesystem handle, and its |
| 465 | associated substructure. New functions: ext2fs_dup_handle(), |
| 466 | ext2fs_copy_dblist(), ext2fs_badblocks_copy(), ext2fs_copy_bitmap(). |
| 467 | Other structures, such as the io_channel and the inode_cache, now have |
| 468 | a ref count so that they only get freed when they are no longer used |
| 469 | by any filesystem handle. (These functions were added as part of the |
| 470 | development effort for an ext2 resizer). |
| 471 | |
Theodore Ts'o | 2ecc6fe | 1997-04-29 17:57:00 +0000 | [diff] [blame] | 472 | E2fsprogs 1.09 (April 14, 1997) |
| 473 | =============================== |
| 474 | |
| 475 | Fixed bug in mke2fs (really in lib/ext2fs/initialize.c) which was |
| 476 | accidentally introduced in the 1.08 release. The overhead calculation |
| 477 | was accidentally removed, which caused ext2fs_initialize() to not |
| 478 | notice when the filesystem size needed to be adjusted down because |
| 479 | there wasn't enough space in the last block group. |
| 480 | |
| 481 | Fixed bug in version parsing library routine; it was always parsing |
| 482 | the library version string, instead of using the passed-in string. |
| 483 | |
| 484 | Clarified chattr man page. |
| 485 | |
Theodore Ts'o | 24757fa | 1997-04-29 17:39:27 +0000 | [diff] [blame] | 486 | E2fsprogs 1.08 (April 10, 1997) |
| 487 | =============================== |
| 488 | |
| 489 | E2fsck 1.07 was very slow when checking very large filesystems with a |
| 490 | lot of files that had hard links (i.e., news spools). This was fixed |
| 491 | by seriously revamping the icount abstraction. Added a formal test |
| 492 | suite for the icount abstraction. |
| 493 | |
| 494 | Debugfs now has a "-l" option to the "ls" command, which lists the |
| 495 | inode number, permissions, owner, group, size, and name of the files |
| 496 | in the directory. |
| 497 | |
| 498 | Fix a bug in e2fsck where when a directory had its blocks moved to |
| 499 | another location during the pass 1b processing, the directory block |
| 500 | list wasn't updated, so pass 2 wouldn't check (and correct) the |
| 501 | correct directory block. |
| 502 | |
| 503 | E2fsck will now treat inodes which contain blocks which are claimed by |
| 504 | the filesystem metadata by treating them as multiply claimed blocks. |
| 505 | This way, the data in those blocks can be copied to a new block during |
| 506 | the pass 1b--1d processing. |
| 507 | |
| 508 | E2fsck will attempt to determine the correct superblock number and |
| 509 | display it in the diagnostic and warning messages if possible. |
| 510 | |
| 511 | Add support for a new (incompatible) feature, "sparse_super". This |
| 512 | feature reduces the number of blocks which contain copies of backup |
| 513 | superblocks and block group descriptors. (It is only an incompatible |
| 514 | feature because of a bug in ext2_free_blocks.) mke2fs and tune2fs now |
| 515 | support a new -s option; e2fsck will recognize filesystems built with |
| 516 | this feature turned on. |
| 517 | |
| 518 | E2fsck now checks the library to make sure is the correct version, |
| 519 | using new library functions. (This helps to diagnose incorrectly |
| 520 | installed e2fsprogs distributions.) |
| 521 | |
| 522 | Dumpe2fs now prints more information; its now prints the the |
| 523 | filesystem revision number, the filesystem sparse_super feature (if |
| 524 | present), the block ranges for each block group, and the offset from |
| 525 | the beginning of the block group. |
| 526 | |
| 527 | Mke2fs now distributes the inode and block bitmap blok so that the |
| 528 | won't be concentrated in one or two disks in RAID/striping setups. |
| 529 | Also, if the user chooses a 2k or 4k block group, mke2fs will try to |
| 530 | choose the largest blocks per group that be chosen. (For 2k blocks, |
| 531 | you can have up to 16384 blocks/group; for 4k blocks, you can have up |
| 532 | to 32768 blocks/group.) Previously mke2fs would not allow |
| 533 | specification of more than 8192 blocks per group, even if you were |
| 534 | using a 2k or 4k block group. |
| 535 | |
| 536 | Programmer's notes: |
| 537 | ------------------- |
| 538 | |
| 539 | Added a new function ext2fs_create_icount2() which takes a "hint" |
| 540 | argument. This hint argument presets the icount array with the list |
| 541 | of inodes which actually need to be in the icount array. This really |
| 542 | helps to speed up e2fsck. |
| 543 | |
| 544 | Added a new function ext2fs_icount_validate() which checks the rep |
| 545 | invariant for the icount structure. This is used mostly for testing. |
| 546 | |
| 547 | The error mesasage given when a bad inode number is passed to |
| 548 | test_generic_bitmap to reflect EXT2FS_TEST_ERROR (instead of |
| 549 | EXT2FS_UNMARK_ERROR). |
| 550 | |
| 551 | Added a new function ext2fs_set_dir_block which sets the block of a |
| 552 | dblist entry, given the directory inode and blockcnt. |
| 553 | |
| 554 | Added a new function ext2fs_get_library_version() which returns the |
| 555 | current library version, and ext2fs_parse_version_string() which |
| 556 | returns a version number based on a e2fsprogs version string. |
| 557 | |
| 558 | The icount functions will return EINVAL if the passed in inode number |
| 559 | is out of bounds. |
| 560 | |
Theodore Ts'o | 21c84b7 | 1997-04-29 16:15:03 +0000 | [diff] [blame] | 561 | E2fsprogs 1.07 (March 9, 1997) |
| 562 | ============================== |
| 563 | |
| 564 | E2fsck is now uses much less memory when checking really large |
| 565 | filesystems (or rather, filesystems with a large number of inodes). |
| 566 | Previously a filesystem with 1 million inodes required 4 megabytes of |
| 567 | memory to store inode count statistics; that storage requirement has |
| 568 | now been reduced to roughly half a megabyte. |
| 569 | |
| 570 | E2fsck can now properly deal with bad blocks appearing inside the |
| 571 | inode table. Instead of trying to relocate the inode table (which |
| 572 | often failed because there wasn't enough space), the inodes in the bad |
| 573 | block are marked as in use. |
| 574 | |
| 575 | E2fsck will automatically try to use the backup superblocks if the |
| 576 | primary superblocks have a bad magic number or have missing meta-data |
| 577 | blocks (or meta-data blocks which are out of range). |
| 578 | |
| 579 | E2fsck's pass 3 has been made more efficient; most noticeable on |
| 580 | filesystems with a very large number of directories. |
| 581 | |
| 582 | Completely revamped e2fsck's system of printing problem reports. It |
| 583 | is now table driven, to make them more easily customizeable and |
| 584 | extendable. Error messages which can be printed out during preen mode |
| 585 | are now one line long. |
| 586 | |
| 587 | Fixed e2fsck's filesystem swapping code so that it won't try to swap |
| 588 | fast symbolic links or deleted files. |
| 589 | |
| 590 | Fixed e2fsck core dumping when fixing a filesystem which has no |
| 591 | directories (not even a root directory). |
| 592 | |
| 593 | Added a check to e2fsck to make sure that the length of every |
| 594 | directory entry is a multiple of 4 (since the kernel complains if it |
| 595 | isn't). |
| 596 | |
| 597 | Added a check to e2fsck to make sure that a directory entry isn't a |
| 598 | link to the root directory, since that isn't allowed. |
| 599 | |
| 600 | Added a check to e2fsk to now make sure the '.' and '..' directory |
| 601 | entries are null terminated, since the 2.0 kernel requires it. |
| 602 | |
| 603 | Added check to write_bitmaps() to make sure the superblock doesn't get |
| 604 | trashed if the inode or block bitmap is marked as being block zero. |
| 605 | |
| 606 | Added checking of the new feature set fields in the superblock, to |
| 607 | avoid dealing with new filesystem features that this package wasn't |
| 608 | set up to handle. |
| 609 | |
| 610 | Fixed a fencepost error in ext2fs_new_block() which would occasionally |
| 611 | try to allocate a block beyond the end of a filesystem. |
| 612 | |
| 613 | When the UUID library picks a random IEEE 802 address (because it |
| 614 | can't find one from a network card), it sets the multicast bit, to |
| 615 | avoid conflicting with a legitimate IEEE 802 address. |
| 616 | |
| 617 | Mke2fs now sets the root directory's owner to be the real uid of the |
| 618 | user running mke2fs. If the real uid is non-zero, it also sets |
| 619 | the group ownership of the root directory to be the real group-id of |
| 620 | the user running mke2fs. |
| 621 | |
| 622 | Mke2fs now has more intelligent error checking when it is given a |
| 623 | non-existent device. |
| 624 | |
| 625 | When badblocks is given the -vv option, it now updates the block that |
| 626 | it is currently testing on every block. |
| 627 | |
| 628 | Fixed a bug in fsck where it wouldn't modify the PATH envirnoment |
| 629 | currently correctly if PATH wasn't already set. |
| 630 | |
| 631 | Shared libraries now built with dependencies. This allows the shared |
| 632 | library files to be used with dlopen(); it also makes the transition |
| 633 | to libc 6 easier, since ld.so can tell which libc a particular shared |
| 634 | library expects to use. |
| 635 | |
| 636 | Programmer's notes: |
| 637 | ------------------- |
| 638 | |
| 639 | Added new abstraction (defined in dblist.c) for maintaining a list of |
| 640 | blocks which belongs to directories. This is used in e2fsck and other |
| 641 | programs which need to iterate over all directories. |
| 642 | |
| 643 | Added new functions which test to see if a contiguous range of blocks |
| 644 | (or inodes) are available. (ext2fs_*_bitmap_range). |
| 645 | |
| 646 | Added new function (ext2_inode_has_valid_blocks) which returns true if |
| 647 | an inode has valid blocks. (moved from e2fsck code). |
| 648 | |
| 649 | Added new function (ext2fs_allocate_tables) which allocates the |
| 650 | meta-data blocks as part of initializing a filesystem. (moved from |
| 651 | mke2fs code). |
| 652 | |
| 653 | Added a new I/O manager for testing purposes. It will either allow a |
| 654 | program to intercept I/O requests, or print debugging messages to |
| 655 | trace the activity of a program using the I/O manager. |
| 656 | |
| 657 | The badblocks_list functions now store the bad blocks in a sorted |
| 658 | order, and use a binary search to speed up badblocks_list_test. |
| 659 | |
| 660 | The inode scan function ext2fs_get_next_inode() may now return a soft |
| 661 | error returns: MISSING_INODE_TABLE and BAD_BLOCK_IN_INODE_TABLE in |
| 662 | those cases where part of an inode table is missing or there is a bad |
| 663 | block in the inode table. |
| 664 | |
| 665 | Added a new function (ext2fs_block_iterate2) which adds new arguments to |
| 666 | the callback function to return a pointer (block and offset) to the |
| 667 | reference of the block. |
| 668 | |
| 669 | Added new function (ext2fs_inode_scan_goto_blockgroup) which allows an |
| 670 | application to jump to a particular block group while doing an inode |
| 671 | scan. |
| 672 | |
| 673 | The badblocks list functions were renamed from badblocks_* to |
| 674 | ext2fs_badblocks_*. Backwards compatibility functions are available |
| 675 | for now, but programs should be modified to use the new interface. |
| 676 | |
| 677 | Some of the library functions were reorganized into separate files to |
| 678 | reduce the size of some programs which statically link against the |
| 679 | ext2 library. |
| 680 | |
| 681 | Put in some miscellaneous fixes for the Alpha platform. |
| 682 | |
Theodore Ts'o | 5c57647 | 1997-04-29 15:29:49 +0000 | [diff] [blame] | 683 | |
| 684 | E2fsprogs 1.06 (October 7, 1996) |
| 685 | ================================ |
| 686 | |
| 687 | Fixed serious bug in e2fsck: if the block descriptors are bad, don't |
| 688 | smash the backup copies in ext2fs_close(). (The problem was that when |
| 689 | e2fsck -p discovered the problem, while it was closing the filesystem |
| 690 | and exiting, it was also blowing away the backup superblocks on the |
| 691 | disk, which was less than friendly.) We now make it the case that we |
| 692 | only write out the backup superblock and the back block descriptors if |
| 693 | the filesystem is completely free from problems. |
| 694 | |
| 695 | Fixed a bug in block_interate in the lib/ext2fs library which caused |
| 696 | e2fsck to fail on GNU Hurd-created filesystems. |
| 697 | |
| 698 | Add support for Linux/FT's bootloader, which actually uses |
| 699 | EXT2_BOOT_LOADER, and sets its mode bits which caused e2fsck to want |
| 700 | to clear the inode. |
| 701 | |
| 702 | Add support for the "A" (no atime update) attribute. (Note: this |
| 703 | attribute is not yet in production kernels.) |
| 704 | |
| 705 | The test suite is not automatically run when doing a "make all" from |
| 706 | the top level directory. Users should manually run "make check" if |
| 707 | they wish to run the test suite. |
| 708 | |
| 709 | Upon a preenhalt(), make the printed message more explicit that |
| 710 | running e2fsck "MANAULLY" means without the -p or -a options. |
| 711 | |
| 712 | In e2fsck, if a disconnected inode is zero-length, offer to clear it |
| 713 | instead of offering to connect it to lost+found. |
| 714 | |
| 715 | In e2fsck, if a filesystem was just unmounted uncleanly, and needs |
| 716 | e2fsck to be run over it, change e2fsck to explicitly display this |
| 717 | fact. |
| 718 | |
| 719 | For dumpe2fs and e2fsck, cause the -V option to print out which |
| 720 | version of the ext2fs library is actually getting used. (This will |
| 721 | help detect mismatches of using a 1.06 utility with a 1.05 library, |
| 722 | etc.) |
| 723 | |
| 724 | Programmers' notes: |
| 725 | ------------------- |
| 726 | |
| 727 | EXT2_SWAP_BYTES was changed to EXT2_FLAG_SWAP_BYTES, which better fits |
| 728 | the naming convention. |
| 729 | |
| 730 | In ext2fs_initialize(), make sure the description for the inode bitmap |
| 731 | is correctly initialize. |
| 732 | |
| 733 | Fixed minor type typo in ext2fs_allocate_generic_bitmap(); |
| 734 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 735 | E2fsprogs 1.05 (September 7, 1996) |
| 736 | ================================== |
| 737 | |
| 738 | Add support for new fields in the ext2 superblock --- volume name, |
| 739 | volume UUID, and last mounted field. Dumpe2fs displays these fields, |
| 740 | tune2fs and mke2fs allows you to set them. E2fsck will automatically |
| 741 | generate a UUID for those volumes that don't have them. |
| 742 | |
| 743 | Put in support for e2fsck to recognize HURD specific ext2 features --- |
| 744 | most notably, the translator block. The e2fsprogs tools will now use |
| 745 | the creator_os field in the superblock to correctly handle different |
| 746 | OS-specific variants of the ext2 filesystem. |
| 747 | |
| 748 | E2fsck now fixes inodes which have a the deletion time set, but which |
| 749 | have a non-zero i_link_count field by offering to clear the deletion |
| 750 | time. Previously e2fsck assumed that the inode was deleted (per 0.3c |
| 751 | ext2 kernel behavior) and offered to unlink the file. |
| 752 | |
| 753 | If e2fsck sets the clean bit, but nothing else, set the exit code |
| 754 | FSCK_NONDESTRUCT. After all, e2fsck did fix a filesystem error --- it |
| 755 | set the filesystem valid bit when it was previously cleared. :-) This |
| 756 | was needed to make the HURD fsck driver happy. |
| 757 | |
| 758 | If the user refuses to attach an unattached inode, e2fsck will no |
| 759 | longer set the inode's link count. Otherwise, the inode would end up |
| 760 | getting marked as unused, which might cause loss of data later. |
| 761 | |
| 762 | Make the message issued by e2fsck when the superblock is corrupt less |
| 763 | confusing for users. It now mentions that another reason for the |
| 764 | "corrupt superblock" message might be that the partition might not be |
| 765 | an ext2 filesystem at all (it might swap, msdos filesystem, ufs, etc.) |
| 766 | |
| 767 | Make the libext2 library more robuest so that e2fsck won't coredump on |
| 768 | an illegal superblock where the blocksize is zero. (f_crashdisk is |
| 769 | the test case). |
| 770 | |
| 771 | By default, create filesystems where the default checkinterval is 6 |
| 772 | months (180 days). Linux servers can be robust enough that 20 reboots |
| 773 | can be a long, long time. |
| 774 | |
| 775 | Added configure flag --enable-old-bitops, which forces the bitops to |
| 776 | use the old (native) bitmask operations. By default on the sparc |
| 777 | platform, the standard ext2 bit ordering is now used. |
| 778 | |
| 779 | Added a new feature to e2fsck to byte-swap filesystems; this can be |
| 780 | used to convert old m68k filesystems to use the standard byte-order |
| 781 | storage for the superblock, inodes, and directory blocks. This |
| 782 | function is invoked by using the '-s' option to e2fsck. |
| 783 | |
| 784 | Debugfs's "dump" command has been enhanced so that it writes out the |
| 785 | exact size of the file so that the nulls at the end of the file are |
| 786 | eliminated. The command also accept a new "-p" option which will |
| 787 | attempt preserve to preserve the ownernship, permissions, and |
| 788 | file modification/access times. |
| 789 | |
| 790 | Debugfs has two new options, -f and -R. The -R option allows the user |
| 791 | to execute a single debugfs command from the command line. The -f |
| 792 | option allows the user to specify a "command file" containing debugfs |
| 793 | commands which will get executed. |
| 794 | |
| 795 | Dumpe2fs now pretty prints the check interval, instead of just |
| 796 | printing the check interval as a number of seconds. |
| 797 | |
| 798 | Fix bugs in debugfs: the params command when no filesystem is opened |
| 799 | no longer causes a core dump. It is now possible to unlink a file |
| 800 | when a pathame containing a '/' is specified. |
| 801 | |
| 802 | Tune2fs has a new -C option which sets the number of times the |
| 803 | filesystem has been mounted. |
| 804 | |
| 805 | Fix the chattr '-v' option so that it actually works. Chattr was |
| 806 | being buggy about the -v option parsing. |
| 807 | |
| 808 | Programmers' notes: |
| 809 | ------------------- |
| 810 | |
| 811 | The directory lib/uuid contains a set of library routines to generate |
| 812 | DCE compatible UUIDs. |
| 813 | |
| 814 | Extended ext2fs_namei() to handle symbolic links. Added new function |
| 815 | ext2fs_nami_follow() which will follow last symbolic link in the case |
| 816 | where the pathname points to a sym link. |
| 817 | |
| 818 | The ext2fs_block_iterate function will now return the HURD translator |
| 819 | block, if present. The new flag BLOCK_FLAG_DATA_ONLY will cause the |
| 820 | iterator to return data blocks only. The ext2fs.h file now defines |
| 821 | constants BLOCK_COUNT_IND, BLOCK_COUNT_DIND, BLOCK_COUNT_TIND, and |
| 822 | BLOCK_COUNT_TRANSLATOR, which are the magic values passed in the block |
| 823 | count field of the iterator callback function. |
| 824 | |
| 825 | The test script driver now takes an optional second argument, which is |
| 826 | the test case to be run. This allows you to run a test case without |
| 827 | needing to run the entire test suite. |
| 828 | |
| 829 | On Linux ELF systems, install the .so files in the correct places |
| 830 | (/usr/lib). The .so files must be stored in the same directory as the |
| 831 | .a files. |
| 832 | |
| 833 | Fixed miscellaneous HURD compilation issues with header file being |
| 834 | included in the right order. |
| 835 | |
| 836 | Fixed debugfs so that it resets optind to zero, not one, since setting |
| 837 | optind to zero is more correct. |
| 838 | |
| 839 | |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 840 | E2fsprogs 1.04 (May 16, 1996) |
| 841 | ============================= |
| 842 | |
| 843 | First "official" (1.03 was a limited release only) to support building |
| 844 | e2fsprogs under Linux 2.0 kernels (as well as late model 1.3 and 1.99 |
| 845 | kernels). |
| 846 | |
| 847 | This package includes a RPM specs file, that it can be built using the |
| 848 | RedHat Package Manager. |
| 849 | |
| 850 | E2fsck now prints a hint that if there are lots of incorrectly located |
| 851 | inode bitmaps, block bitmaps, and inode table blocks, the user might |
| 852 | want to try using e2fsck -b 8193 first, to see if that fares any |
| 853 | better. |
| 854 | |
| 855 | For ext2 filesystem written with the hurd, debugfs will now print out |
| 856 | the translator field when printing an inode structure. |
| 857 | |
| 858 | Lots of miscellaneous linking/installation cleanups: |
| 859 | |
| 860 | Libraries are now linked using a relative pathname, instead of |
| 861 | relying on -L working correct. It doesn't, in many cases, including |
| 862 | current versions of GNU ld. This guarantees that the build tree is |
| 863 | linking with the right libraries, instead of the ones installed in |
| 864 | /usr/lib. |
| 865 | |
| 866 | Header files, man pages, and the et/ss shell scripts are now |
| 867 | generated using a custom substitution script, instead of relying on |
| 868 | the configure script. This prevents needless recompilation of |
| 869 | files; in addition, the custom substitution script is much faster. |
| 870 | |
| 871 | e2fsck may now be linked dynamically, by using the |
| 872 | --enable-dynamic-e2fsck flag to configure. This is not recommended, |
| 873 | since it increases e2fsck's dependence on other files, but some |
| 874 | people need to save disk space, and other critical programs on their |
| 875 | systems were being linked dynamically anyway. |
| 876 | |
| 877 | Programs such as fsck which didn't need to be linked against |
| 878 | libext2fs (or mke2fs which didn't need to be linked against libe2p) |
| 879 | only link against libraries they actually need. Otherwise, those |
| 880 | programs would require the presense of libraries that otherwise |
| 881 | could be removed from a rescuse diskette. |
| 882 | |
| 883 | The ss include files are now installed correctly so they can |
| 884 | actually be used by another package. |
| 885 | |
| 886 | If the profiling libraries are built, they are now installed on a |
| 887 | "make install-libs". |
| 888 | |
| 889 | |
Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 890 | E2fsprogs 1.03 (March 27, 1996) |
| 891 | =============================== |
| 892 | |
| 893 | Change the m68k bit numbering for bitmasks to match the bit numbering |
| 894 | used by all other ext2 implementations. (This change was requested by |
| 895 | the m68k kernel development team.) |
| 896 | |
| 897 | Support (in-development) filesystem format revision which supports |
| 898 | (among other things) dynamically sized inodes. |
| 899 | |
| 900 | Fixed a bug in the ext2 library so that an intelligent error is |
| 901 | returned if mke2fs is run with a ridiculously small number of blocks |
| 902 | for a partition. |
| 903 | |
| 904 | Fixed a bug in the ext2 library which required that the device be |
| 905 | openable in read/write mode in order to determine its size. This |
| 906 | caused e2fsck -n to require read/write access when it was not |
| 907 | previously necessary. |
| 908 | |
| 909 | Fixed a bug in e2fsck which casued it to occasionally fail the test |
| 910 | suite depending on which version of the floating point library it was |
| 911 | using. |
| 912 | |
| 913 | Fixed a bug in e2fsck so that it now halts with a fatal error when |
| 914 | certain superblock consistency checks fail. Previously it continued |
| 915 | running e2fsck, with some potential confusing/damaging consequences. |
| 916 | |
| 917 | Added new flag to fsck which allows the root to be checked in parallel |
| 918 | with other filesytems. This is not the safest thing in the world to |
| 919 | do, but some system administrators really wanted it. |
| 920 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 921 | Fixed -Wall flames in lib/ss. |
| 922 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 923 | |
| 924 | E2fsprogs 1.02 (January 16, 1996) |
| 925 | ================================= |
| 926 | |
| 927 | Fix to allow e2fsprogs to be compiled on recent 1.3 (pl45+) kernels. |
| 928 | |
| 929 | Change e2fsck to print statistics of how many non-contiguous files are |
| 930 | on the system. Note that a file which is larger than 8k blocks, it is |
| 931 | guaranteed to be non-contiguous. |
| 932 | |
| 933 | In mke2fs, print a warning message if a user tries to format a whole |
| 934 | disk (/dev/hda versus /dev/hda1). If a user really wants to format a |
| 935 | whole disk, the -F (force) option forces mke2fs to format a whole disk |
| 936 | as a filesytem. |
| 937 | |
| 938 | Fix a bug in fsck where in some cases it might start checking |
| 939 | partitions in the next pass before it finishes checking partitions in |
| 940 | the current pass. This still won't cause two partitions on the same |
| 941 | disk will be checked, so it's rarely a problem in real life. |
| 942 | |
| 943 | Patch lsattr so that it won't hang when checking a named pipe. |
| 944 | |
| 945 | Minor compilation fixes: |
| 946 | * Fix the order of libraries that were linked in debugfs. |
| 947 | * Allow the sources to be compiled with -ansi turned on. |