1E2fsprogs 1.34 (July 25, 2003) 2=============================== 3 4Fixed a bug introduced in E2fsprogs 1.30 which caused fsck to spin in 5a tight loop while waiting for a child fsck to exit in some cases. 6This burns CPU times which slows down the low-level filesystem check. 7 8Added code to mke2fs to assure that the default block size for a 9filesystem is at least as big as the sector size of the device, if it 10can be determined. 11 12Changed mke2fs and resize2fs to round the default size of a filesystem 13to be an even multiple of the VM pagesize in order to avoid a Linux 14kernel bug introduced when the storage of the buffer cache was moved 15into the page cache. 16 17Mke2fs will warn the user when creating a filesystem with journalling 18and a blocksize greater than 4096. (Addresses Debian bug #193773) 19 20Fixed a bug in resize2fs which caused it to fail on filesystems with a 21non-empty bad block list. Resize2fs now discards any blocks on the 22badblock list which are no longer part of the filesystem as the result 23of a filesystem shrink. (Note: this means that shrinking and then 24enlarging a filesystem is no longer a reversible operation; 25information about bad blocks in the part of the filesystem which is to 26be chopped off will be lost.) 27 28Changed resize2fs so the user can use prefixes to specify the units of 29the new filesystem size (sectors, kilobytes, megabytes, or gigabytes), 30and to make the error and informational messages explicitly display 31the blocksize used by the filesystem, in order to avoid confusion. 32(Addresses Debian bug: #189814) 33 34Added a new debugfs command, dump_unused, which dumps the contents of 35all unused blocks to stdout. (Useful as an emergency try-to-find 36deleted data command.) 37 38Added a new debugfs command, imap, which prints the location of a 39specified inode in the inode table. 40 41Fixed a bug in the badblocks program which caused it to use one bit of 42randomness in its non-destructive read/write test, instead of using a 43full 8 bits of randomness. 44 45Added a new option (-t) to badblocks, which allows the user to control 46the test pattern(s) used when checking a disk. 47 48The blkid probe function now more correctly detects UDF filesystems. 49 50Fixed a bug in the blkid library which caused it to not update its 51cache if a filesystem changes from having a label to not having a 52label. 53 54Fixed a bug in the blkid library which could avoid an infinite loop 55in blkid_find_dev_with_tag() if /proc is not mounted and there the 56/etc/blkid.tab file has not yet been created. 57 58Fixed the badblocks program so that the destructive read/write test 59honors the -c option, and to use O_DIRECT when possible to avoid 60thrashing the system block buffer cache. 61 62Fixed various NLS issues. 63 - Added Czech and Swedish translations 64 - Removed testing NYC translation 65 - Fixed NLS support for message abbreviations in e2fsck 66 - Remove de-utf.po, since we shouldn't have two versions using different 67 charset encodings. 68 - Used ngettext() (abbreviated with the macro P_(str1, str2, n)) to 69 simplify the statistics reporting in e2fsck. 70 71Changed configure.in so that its defaults for *BSD systems no longer 72build an fsck wrapper, and not to install in /usr/local by default. 73 74Fixed some minor spelling errors/typo's in e2fsck and the configure 75script. 76 77Fixed various Debian packaging issues (see debian/changelog). 78 79Updated and clarified man pages. (Addresses Debian Bug #195616) 80 81Programmer's notes: 82------------------- 83 84Fix gcc -Wall nitpicks. 85 86Updated gettext implementation used by e2fsprogs to 0.11.5, and enable 87NLS support by default. (Added partial workaround for gettext/Darwin 88incompatibility problems.) 89 90Added full MIT KRB5 and Himdall compatibility support to the com_err 91library and the compile_et program. (Addresses Debian bug #191900) 92 93Added the blkid_known_fstype() function to the blkid library, which 94returns true if it is passed a filesystem type which is recognized by 95the blkid probing functions. 96 97Improved the documentation for the blkid library. 98 99Added the ext2fs_get_device_sectsize() function the the ext2fs library, which 100returns the hardware sector size of a device, if it is available. 101 102Added a dependency in the blkid library's .so file to the uuid 103library, since the former uses the latter. (Addresses Debian bug 104#194094) 105 106Added --with-diet-libc and --disable-evms to the configure script. 107 108Fixed a minor memory leak in the badblocks program. 109 110Fixed a portability problem in tune2fs --- not all systems have strptime(). 111 112Fixed a portability problem in debugfs with the use of getopt() more 113than once. Old-style BSD, new-style BSD, and Linux C libraries all do 114things differently. 115 116Add support Windows support to ext2fs_get_device_size(). 117 118Added (normally disabled) debugging code to the Unix I/O manager which 119causes it to disable all userspace caching if the NO_IO_CACHE is 120defined. 121 122Changed the test I/O manager so it can always be linked into e2fsck, 123mke2fs, and tune2fs if enabled via --enable-test-io-debug to the 124configure script. The test I/O manager will only print any debugging 125information if the TEST_IO_FLAGS or TEST_IO_BLOCK environment 126variables are set, which specifies which I/O operations are logged and 127a block number to watch, respectively. The log messages are sent to 128stderr by default, unless a filename is specified via the 129TEST_IO_LOGFILE environment variable. 130 131