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