RELEASE-NOTES:

Updated release notes for 1.20 release
README:
  Update for 1.20 release.
bitmap-optimize
Theodore Ts'o 2001-05-11 05:15:06 +00:00
parent 0cf43d8bab
commit 31d1d0c890
2 changed files with 165 additions and 7 deletions

2
README
View File

@ -1,4 +1,4 @@
This is the new version (1.19) of the second extended file
This is the new version (1.20) of the second extended file
system management programs.
From time to time, I release new versions of e2fsprogs, to fix

View File

@ -1,22 +1,85 @@
E2fsprogs 1.20 (August 20, 2000 --- WORK IN PROGRESS)
=====================================================
E2fsprogs 1.20 (May 10, 2001)
=============================
Add support for replaying the ext3 journal purely in user mode. Used
code contributed by Andreas Dilger, with bug fixes by Theodore Ts'o.
Add support for replaying the ext3 journal purely in user mode,
including handling the orphaned inode list. Used code contributed by
Andreas Dilger, with bug fixes and the orphaned inode handling done
by Theodore Ts'o.
The mke2fs and tune2fs programs can create or modify a filesystem to
include an ext3 journal. Tune2fs also can be used to remove an ext3
journal from a filesystem.
E2fsck will now check for the existence of a linked list of orphan
inodes in the superblock, and clear those inodes before starting the
rest of the filesystem check (but after the journal playback).
E2fsck now validates the file descriptor passed to the -C option,
which saves against the completion bar getting written to an
unexpected location, such as the disk being checked. (Debian
bug/wishlist #55220)
E2fsck will now bump the filesystem revision number from zero to one
if any of the compatibility bits are set.
Fixed a bug where a badly corrupted directory on a big endian system
could cause e2fsck to die with a bus error. The
ext2fs_read_dir_block() and ext2fs_process_dir_block() functions in
the ext2 library now does alignment sanity checks on the rec_len field
of the directory entry before using it.
The ext2 library has been enhanced to make tune2fs safe to run on
mounted filesystems. (Users could usually get away with using tune2fs
on mounted filesystems before, but with the advent of ext3 and
journaling, it became important to make tune2fs was *really* safe for
use even when the filesystem being modified is mounted.) E2label is
now implemented by tune2fs using an argv[0] dispatch, so that e2label
is also now safe for use on mounted filesystems.
Added a new program, e2image, which creates a backup of critical ext2
filesystem data structures. The generated image file can be examined
using dumpe2fs and debugfs. In the future, e2fsck will be able to use
the image file to help recover very badly damaged filesystems.
Fixed a number of LFS bugs in e2fsck; very, very large (> 2**42) files
no longer cause e2fsck to bomb out. Also treat files > 2GB as being
large file when deciding whether or not the filesystem has large files.
Fixed lsattr and chattr so that they work correctly on large files.
(Fixes Debian bug #72690.)
Removed limitation in get_device_size() which imposed a one terrabyte
filesystem limitation. (Most 2.2 kernels still have a signed int
problem which cause 1 TB block device limitation. Fortunately, the
kernel patches to fix this are much easier than fixing the 2TB
limitation in the kernel. :-)
A max_mount_count of zero is now treated as if no mount count were
set. (Previously, no mount count was indicated by using -1, and a
mount count of zero caused e2fsck to always be run.)
Mke2fs supports two new filesystem types largefile and largefile64.
Mke2fs now adds some randomness in s_max_mount_count so that multiple
filesystems won't be all checked at the same time under normal
operations.
Fixed bug in the progress bar printing code which could cause e2fsck
to core dump on an illegal filesystem.
Fixed bug in fsck which could allow more than one instance of e2fsck
to be printing a progress bar. (Debian bug #65267)
Fsck using a UUID or a LABEL specifier will work even if devfs is
compiled into the kernel and not mounted. If the pathnames in
/proc/partitions are incorrect, fsck will search /dev for the correct
device (using the new ext2fs_find_block_device library function).
Fsck now also checks the RAID devices first so that they are properly
found when they are in use.
found when they are in use. Support has also been added to support
additional IDE disks and the DAC 960 device names. (Debian bug #94159)
Fixed a bug in fsck which caused it not deal properly with 16
byte long filesystem labels.
The dumpe2fs program can now print out the group description
information in hex, and also prints the location of the superblock and
@ -36,6 +99,27 @@ complete, and it avoids a bit of code duplication.
Added a new debugfs command, set_super_value (ssv) which allows the
user to set arbitrary superblock fields.
Debugfs was extended to support inode numbers in hex (by prefixing
them with 0x), and so that modify_inode can set the inode generation
number. Also, there is now a new function command called logdump
which will dump an ext3 journal.
Fixed a bug in debugfs so that quitting out of the pager doesn't kill
debugfs.
Debugfs's dump command now stops immediately upon reporting a disk
read error. (Fixed a bug in ext2fs_file_read library routine which
caused debugfs not to stop.) (Debian bug #79163)
On systems with /proc/mounts (mainly Linux systems), /proc/mounts is
checked before /etc/mtab is used, since /proc/mounts is more likely to
be accurate.
Added portability fixes for Solaris and Linux/ia64.
Various manual pages were clarified and cleaned up. (Fixed debian
bugs #63442, #67446, and #87216)
Programmer's notes:
-------------------
@ -43,14 +127,76 @@ Programmer's notes:
The e2fsck message printer now supports %Iu and %Ig, which will print
out the inode's user and group owners, respectively.
E2fsprogs now includes its own version of include/linux/ext2_fs.h, so
that no longer dependent on the system having the correct version of
the kernel header files.
Added a new function to libext2, ext2fs_find_block_device(), which
searches the system (i.e., /dev, /devfs, /devices) for a pathname to a
device given its device number.
Added a new function to libext2, ext2fs_sync_device, which centralizes
all of the places which might try to use the BLKFLSBUF or FDFLUSH
ioctls (and usually failing to define them since the system header
files don't usually do this for us, and we're trying to avoid usage of
kernel include files now).
Added new utility programs in tests/progs: random_exercise and
hold_inode. They aren't built by default; they're useful for
exercising ext3 filesystem code.
Added a new ext2 filesystem flag, EXT2_FLAG_SUPER_ONLY, which causes
the filesystem close functions to only update the superblock, and to
not touch the block group descriptors. Needed by tune2fs when
modifying a mounted filesystem.
Got rid of struct ext2fs_sb and replaced it with the standard struct
ext2_super_block from include/linux/ext2_fs.h. Note: this may break
source (but not binary) compatibility of some users of the ext2
library. Those applications should just simply do a global search and
replace of struct ext2fs_sb with struct ext2_super_block, and use
their own private copy of ext2_fs.h if they aren't already.
The ino_t type has been renamed ext2_ino_t to protect applications
that attempt to compile -D_FILE_OFFSET_BITS=64, since this
inexplicably changes ino_t(!?). So we use ext2_ino_t to avoid an
unexpected ABI change.
The Makefiles have been reworked so that "make check" can be run from
the top-level Makefile.
Fix general gcc -Wall complaints and removed dead code.
Remove use of NOARGS, because we assume everyone does ANSI C these
days.
Added build-rpm script from sct.
New functions ext2fs_image_{inode,super,bitmap}_{read,write} added
to support e2image.
New function ext2fs_flush_icache which must be called if the
application program modifies the inode table blocks without going
through ext2fs_write_inode() interface.
New ext2fs_check_mount_point() function, which will return the mount
point of a device if mounted.
The io_channel abstraction now has an optional interface,
io_channel_write_range, which allows specific byte ranges to be
written.
The unix_io IO channel now supports write-through caching, so that
journal creation is more efficient.
Added x86 assembly language routines to support byte swapping, to
reduce executable size.
Fixed bug in the utility program subst so that it's possible to
replace a substitution variable with a zero-length string.
Fixed numbering e2fsck pass1 problem numbers; an extra zero had
slipped into some of the problem number.
E2fsprogs 1.19 (July 13, 2000)
==============================
@ -108,6 +254,15 @@ bitmap copy in pass5.
E2fsck now properly prints control characters in filenames as ^A .. ^Z.
E2fsck now calculates the correct location of the backup superblock in
the case of filesystem blocksizes > 1k.
Fixed a bug in e2fsck's calculation of the number of inodes_per_block
which normally didn't cause problems under most filesystem parameters,
but could cause a valid superblock to be rejected in extreme cases.
Other checks for validating superblock values were made more
stringent.
Added non-destructive write testing to the badblocks program, courtesy
of David Beattie. The badblocks also now has an option to input the
current set of bad blocks, so that known bad blocks are skipped to
@ -209,7 +364,10 @@ Cleaned up makefiles:
Fix test_script so that it works correctly when compiling in the
source directory.
Update libraries to build under a.out shared libraries (again).
The random UUID generation routine has been made slightly better in
the case where /dev/random doesn't exist. (Use of randomly-based UUID
is still not recommended if /dev/random doesn't exist, however; it's
better to use the time/ethernet MAC address UUID in this case.)
Clean up the build process so it's more friendly in case of missing
directories.