Theodore Ts'o | 5c57647 | 1997-04-29 15:29:49 +0000 | [diff] [blame^] | 1 | |
| 2 | E2fsprogs 1.06 (October 7, 1996) |
| 3 | ================================ |
| 4 | |
| 5 | Fixed serious bug in e2fsck: if the block descriptors are bad, don't |
| 6 | smash the backup copies in ext2fs_close(). (The problem was that when |
| 7 | e2fsck -p discovered the problem, while it was closing the filesystem |
| 8 | and exiting, it was also blowing away the backup superblocks on the |
| 9 | disk, which was less than friendly.) We now make it the case that we |
| 10 | only write out the backup superblock and the back block descriptors if |
| 11 | the filesystem is completely free from problems. |
| 12 | |
| 13 | Fixed a bug in block_interate in the lib/ext2fs library which caused |
| 14 | e2fsck to fail on GNU Hurd-created filesystems. |
| 15 | |
| 16 | Add support for Linux/FT's bootloader, which actually uses |
| 17 | EXT2_BOOT_LOADER, and sets its mode bits which caused e2fsck to want |
| 18 | to clear the inode. |
| 19 | |
| 20 | Add support for the "A" (no atime update) attribute. (Note: this |
| 21 | attribute is not yet in production kernels.) |
| 22 | |
| 23 | The test suite is not automatically run when doing a "make all" from |
| 24 | the top level directory. Users should manually run "make check" if |
| 25 | they wish to run the test suite. |
| 26 | |
| 27 | Upon a preenhalt(), make the printed message more explicit that |
| 28 | running e2fsck "MANAULLY" means without the -p or -a options. |
| 29 | |
| 30 | In e2fsck, if a disconnected inode is zero-length, offer to clear it |
| 31 | instead of offering to connect it to lost+found. |
| 32 | |
| 33 | In e2fsck, if a filesystem was just unmounted uncleanly, and needs |
| 34 | e2fsck to be run over it, change e2fsck to explicitly display this |
| 35 | fact. |
| 36 | |
| 37 | For dumpe2fs and e2fsck, cause the -V option to print out which |
| 38 | version of the ext2fs library is actually getting used. (This will |
| 39 | help detect mismatches of using a 1.06 utility with a 1.05 library, |
| 40 | etc.) |
| 41 | |
| 42 | Programmers' notes: |
| 43 | ------------------- |
| 44 | |
| 45 | EXT2_SWAP_BYTES was changed to EXT2_FLAG_SWAP_BYTES, which better fits |
| 46 | the naming convention. |
| 47 | |
| 48 | In ext2fs_initialize(), make sure the description for the inode bitmap |
| 49 | is correctly initialize. |
| 50 | |
| 51 | Fixed minor type typo in ext2fs_allocate_generic_bitmap(); |
| 52 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 53 | E2fsprogs 1.05 (September 7, 1996) |
| 54 | ================================== |
| 55 | |
| 56 | Add support for new fields in the ext2 superblock --- volume name, |
| 57 | volume UUID, and last mounted field. Dumpe2fs displays these fields, |
| 58 | tune2fs and mke2fs allows you to set them. E2fsck will automatically |
| 59 | generate a UUID for those volumes that don't have them. |
| 60 | |
| 61 | Put in support for e2fsck to recognize HURD specific ext2 features --- |
| 62 | most notably, the translator block. The e2fsprogs tools will now use |
| 63 | the creator_os field in the superblock to correctly handle different |
| 64 | OS-specific variants of the ext2 filesystem. |
| 65 | |
| 66 | E2fsck now fixes inodes which have a the deletion time set, but which |
| 67 | have a non-zero i_link_count field by offering to clear the deletion |
| 68 | time. Previously e2fsck assumed that the inode was deleted (per 0.3c |
| 69 | ext2 kernel behavior) and offered to unlink the file. |
| 70 | |
| 71 | If e2fsck sets the clean bit, but nothing else, set the exit code |
| 72 | FSCK_NONDESTRUCT. After all, e2fsck did fix a filesystem error --- it |
| 73 | set the filesystem valid bit when it was previously cleared. :-) This |
| 74 | was needed to make the HURD fsck driver happy. |
| 75 | |
| 76 | If the user refuses to attach an unattached inode, e2fsck will no |
| 77 | longer set the inode's link count. Otherwise, the inode would end up |
| 78 | getting marked as unused, which might cause loss of data later. |
| 79 | |
| 80 | Make the message issued by e2fsck when the superblock is corrupt less |
| 81 | confusing for users. It now mentions that another reason for the |
| 82 | "corrupt superblock" message might be that the partition might not be |
| 83 | an ext2 filesystem at all (it might swap, msdos filesystem, ufs, etc.) |
| 84 | |
| 85 | Make the libext2 library more robuest so that e2fsck won't coredump on |
| 86 | an illegal superblock where the blocksize is zero. (f_crashdisk is |
| 87 | the test case). |
| 88 | |
| 89 | By default, create filesystems where the default checkinterval is 6 |
| 90 | months (180 days). Linux servers can be robust enough that 20 reboots |
| 91 | can be a long, long time. |
| 92 | |
| 93 | Added configure flag --enable-old-bitops, which forces the bitops to |
| 94 | use the old (native) bitmask operations. By default on the sparc |
| 95 | platform, the standard ext2 bit ordering is now used. |
| 96 | |
| 97 | Added a new feature to e2fsck to byte-swap filesystems; this can be |
| 98 | used to convert old m68k filesystems to use the standard byte-order |
| 99 | storage for the superblock, inodes, and directory blocks. This |
| 100 | function is invoked by using the '-s' option to e2fsck. |
| 101 | |
| 102 | Debugfs's "dump" command has been enhanced so that it writes out the |
| 103 | exact size of the file so that the nulls at the end of the file are |
| 104 | eliminated. The command also accept a new "-p" option which will |
| 105 | attempt preserve to preserve the ownernship, permissions, and |
| 106 | file modification/access times. |
| 107 | |
| 108 | Debugfs has two new options, -f and -R. The -R option allows the user |
| 109 | to execute a single debugfs command from the command line. The -f |
| 110 | option allows the user to specify a "command file" containing debugfs |
| 111 | commands which will get executed. |
| 112 | |
| 113 | Dumpe2fs now pretty prints the check interval, instead of just |
| 114 | printing the check interval as a number of seconds. |
| 115 | |
| 116 | Fix bugs in debugfs: the params command when no filesystem is opened |
| 117 | no longer causes a core dump. It is now possible to unlink a file |
| 118 | when a pathame containing a '/' is specified. |
| 119 | |
| 120 | Tune2fs has a new -C option which sets the number of times the |
| 121 | filesystem has been mounted. |
| 122 | |
| 123 | Fix the chattr '-v' option so that it actually works. Chattr was |
| 124 | being buggy about the -v option parsing. |
| 125 | |
| 126 | Programmers' notes: |
| 127 | ------------------- |
| 128 | |
| 129 | The directory lib/uuid contains a set of library routines to generate |
| 130 | DCE compatible UUIDs. |
| 131 | |
| 132 | Extended ext2fs_namei() to handle symbolic links. Added new function |
| 133 | ext2fs_nami_follow() which will follow last symbolic link in the case |
| 134 | where the pathname points to a sym link. |
| 135 | |
| 136 | The ext2fs_block_iterate function will now return the HURD translator |
| 137 | block, if present. The new flag BLOCK_FLAG_DATA_ONLY will cause the |
| 138 | iterator to return data blocks only. The ext2fs.h file now defines |
| 139 | constants BLOCK_COUNT_IND, BLOCK_COUNT_DIND, BLOCK_COUNT_TIND, and |
| 140 | BLOCK_COUNT_TRANSLATOR, which are the magic values passed in the block |
| 141 | count field of the iterator callback function. |
| 142 | |
| 143 | The test script driver now takes an optional second argument, which is |
| 144 | the test case to be run. This allows you to run a test case without |
| 145 | needing to run the entire test suite. |
| 146 | |
| 147 | On Linux ELF systems, install the .so files in the correct places |
| 148 | (/usr/lib). The .so files must be stored in the same directory as the |
| 149 | .a files. |
| 150 | |
| 151 | Fixed miscellaneous HURD compilation issues with header file being |
| 152 | included in the right order. |
| 153 | |
| 154 | Fixed debugfs so that it resets optind to zero, not one, since setting |
| 155 | optind to zero is more correct. |
| 156 | |
| 157 | |
Theodore Ts'o | a4d0961 | 1997-04-29 14:28:00 +0000 | [diff] [blame] | 158 | E2fsprogs 1.04 (May 16, 1996) |
| 159 | ============================= |
| 160 | |
| 161 | First "official" (1.03 was a limited release only) to support building |
| 162 | e2fsprogs under Linux 2.0 kernels (as well as late model 1.3 and 1.99 |
| 163 | kernels). |
| 164 | |
| 165 | This package includes a RPM specs file, that it can be built using the |
| 166 | RedHat Package Manager. |
| 167 | |
| 168 | E2fsck now prints a hint that if there are lots of incorrectly located |
| 169 | inode bitmaps, block bitmaps, and inode table blocks, the user might |
| 170 | want to try using e2fsck -b 8193 first, to see if that fares any |
| 171 | better. |
| 172 | |
| 173 | For ext2 filesystem written with the hurd, debugfs will now print out |
| 174 | the translator field when printing an inode structure. |
| 175 | |
| 176 | Lots of miscellaneous linking/installation cleanups: |
| 177 | |
| 178 | Libraries are now linked using a relative pathname, instead of |
| 179 | relying on -L working correct. It doesn't, in many cases, including |
| 180 | current versions of GNU ld. This guarantees that the build tree is |
| 181 | linking with the right libraries, instead of the ones installed in |
| 182 | /usr/lib. |
| 183 | |
| 184 | Header files, man pages, and the et/ss shell scripts are now |
| 185 | generated using a custom substitution script, instead of relying on |
| 186 | the configure script. This prevents needless recompilation of |
| 187 | files; in addition, the custom substitution script is much faster. |
| 188 | |
| 189 | e2fsck may now be linked dynamically, by using the |
| 190 | --enable-dynamic-e2fsck flag to configure. This is not recommended, |
| 191 | since it increases e2fsck's dependence on other files, but some |
| 192 | people need to save disk space, and other critical programs on their |
| 193 | systems were being linked dynamically anyway. |
| 194 | |
| 195 | Programs such as fsck which didn't need to be linked against |
| 196 | libext2fs (or mke2fs which didn't need to be linked against libe2p) |
| 197 | only link against libraries they actually need. Otherwise, those |
| 198 | programs would require the presense of libraries that otherwise |
| 199 | could be removed from a rescuse diskette. |
| 200 | |
| 201 | The ss include files are now installed correctly so they can |
| 202 | actually be used by another package. |
| 203 | |
| 204 | If the profiling libraries are built, they are now installed on a |
| 205 | "make install-libs". |
| 206 | |
| 207 | |
Theodore Ts'o | 7f88b04 | 1997-04-26 14:48:50 +0000 | [diff] [blame] | 208 | E2fsprogs 1.03 (March 27, 1996) |
| 209 | =============================== |
| 210 | |
| 211 | Change the m68k bit numbering for bitmasks to match the bit numbering |
| 212 | used by all other ext2 implementations. (This change was requested by |
| 213 | the m68k kernel development team.) |
| 214 | |
| 215 | Support (in-development) filesystem format revision which supports |
| 216 | (among other things) dynamically sized inodes. |
| 217 | |
| 218 | Fixed a bug in the ext2 library so that an intelligent error is |
| 219 | returned if mke2fs is run with a ridiculously small number of blocks |
| 220 | for a partition. |
| 221 | |
| 222 | Fixed a bug in the ext2 library which required that the device be |
| 223 | openable in read/write mode in order to determine its size. This |
| 224 | caused e2fsck -n to require read/write access when it was not |
| 225 | previously necessary. |
| 226 | |
| 227 | Fixed a bug in e2fsck which casued it to occasionally fail the test |
| 228 | suite depending on which version of the floating point library it was |
| 229 | using. |
| 230 | |
| 231 | Fixed a bug in e2fsck so that it now halts with a fatal error when |
| 232 | certain superblock consistency checks fail. Previously it continued |
| 233 | running e2fsck, with some potential confusing/damaging consequences. |
| 234 | |
| 235 | Added new flag to fsck which allows the root to be checked in parallel |
| 236 | with other filesytems. This is not the safest thing in the world to |
| 237 | do, but some system administrators really wanted it. |
| 238 | |
Theodore Ts'o | fc6d9d5 | 1997-04-29 14:51:31 +0000 | [diff] [blame] | 239 | Fixed -Wall flames in lib/ss. |
| 240 | |
Theodore Ts'o | 74becf3 | 1997-04-26 14:37:06 +0000 | [diff] [blame] | 241 | |
| 242 | E2fsprogs 1.02 (January 16, 1996) |
| 243 | ================================= |
| 244 | |
| 245 | Fix to allow e2fsprogs to be compiled on recent 1.3 (pl45+) kernels. |
| 246 | |
| 247 | Change e2fsck to print statistics of how many non-contiguous files are |
| 248 | on the system. Note that a file which is larger than 8k blocks, it is |
| 249 | guaranteed to be non-contiguous. |
| 250 | |
| 251 | In mke2fs, print a warning message if a user tries to format a whole |
| 252 | disk (/dev/hda versus /dev/hda1). If a user really wants to format a |
| 253 | whole disk, the -F (force) option forces mke2fs to format a whole disk |
| 254 | as a filesytem. |
| 255 | |
| 256 | Fix a bug in fsck where in some cases it might start checking |
| 257 | partitions in the next pass before it finishes checking partitions in |
| 258 | the current pass. This still won't cause two partitions on the same |
| 259 | disk will be checked, so it's rarely a problem in real life. |
| 260 | |
| 261 | Patch lsattr so that it won't hang when checking a named pipe. |
| 262 | |
| 263 | Minor compilation fixes: |
| 264 | * Fix the order of libraries that were linked in debugfs. |
| 265 | * Allow the sources to be compiled with -ansi turned on. |