diff options
author | Theodore Ts'o <tytso@mit.edu> | 2007-07-07 22:25:07 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-07-08 08:50:41 -0400 |
commit | 424a3e4a2367f582edeb062ab12f3f95fdf9e31b (patch) | |
tree | b64af4dab7297fdea607e3225640a94ce40b9fc0 | |
parent | 714da4515e716a35edf602d0ea8dcd072ad9e0d8 (diff) | |
download | e2fsprogs-424a3e4a2367f582edeb062ab12f3f95fdf9e31b.tar.gz |
Remove Changelog files since they're not used after the git migration
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r-- | .fix-Changelog | 13 | ||||
-rw-r--r-- | .head-Changelog | 9 | ||||
-rw-r--r-- | .release-checklist | 8 | ||||
-rw-r--r-- | ChangeLog | 1132 | ||||
-rw-r--r-- | contrib/ChangeLog | 97 | ||||
-rw-r--r-- | debugfs/ChangeLog | 1207 | ||||
-rw-r--r-- | doc/ChangeLog | 198 | ||||
-rw-r--r-- | e2fsck/ChangeLog | 4280 | ||||
-rw-r--r-- | ext2ed/ChangeLog | 131 | ||||
-rw-r--r-- | ext2ed/doc/ChangeLog | 52 | ||||
-rw-r--r-- | include/nonunix/ChangeLog | 99 | ||||
-rw-r--r-- | install-utils/ChangeLog | 170 | ||||
-rw-r--r-- | intl/ChangeLog | 114 | ||||
-rw-r--r-- | lib/ChangeLog | 306 | ||||
-rw-r--r-- | lib/blkid/ChangeLog | 693 | ||||
-rw-r--r-- | lib/e2p/ChangeLog | 719 | ||||
-rw-r--r-- | lib/et/ChangeLog | 459 | ||||
-rw-r--r-- | lib/ext2fs/ChangeLog | 3775 | ||||
-rw-r--r-- | lib/ss/ChangeLog | 490 | ||||
-rw-r--r-- | lib/uuid/ChangeLog | 581 | ||||
-rw-r--r-- | misc/ChangeLog | 3417 | ||||
-rw-r--r-- | po/ChangeLog | 227 | ||||
-rw-r--r-- | resize/ChangeLog | 702 | ||||
-rw-r--r-- | tests/ChangeLog | 851 | ||||
-rw-r--r-- | tests/progs/ChangeLog | 228 | ||||
-rw-r--r-- | util/ChangeLog | 272 |
26 files changed, 3 insertions, 20227 deletions
diff --git a/.fix-Changelog b/.fix-Changelog deleted file mode 100644 index 4bcb827a..00000000 --- a/.fix-Changelog +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -FILES=`find . -name ChangeLog -print` - -header=/tmp/revheader - -for i in $FILES -do - echo $i - bk edit $i - cat $header $i > $i.new - mv $i.new $i -done diff --git a/.head-Changelog b/.head-Changelog deleted file mode 100644 index d62d0a2e..00000000 --- a/.head-Changelog +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -for i in `find . -name ChangeLog -print` -do - echo "==========================================" - echo $i - sed -n '1,/Release/p' $i -done - diff --git a/.release-checklist b/.release-checklist index 870aa2d6..14e2b3e4 100644 --- a/.release-checklist +++ b/.release-checklist @@ -2,7 +2,7 @@ 2) "make check"!!! -3) Use ./.head-Changelog to assemble release notes. +3) Use "git log" to assemble release notes. 4) Update files which contain version information version.h @@ -11,9 +11,7 @@ e2fsprogs.lsm doc/libext2fs.texinfo (three places) -5) Update ChangeLog files using ./.fix-ChangeLogs +5) Make source distribution -6) Make source distribution - -7) Adjust sizes in e2fsprogs-VER.lsm; rebuild source files; rebuild RPM files +6) Adjust sizes in e2fsprogs-VER.lsm; rebuild source files; rebuild RPM files diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 4767882a..00000000 --- a/ChangeLog +++ /dev/null @@ -1,1132 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-23 Theodore Tso <tytso@mit.edu> - - * COPYING: Clarify copyright licenses used by the various - libraries in e2fsprogs. - -2007-05-22 Theodore Tso <tytso@mit.edu> - - * Makefile.in (rpm): Add production rule for e2fsprogs.spec, in - case it gets deleted. - -2007-04-04 Theodore Tso <tytso@mit.edu> - - * configure, configure.in: Add checks for mmap(), utime(), and - strdup(), as well as sys/mman.h and utime.h. - -2006-11-14 Theodore Tso <tytso@mit.edu> - - * MCONFIG.in (WFLAGS): Add -fstrict-aliasing and - -Wno-variadic-macros. Also use -std=c99 and - -D_XOPEN_SOURCE=600 and -D_GNU_SOURCE to suppress - spurious warnings. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * configure, configure.in (E2FSPROGS_PKGVER): Define - E2FSPROGS_PKGVER so e2fsprogs.spec can have an appropriate - version number for WIP releases. - - * e2fsprogs.spec.in: Update/fix spec file so it will work on RHEL 4. - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * configure, configure.in: Add test for jrand48() - - * MCONFIG.in: Add datarootdir definition for compatibility with - autoconf 2.60. - -2006-10-21 Theodore Tso <tytso@mit.edu> - - * configure, configure.in: Fix -lpthread ordering so that it - doesn't break on amd64. (Addresses Debian bug: #393680) - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * configure, configure.in: Include -lpthread if building with - devmapper support, since the latest devmapper library uses - -lpthread. (Addresses Debian bug: #388718) - - * MCONFIG.in: Define DEPLIBBLKID, DEPSTATIC_LIBBLKID, and - DEPPROFILED_LIBBLKID. - -2006-09-12 Theodore Tso <tytso@mit.edu> - - * e2fsprogs.spec.in (Group): Use License tag instead of Copyright, - and specify GPLv2 - -2006-09-11 Theodore Tso <tytso@mit.edu> - - * e2fsprogs.spec.in: Remove duplicate entry in the .spec file - -2006-08-06 Theodore Tso <tytso@mit.edu> - - * configure.in: Add test to see if diff supports the -u option - -2006-04-09 Theodore Ts'o <tytso@mit.edu> - - * config/config.guess, config/config.sub: Update to newer versions - from FSF (2006-02-23) - - * configure.in, Makefile.in, config/parse-types.sh: Make the - ext2_types.h.in and blkid_types.h.in from config.sys, - instead of using the subst program. Create the - asm_types.h file from the system's - /usr/include/asm/types.h header file. - -2006-03-23 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in (mandir): Define $(man5dir) - -2005-10-26 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in, configure.in: Use BUILD_CCFLAGS and BUILD_LDFLAGS - instead of CCFLAGS and LDFLAGS when to avoid potential - problems when cross-compiling some of the options are not - recognized as valid by the host compiler. (Addresses - Sourceforge Bug #1261547) - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-31 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add tests for __secure_getenv(), prctl(), - and sys/prctl.h - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Make util/gen-tarball executable after it is created. - -2005-02-04 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Remove support for --enable-clear-htree; this was - only needed during the early development of the htree patch. - - * configure.in, MCONFIG.in: Add support for --enable-maintainer-mode; - only rebuild configure from configure.in if it is enabled. - -2005-02-03 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Remove support for the (very old) sparc old-bitops - configure option. - -2005-01-19 Matthias Andree <matthias.andree@gmx.de> - - * configure.in: Clean up checks for dirent.d_reclen, ssize_t, - llseek, lseek64, sockaddr.sa_len and make the lseek checks - immune to compiler warnings, so that they can be compiled - with Intel C++ 8.1. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Make configure.in script check for prerequisite - headers when checking for the presence of sys/disk.h, - sys/mount.h, and net/if.h, to improve the configure script - on Solaris and *BSD systems. - -2005-01-17 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Use AC_PROG_AWK instead of AC_PATH_PROG so that we - use nawk in preference to awk for Solaris systems. Use - AC_PROG_EGREP because Solaris doesn't support "grep -E". - -2005-01-09 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Use AC_CHECK_TYPES instead of the autoconf 2.13 - "broken by design" AC_CHECK_TYPE to look for intptr_t. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add install-strip and install-shlibs-strip targets - - * MCONFIG.in: Add configure-defined variables for MKINSTALLDIRS - and INSTALL_SCRIPT. Filter out comments inserted by newer - versions of gcc when using -M in make depend. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Delete autom4te.cache, e2fsprogs.spec, - ext2ed/Makefile, and po/stamp-po on make distclean - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - - * MCONFIG.in: Add definition for ARGEN - -2004-09-18 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add --disable-e2initrd-helper flag to control - whether or not e2initrd_helper program should be - built/installed. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - - * config.guess, config.sub: Update to newer version from the FSF - (2004-06-11) - - * configure.in, configure: Add test for the sys/queue.h header file. - -2004-05-04 Theodore Ts'o <tytso@mit.edu> - - * e2fsprogs.spec.in: Fix up e2fsprogs.spec file so it should work - on a RH 9.0 system. Based off of changes proposed by - Andreas Dilger. - - * configure.in, configure: Enable the fsck wrapper for the Debian - FreeBSD kernel / GNU userspace port. (Addresses Debian - Bug #246738) - - * config.guess, config.sub: Update to newer version from the FSF - (2004-01-05) - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in (SUBSTITUTE_UPTIME): New definition which passes the - -t option to subst. - - * configure.in: Add test for stdint.h - -2004-03-19 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add tests for sa_len in struct sockaddr and test - for net/if_dl.h for better Darwin support. - -2004-03-04 Theodore Ts'o <tytso@mit.edu> - - * e2fsprogs.spec.in: Mostly synchronize spec file with the one - found in Fedora core 2. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-21 Matthias Andree <matthias.andree@gmx.de> - - * configure.in: Add -mieee to CFLAGS if we're using GCC and the CPU is - an Alpha. - -2003-12-25 Theodore Ts'o <tytso@mit.edu> - - * e2fsprogs.spec.in: Add filefrag program to the RPM spec file. - -2003-11-26 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in: Make the gcc-wall print more warnings to catch - signed vs. unsigned problems. - -2003-08-01 Philipp Thomas <pthomas@suse.de> - - * configure.in: Add tests for inttypes.h and intptr_t. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-12 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add tests for posix_memalign, memalign, and valloc. - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in (WFLAGS): Add additional warning checks. Remove - --traditional since newer versions of gcc are overly annoying. - -2003-07-05 Theodore Ts'o <tytso@mit.edu> - - * Add workaround for Libintl / Darwin incompatibility. Apparently - Darwin's gcc doesn't like the __asm__ statements used by - libintl to redirect the system-provided gettext calls. - -2003-06-08 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Adjust defaults for FreeBSD to no longer build the - fsck wrapper, and to not install into /usr/local by - default. (Addresses Debian bug #195274) - -2003-05-17 Theodore Tso <tytso@thunk.org> - - * MCONFIG.in, configure.in: Only put the intl directory in the -I - search path if we are using --with-internal-gettext. - Otherwise causes compatibility problems with the woody - glibc. (Addresses Debian bug #193372) - -2003-05-13 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Fix typo in help message for --enable-evms-11 - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Add --enable-testio-debug configure option. - - * configure.in, configure, Makefile.in: Add --with-diet-libc - convenience option. Add --disable-evms option. - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Install the message catalog files - - * ABOUT-NLS, MCONFIG.in, Makefile.in, aclocal.m4, configure, - configure.in: Update to using version 0.11.5 of the - gettext library. We now enable NLS by default. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-18 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Remove CYGWIN definition; we will use the - automatically defined __CYGWIN__ instead. - -2003-03-22 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add E2FSPROGS_DAY expansion. Add - e2fsprogs.spec and util/gen-tarball to the list of files - generated by config.status - - * e2fsprogs.spec: Now generated from e2fsprogs.spec.in - - * Makefile.in: Remove tarball generation functions; moved to - util/gen-tarball. - -2003-03-17 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Fix the Apple Darwin port. - -2003-03-16 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Check to see if libdl exists for the sake of dlopen - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add support for Apple/Darwin shared libraries. - -2003-03-06 Theodore Tso <tytso@thunk.org> - - * Makefile.in (.exclude-subset): Include the doc directory in the - subset distribution. - -2003-03-02 Theodore Ts'o <tytso@mit.edu> - - * configure.in, Makefile.in: Ignore missing directories so we can - do a subset distribution. If there are no e2fsprogs - applications, then "make install" will install the - library's development files. "make subset_tar_file" will - create a subset distribution which consists of the - et, ss, uuid, and blkid libraries. - -2003-02-22 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Add new configure option - --enable-blkid-debug - -2003-01-23 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in, configure, configure.in: Integrate new blkid library. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Change --enable-jfs-debug to - --enable-jbd-debug for consistency's sake. - - * configure.in, configure: Add new substitution variable, - SWAPFS_CMT, which is '' if swapfs has been enabled, and - '#' if it has been disabled. - - * configure.in, configure: Add support for EVMS ABI 1.2. - Changed configure option from --enable-old-evms - to --enable-evms-10 and --enable-evms-11 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * MCONFIG.in (COMPRESS_EXT): Declare all compression extensions - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-18 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Add new substitution variable, - LINUX_CMT, which is '' on Linux systems, and '#' on - non-Linux systems. Enable HTREE support by default. - - * Makefile.in: On Linux systems, build lib/evms. - -2002-07-14 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Remove test for the presence (or - absence of d_namlen in the struct dirent) and replace it - with a check for pathconf(). lib/e2p/iod.c now uses a - different technique for providing struct dirent - compatibility. - -2002-06-25 Theodore Ts'o <tytso@mit.edu> - - * configure.in, configure: Add --enable-htree and --enable-clear-htree - -2002-05-24 Theodore Ts'o <tytso@mit.edu> - - * configure.in: Add makefile for lib/evms for the EVMS FSIM - plugin. Add --enable-old-evms configure option which uses - the EVMS 1.0.0 ABI, instead of the ABI used by EVMS 1.1.0. - -2002-05-21 Theodore Ts'o <tytso@mit.edu> - - * configure.in: On Linux systems, if the prefix is defaulted to - /usr, then default mandir to /usr/share/man - -2002-05-17 Theodore Ts'o <tytso@mit.edu> - - * Remove check for asm/page.h, and add check for sysconf() - -2002-05-16 Andreas Dilger <adilger@clusterfs.com> - - * Add check for asm/page.h - -2002-05-11 Theodore Tso <tytso@mit.edu> - - * configure.in, MCONFIG.in: Add new makefile variables, $datadir - and $root_sysconfdir, which are normally /usr/share and - /etc, respectively, on Linux systems. Also changed - root_bindir, root_sbindir, and root_libdir so that their - value is set by the configure script. This allows the - right thing to happen on non-Linux systems when bindir, - et. al. are manually set via the configure script's - --bindir switch. Add ext2ed/Makefile.in as a generated - file by the configure script. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-12-24 Theodore Tso <tytso@valinux.com> - - * MCONFIG.in (ALL_CFLAGS): No longer put $(top_srcdir)/include in - the -I search path, since we don't have any header files - there any more. - -2001-12-16 Theodore Tso <tytso@valinux.com> - - * configure.in: If journal debugging is enabled, define - CONFIG_JBD_DEBUG instead of JFS_DEBUG. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-27 Theodore Tso <tytso@valinux.com> - - * configure.in: Check for the presence of strnlen. Stop checking - for strdup, since we don't actually care about that symbol - any more. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-04 Andreas Dilger <root@lynx.adilger.int> - - * Makefile.in: Add "*.orig" to "make clean" target, change - explicit listing of ext2_types.h in "make distclean" to - $(SUBS). Add $(SUBS) as a dependency to "make check" - target. Add $(SUBS) as a dependency to "make check" - target. Add -f flag to doc/Makefile $(RM) of files which - may not exist. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-22 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Avoid including BitKeeper files into the source - tarball. - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-13 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Make the install target depend on $(SUBS) to - accomodate the fools who want to compile and install - e2fsprogs as root using just one command. - - * Makefile.in: Don't recurse into debugfs and resize subdirectory - if --disable-debugfs or --disable-resizer is given as a - configuration option. - - * configure.in: Add --disable-resizer, --disable-imager, and - --disable-debugfs switches, which allow people who are - building boot floppies to build a very restricted - e2fsprogs distribution. Note: these functions limit the - functions in the shared library, so beware! - -2001-06-11 Theodore Tso <tytso@valinux.com> - - * configure.in: Add new switch, --disable-swapfs which disables - support of byte-swapping old filesystems. Add new test, - AC_C_BIGENDIAN, which sets WORDS_BIGENDIAN on big-endian - machines. Change handling of --with-ccopts so that if - set, the default CFLAGS is suppressed. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * wordwrap.pl: Add some rules which help fix up the dependencies. - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Only exclude the top-level TODO file, not over the - entire tree. - -2001-05-19 Theodore Tso <tytso@valinux.com> - - * configure.in, MCONFIG.in (LDCONFIG): Use AC_PATH_PROG to find - the pathname for ldconfig. - -2001-05-05 Theodore Tso <tytso@valinux.com> - - * config.guess, config.sub: Update to use latest version from FSF - (2001-04-20) - -2001-01-11 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in (PROG_SUBDIRS): Build lib/e2p before lib/ext2fs - since libext2fs depends on libe2p. - -2001-01-11 <tytso@snap.thunk.org> - - * MCONFIG.in: Change --enable-gcc-wall handling so that it's no - longer a configure option, but something which is done - when the developer uses the command "make gcc-wall". - (gcc-wall-new): Added new target which forgoes the make - clean so we only check the newly modified .c files. - - * configure.in: Remove test for ino_t, since we don't use it any - more (we always use our own ext2_ino_t). Remove - --enable-gcc-wall support. Add test for sys/ioctl.h - -2001-01-05 <tytso@snap.thunk.org> - - * configure.in: Add checks for the header files sys/mkdev.h and - sys/sysmacros.h. - -2000-12-08 <tytso@snap.thunk.org> - - * MCONFIG.in, Makefile.in: Fix so that top-level "make check" - works correctly. - -2000-10-24 <tytso@snap.thunk.org> - - * e2fsprogs.spec: Update spec file for Red Hat 7.0 compatibility - - * configure.in: When compiling shared libraries for Solaris, use a - special-case Makefile fragment to deal with it. - -2000-08-18 <tytso@valinux.com> - - * configure.in (JFS_DEBUG): Add support for --enable-jfs-debug - -2000-08-14 <tytso@valinux.com> - - * e2fsprogs.spec (Summary): Add description of resize2fs to the - package summary. - - * configure.in: Add test for sys/mount.h (required for e2fsck's - ext3 recovery code) - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-13 <tytso@snap.thunk.org> - - * e2fsprogs.spec: Merge in a few changes from the Red Hat 6.2 spec - file, now that we're using a modern rpm to build - e2fsprogs. Also updated version number to 1.19. - -2000-07-07 Theodore Ts'o <tytso@valinux.com> - - * e2fsprogs.spec (%post): Remove resize2fs from its old location - in /usr/sbin in the postinstall script. - -2000-07-05 <tytso@snap.thunk.org> - - * config.guess, config.sub: Update to use latest version from FSF - (2000-06-13) - -2000-05-25 <tytso@snap.thunk.org> - - * Makefile.in: Fix makefile so that it's safe to build in parallel. - - * configure.in: Add test for lseek64 and open64. - -2000-05-25 Theodore Ts'o <tytso@valinux.com> - - * configure.in (DO_SUBSTITUTE_SCRIPT): Remove unneeded - substitution. (Left over from before we moved to use a C - program to do substitutions.) - -2000-05-18 Theodore Ts'o <tytso@valinux.com> - - * e2fsprogs.spec (fsck.ext3): Add /sbin/fsck.ext3 to the spec file. - -2000-04-06 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in (source_tar_file): Remove the resize directory from - the list of excluded files. - - * version.h: Update version header for an WIP release. - - * e2fsprogs.spec: Updated for 1.19 release; added resize2fs. - -Thu Apr 6 17:43:11 2000 Theodore Y. Ts'o <tytso@signal.thunk.org> - - * configure.in (fdatasync): Add test for fdatasync(), since not - all OS's have this function. - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Remove uneeded parenthesis around shell pipelines - containing a "cd" command. Use && instead of ; so that if - the "cd" fails, the makefile stops. - - * MCONFIG.in (CPPFLAGS): Add define of CPPFLAGS from @CPPFLAGS@. - Remove uneeded parenthesis around shell pipelines - containing a "cd" command. - -2000-02-11 <tytso@snap.thunk.org> - - * Makefile.in: Exclude the internationalization files from being - distributed. - - * configure.in: Add support for --enable-compression. This is - experimental code only for now, which is why it's under - --enable test. Once it's stable, it will always be - compiled in. - -2000-02-11 Theodore Ts'o <tytso@valinux.com> - - * configure.in: Define HAVE_EXT2_IOCTLS based solely on the OS - type, instead of basising on whether a test program - compiles. This was screwing up on some Linux kernel - header files, and we know the Hurd doesn't support the - ext2 ioctls anyway. - -2000-02-08 Theodore Ts'o <tytso@valinux.com> - - * configure.in, aclocal.m4: Add support for GNU gettext - internationalization support. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * MCONFIG.in: Always include src/include in the include path now. - This forces us to use our internally provided ext2_fs.h - file, for sanity's sake. - - * configure.in: If linux/fs.h isn't found, then add - build/include into the include path only, since - src/include is now always included. Removed define of - HAVE_LINUX_FS_H, since we're not using it any more. - Removed i_version vs. i_generation check, since with the - included header file it is a permanently known quantity. - Removed AC_C_CROSS since it has been merged into - AC_PROG_CC in autoconf 2.13. - -2000-01-18 Theodore Ts'o <tytso@valinux.com> - - * MCONFIG.in (DEPLIBUUID): Since LIBUUID can sometimes include - "-lsocket" we need a separate DEPLIBUUID that can be used - in Makefile's dependency rules. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. Also, when making the .exclude file - for the source_tar_file, exclude those two files as well. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * configure.in: Move the code that checks for the presence of - Linux header files, to earlier in the config file, since - it adds a directory to the include path, and that needs to - happen before any compile tests are run. Add termios.h to - the headers which are checked. - -1999-10-25 <tytso@valinux.com> - - * configure.in: Capitalized Hurd to make the GNU folks happy. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-09-24 <tytso@valinux.com> - - * configure.in (HAVE_STATE_FLAGS): Check to see if st_flags is - actually useful (since glibc 2.1 declares it on Alpha - without it being usable). Add check for signal.h - header file, which doesn't exist on non-unix platforms. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-07-03 <tytso@valinux.com> - - * depfix.sed: Remove all line continuations from the dependencies; - the word wrapping is now done by wordwrap.pl. - - * MCONFIG.in (BUILD_CC): - * configure.in (BUILD_CC): If cross compiling, find the native C - compiler and set it to BUILD_CC so that we can - successfully build util/subst. Change default long long - size when cross compiling to be 8 (instead of 0). Also - change the Hurd's defaults so that root files are placed - in / instead of /usr/local. - - * Makefile.in (depend): Make "make depend" at the top-level - automatically recurse through all subdirectories. - - * configure.in: Test for perl since it's needed by wordwrap.pl - - * MCONFIG.in (depend): Fix make-depend so that it the dependencies - are automatically word-wrapped. Added the makefile macro - $(PERL). - - * wordwrap.pl: New file which does the word wrapping. - - * MCONFIG.in (subst): Add rule to build the util/subst program if - necessary (by cd'ing to $(top_builddir)/util and making it.) - -1999-06-23 <tytso@valinux.com> - - * configure.in: Check for the presence of i_generation field - versus i_version in the ext2_inode to support compiling - e2fsprogs in Linux 2.3. - -1999-04-17 <tytso@rsts-11.mit.edu> - - * MCONFIG.in: Define man1dir, man3dir, and man8dir in terms of - mandir. - -1999-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * config.sub: Update config.sub from autoconf 2.13 so that it will - recognize new machine types from the Alpha. - -1999-03-16 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add check for malloc.h and mallinfo(). - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in (YEAR): Allow a 4-digit year for the version date, - so we can be Y2K politically correct. (The date isn't - used for anything except display purposes, but it should - make people more comfortable to not use a 2-digit date, - even though it doesn't matter.) - -Mon Jan 4 02:36:23 1999 Theodore Y. Ts'o <tytso@mit.edu> - - * Makefile.in: Move the generated types.h file from the linux/ - directory to the asm/ directory. - - * configure.in: Force Solaris to never use -static, due to its - dynamic loader not being available to statically linked - programs. Create the asm/ directory if needed. - -1999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * INSTALL.elfbin (NOTE): Add a warning that the ELF binaries - assume glibc. - - * config.guess: Update with a newer version from the FSF (although - I've removed rms's pathetic LINUX/GNU name kludgery) - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add paths.h to header files for which we search. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -Wed Apr 8 02:03:48 1998 Theodore Y. Ts'o <tytso@mit.edu> - - * Fix missing "test" invokation in configure.in test. (Only - affected default non-Linux builds). - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Change how the installation directions are - selected. Previously, we had prefix and usr_prefix, where - prefix was '' and usr_prefix was /usr, and we then defined - bindir, ubindir, libdir, ulibdir, etc. in terms of that. - In autoconf 2.12, it's possible to override bindir, - libdir, etc., and so in order to make our installation - directory makefile variables more in line with autoconf - 2.12, I've changed all of the various makefiles to use - prefix and root_prefix, where the default Linux - definitions are /usr and '', respectively. What used to - be bindir is now root_bindir, and what used to be ubindir, - is now bindir. - - * MCONFIG.in: Change directories to match with new installation - directory convention (see above). Add Makefile - dependencies for makefile fragments, and define - DEP_LIB_MAKEFILES which library makefiles can use to - define DEP_MAKEFILES, so that the library makefiles will - get regenerated when the makefile fragments change. - Remove the cat?dir variables, since we aren't creating - those directories any more. - - * Makefile.in: Add top-level uninstall targets. - - * e2fsprogs-1.12.spec: Add to the RPM package the e2label man - page, and to reflect that fact that we now compile_et and - mk_cmds for the development package. - -1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Use && after a cd command so that the right thing - happens if the directory is missing. Don't compile man - pages upon installation any more, since modern Linux - systems don't have /usr/man/cat? anymore (they - typically cache man pages in /var/catman and delete them - if they haven't been used in a while, to save on disk - space, and because CPU's are fast enough these days that - you can get away with this). - - * MCONFIG.in: Add a new makefile variable for the share - directory (i.e., /usr/share). Make an autoconf magic - make rule so that $(top_builddir)/util/subst.conf gets - rebuilt automatically when necessary. - -Mon Jan 19 10:01:39 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsprogs-1.12.spec: Update spec file in preparation for 1.12 - release. - -Tue Nov 25 15:56:29 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Remove @EXTRA_PROGS@, since we aren't using it in - e2fsck/Makefile.in. - -Tue Nov 4 10:46:18 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add check for setjmp.h - -Mon Oct 20 19:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in (HAVE_LLSEEK_PROTOTYPE): Added check to see if - llseek is declared in unistd.h - -Sun Oct 19 19:09:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add tests for sys/stat.h, sys/time.h, and sys/types.h - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Sat Jun 14 03:26:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (SRCROOT): Allow people to set the version.h to - something like 1.10-PLUS. - -Sat Jun 7 16:38:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in (rmakefile): Added (optional) private directory for - resize2fs. - - * Makefile.in: Change recursive descent rules to check to see if a - directory exists before trying to make it. - -Thu May 8 22:23:49 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (source_tar_file): Fix up makefile to work in new - CVS development environment. - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Tue Apr 22 10:48:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add explicit check to see if linker accepts - -static (since even Linux systems might not work if - libc.a isn't installed). - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Wed Jan 15 11:37:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * config.sub (basic_machine): Added i686-* as another name for the - Pentium Pro. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Mon Oct 7 08:22:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (all): Don't run "make check" by default. User - should manually run "make check" if they wish to test - things out. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Sat Aug 31 10:55:45 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in (AC_CHECK_FUNCS): Add fchown to list of functions - that we check. - -Wed Aug 28 14:42:12 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * configure.in (usr_prefix): To be slightly more conformant with - the coding standards, always default to ${prefix} - unless on a linux system with prefix = ''. Allow - --with-usr-prefix option. - -Tue Aug 27 16:53:29 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * configure.in (AC_CHECK_HEADERS): Add net/if.h & netinet/in.h. - Add `--enable-fsck' switch, to allow configuration of - fsck wrapper building (default yes except on the hurd). - Make '' prefix default and LDFLAG_STATIC hacks work on - the hurd as well as linux. - -Tue Aug 27 16:23:56 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Check to see if sys/types.h defines ino_t. Add - support for checking/sizing "long long". - -Wed Aug 21 00:44:22 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Added configure flag --enable-old-bitops, which - forces the bitops to use the standard bitmask operations. - -Fri Aug 9 08:29:00 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Check for existence of sys/utsname.h and - strcasecmp(). Remove check for EXT2 fragment in system - header file. E2fsprogs now deals with the fragment fields - by dispatching off of the OS field. - -Tue Aug 6 14:34:19 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in (AC_OUPUT): Create substitutions for the uuid - library. - - * MCONFIG.in (all): Add new variables for the uuid library. - -Thu May 23 12:39:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Make the default prefix be '' for Linux. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Thu May 16 09:38:40 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: - MCONFIG.in: Man pages, shell scripts and include files are now - generated using the lib/substitute_sh script. This is - faster than the configure substitution, and it doesn't - change the mod time of the file if it hasn't changed, - which prevents needless compilation of files. - - Define new sets of Makefile variables: LIBSS, LIBCOM_ERR, - LIBEXT2FS, LIBE2P, and their static and profiled variants, - STATIC_* and PROFILED_*, which point to the actual file of - the shared or static library. This way makefiles can link - directly with exactly the library they want. Many ld's - (include GNU ld) have a really broken idea of how -L - works, and will link against an older library in /usr/lib - even though there is a newer on in a specified -L directory. - -Wed May 15 21:40:22 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * configure.in: Add support for --enable-dynamic-e2fsck, for - people who don't want to link e2fsck statically. This - saves space, at the cost of increasing the reliance of - e2fsck other files (3-4 shared libraries). - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Thu Oct 26 11:59:44 1995 <tytso@rsts-11.mit.edu> - - * configure.in (LDFALG_STATIC): Add temporary kludge for - determining how to link executables statically. For now, - we assume that Linux systems only can link statically. - -Fri Sep 22 18:23:55 1995 <tytso@rsts-11.mit.edu> - - * depfix.sed: Remove /usr/include lines which occur at the end of - the dependency listing. - -Mon Sep 4 21:40:22 1995 Remy Card <card@bbj> - - * configure.in: Added support for the --enable-bsd-shlibs option. - -Wed Aug 9 21:33:31 1995 Theodore Y. Ts'o <tytso@dcl> - - * MCONFIG.in (LD): Add $(PURE) to the definition to make it easier - to link executables using programs like purify. - -Sat Aug 5 11:41:03 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * configure.in: Check to see if strdup() is present - - * INSTALL: Updated building and installation instructions to - reflect the new configure system. - - * Makefile.in (install): When doing a general install, install the - shared libraries as well by using the new target - install-shlibs-libs-recursive. - - * configure.in: If we are building on a Linux system, set $prefix - to be '/' by default. - -Sun Jul 9 13:38:20 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * configure.in (checking type sizes): provide some default for - type-sizes when cross-compiling, as we can't check them then. - (SS_DIR, ET_DIR): Make these correct even when ${srcdir} is absolute. - -Thu Jun 15 23:33:37 1995 Remy Card <card@bbj> - - * Makefile.in (distclean-local): Added config.cache and - include/linux/types.h. - - * configure.in: Added support for the --enable-elf option. - Added a test to check for llseek() in the C library. - - * lib/Makefile.dll-lib: Fixed incorrect RM and LN calls. - - * lib/Makefile.elf-lib: New file, to create ELF shared libraries. - -Sat Jun 10 19:52:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * configure.in: Create ET_DIR and SS_DIR, which gives the absolute - pathname to the source directories of the lib/et and - lib/ss. (Can't just use $srcdir since that may be a - relative path.) - -Thu Jun 8 12:25:57 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * lib/Makefile.library ($(LIBRARY).a): Changed to work with the - new makefiles. - * lib/Makefile.dll-lib: Ditto. - * lib/Makefile.profiled: Ditto. - * lib/Makefile.checker: Ditto. - - * Add the include subdirectory to hold substitute include files - for systems that need them. - - * Makefile.in: Rewritten to conform to GNU coding standards. - * MCONFIG: Moved to MCONFIG.in, and totally changed to support - GNU-style makefiles. - * mkinstalldirs: New file, copied from /gd/gnu/lib. - * config.guess: Ditto. - * config.sub: Ditto. - * install-sh: Ditto. - - * configure.in: Many new tests added. --with-cc and --with-ccopts - options removed as configure already supports a method to do this, - and they were interfering with normal usage. - -Sat Mar 11 18:23:45 1995 Theodore Y. Ts'o <tytso@localhost> - - * Makefile.in (bin-tree): Add Makefile target which automatically - generates the binary distribution for e2fsprogs. - - diff --git a/contrib/ChangeLog b/contrib/ChangeLog deleted file mode 100644 index e4308ffa..00000000 --- a/contrib/ChangeLog +++ /dev/null @@ -1,97 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * build-rpm: Ignore the quilt working directory, and clean up the - tmp directory afterwards. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-04-19 Andreas Dilger <adilger@clusterfs.com> - - * build-rpm: use rpmbuild if it is installed instead of rpm - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-01-02 <tytso@snap.thunk.org> - - * build-rpm: Shell script contributed by sct - diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog deleted file mode 100644 index 8b5371f2..00000000 --- a/debugfs/ChangeLog +++ /dev/null @@ -1,1207 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-05-22 Theodore Tso <tytso@mit.edu> - - * util.c: #define _XOPEN_SOURCE so we get strptime() prototype - - * htree.c (search_dir_block), ls.c (list_dir_proc), debugfs.c - (finish_range, dump_blocks, internal_dump_inode): Fix gcc - -Wall warnings on 64-bit systems. - - * debugfs.c (internal_dump_inode_extra): Mark prefix and inode_num - parameters as unused. - -2007-05-08 Theodore Tso <tytso@mit.edu> - - * debugfs.c (internal_dump_inode), ls.c (list_dir_proc), - lsdel.c (do_lsdel): Use inode_uid() and inode_gid() so - that the high bits of the uid/gid are displayed. - -2007-04-19 Theodore Tso <tytso@mit.edu> - - * set_fields.c: Add the i_version field to the set_inode_field - command. - -2007-04-13 Theodore Tso <tytso@mit.edu> - - * set_fields.c (do_set_block_group_descriptor), debug_cmds.ct, - debugfs.8.in: Added set_block_group command: - -2007-04-10 Theodore Tso <tytso@mit.edu> - - * util.c (string_to_time): Fix bug in date parser so that integer - time values can be used. - -2007-04-02 Theodore Tso <tytso@mit.edu> - - * dump.c (do_rdump): Use O_LARGEFILE when creating files. Add a - #define of GNU_SOURCE so that the dump and rdump commands - work with files > 2GB. (Addresses Debian Bug: #412614) - -2007-03-29 Theodore Tso <tytso@mit.edu> - - * debugfs.c (do_print_working_directory): Handle the case if - ext2fs_get_pathname returns NULL for the pathname. - - * htree.c (do_htree_dump): Fix coverity use before assignment - warning. (long_opt isn't being used for anything right - now, so this is a no-op) - -2007-03-23 Theodore Tso <tytso@mit.edu> - - * logdump.c (do_logdump): Fix file handle leak if logdump fails - with an error. - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * icheck.c (do_icheck): Fix memory leak and clean up error - handling paths. - - * htree.c (htree_dump_int_block): Fix memory leak on error paths. - - * dump.c (rdump_dirent), htree.c (htree_dump_leaf_node), - ls.c (list_dir_proc): Add an extra byte to EXT2_NAME_LEN - to avoid the possibility of an array overrun if the - filename is exactly EXT2_NAME_LEN in size. - -2007-03-07 Theodore Tso <tytso@mit.edu> - - * debugfs.c (do_lcd): Allow the lcd command when debugfs does not - currently have a filesystem open. - (Addresses LTC Bugzilla #27513) - -2007-01-28 Theodore Tso <tytso@mit.edu> - - * unused.c: Fix bug so that the dump_unused command segfault if - used without an open filesystem - -2006-12-22 Theodore Tso <tytso@mit.edu> - - * debugfs.c (main): Use the new {add,remove}_error_table comerr - interfaces instead of initialize_*_error_table. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * debugfs.c (do_open_filesys, main): Open filesystems with the - SOFTSUPP flag, to make easier to work on filesystem - features that are still under development. - -2006-11-11 Theodore Tso <tytso@mit.edu> - - * set_fields.c: Add the ability to use set_super_value to set the - superblock flags field. - - * htree.c (htree_dump_leaf_node): Check the superblock flags to - determine whether to use the signed or unsigned version of - the hash should be used. - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * Makefile.in (DEPLIBBLKID): Use DEPLIBBLKID not LIBBLKID to - define the dependencies used by the blkid library. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * htree.c (htree_dump_int_node): Fix printf formats. - -2006-08-29 Theodore Tso <tytso@mit.edu> - - * lsdel.c (do_lsdel): Fix core-dumping bug. Don't depend on - current_fs being non-NULL until after the call to - common_args_process(). (Addresses Debian Bug: #378335) - -2006-05-29 Theodore Tso <tytso@mit.edu> - - * util.c (reset_getopt): In order to support ancient Linux header - files that don't define __GLIBC__ (but which were using - glibc anyway), assume that any system that defines - __linux__ should use the glibc method of resetting getopt(). - -2006-05-28 Theodore Tso <tytso@mit.edu> - - * unused.c (do_dump_unused): Use EXT2_MAX_BLOCK_SIZE instead of a - hardcoded blocksize of 32768, since this will fail on a - filesystem with a 64k blocksize. (Addresses SourceForge - bug #1424311) - -2006-05-21 Theodore Tso <tytso@mit.edu> - - * set_fields.c (parse_time): Fix type warning problem with time_t - -2006-05-08 Theodore Tso <tytso@mit.edu> - - * debugfs.c (do_show_super_stats): Print out the block group flags - if they are set. - -2006-04-27 Theodore Ts'o <tytso@mit.edu> - - * htree.c (do_htree_dump, do_dx_hash), ls.c (do_list_dir): Add - missing default case in the getopt() while/switch loop so - that we print a usage() statement when the user specified - an illegal option. - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c, htree.c, unused.c: Change printf statements to use - %u instead of %d when printing block numbers. - - * debugfs.c (do_open_filesys), debugfs.8.in: Add the -e option to - the open_filesystem command, which requests that the - filesystem be opened in exclusive mode. - -2006-03-08 Theodore Ts'o <tytso@mit.edu> - - * Fix bug in icheck which incorrectly reports the last valid inode - number as the owner for an EA block. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c, debugfs.h, logdump.c, ls.c: Clean up various gcc - -Wall complaints. - -2005-09-24 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c (parse_time), util.c (string_to_time), debugfs.c - (do_set_current_time): Generalize the time parsing code - and move it to util.c:string_to_time(). Add new command, - set_current_time, which sets the time used to set the - filesystems's time fields. - -2005-09-06 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c: Fix set_inode_field so it can properly set the - i_size field. Thanks to James Nelson for pointing this - out. - -2005-07-04 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c: Fix a bug which caused set_inode_field to silently - fail when setting the following fields: frag, fsize, - uid_high, gid_high, and author. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-05-05 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_stat): Check to make sure a filesystem is open - and abort if with an error if not, to prevent a seg fault - in that case. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (internal_dump_inode_extra): Print the size of - the inode's extra fields. - -2005-03-20 Theodore Ts'o <tytso@mit.edu> - - * util.c (debugfs_write_new_inode): New function - - * debgufs.c (do_write, do_mknod): Call ext2fs_write_new_inode() - instead of ext2fs_write_inode(). - - * debugfs.c (do_stat): Add support for dumping extended attributes - which are stored in the inode body. - - * util.c (debugfs_read_inode_full): new function - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-03 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c: Define _XOPEN_SOURCE to be 500 to fix compilation - problems on Solaris. - -2005-01-20 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c: Add support for the jnl_blocks[] for set_super_value - -2005-01-19 Matthias Andree <matthias.andree@gmx.de> - - * set_fields.c: Add _XOPEN_SOURCE #define on all but Solaris - systems so that strptime() gets defined. - (parse_bmap): Add missing return statement. - -2005-01-07 Theodore Ts'o <tytso@mit.edu> - - * debug_cmds.ct: Make the official name of set_inode be - set_inode_field, since it is more intuitive. - - * set_fields.c (print_possible_fields): Document bmap[] in - "set_inode_field -l" listing. Change name of set_inode to - set_inode_field in usage message. - -2004-12-23 Theodore Ts'o <tytso@mit.edu> - - * set_fields.c: Add support for array indexes, which we use for - the i_block[] array. Also add the pseudo inode field - bmap, which can be used for setting logical->physical - mappings directly. - -2004-12-21 Theodore Ts'o <tytso@mit.edu> - - * setfields.c: Renamed from setsuper.c - Added support to set date/time fields. - Added support for setting superblock values wtime, mtime, - lastcheck, and mkfs_time as date/time fields. - Added support for the set_inode command. - * debugfs.h, debug_cmds.ct, debugfs.8.in: Added set_inode command - -2004-12-16 Theodore Ts'o <tytso@mit.edu> - - * setsuper.c: Add definitions for newer superblock fields: - reserved_gdt_blocks, jnl_backup_type, default_mount_opts, - first_meta_bg, and mkfs_time. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Move strip command to install-strip target. - Use Linux-kernel-style makefile output for "make install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * util.c (time_to_string): If the TZ environment variable is set - to GMT, use gmtime() instead of localtime() or ctime() to - force the use of GMT. This is because the dietlibc - doesn't honor the TZ environment variable. - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-29 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_open_filesys): Fix obvious uninitialized variable - buglet. - -2004-11-19 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (kill_file_by_inode): Only iterate over the inode to - release blocks if the inode has them; otherwise attempting - to rm devices and fast symlinks will lead to errors. - (Addresses Sourceforge Bug #954741 and #957244) - -2004-07-28 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c, debugfs.8.in: Add new option -d which allows the - system administrator to specify data source of a - filesystem being opened via an e2image file. - -2004-04-11 Theodore Ts'o <tytso@mit.edu> - - * util.c (open_pager): Use DEBUGFS_PAGER in preference to PAGER - (Addresses Debian Bug #239547) - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the debugfs man page, to avoid always re-running - subst, especially since there are no dependencies on the - man page. - -2004-03-20 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (make_link): Set the filetype information when - creating a link. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-23 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (internal_dump_inode): Display the major/minor device - numbers for block/character devices. - (do_mknod): Add support for new-style device numbers (where - the major or minor number is greater than 255 and less - than 65535). (Addresses Sourceforge bug #865289) - -2004-02-21 Theodore Ts'o <tytso@mit.edu> - - * debugfs.8.in: Fix the debugfs man page to reference the - init_filesys command, instead of "initialize". (Addresses - Debian Bug #232406) - -2004-02-14 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (internal_dump_inode): Correctly deal with symlinks - that have extended attribute information. (Addresses - Debian Bug #232328) - -2004-01-24 Theodore Ts'o <tytso@mit.edu> - - * debugfs.8.in: Document the PAGER and DEBUGFS_PAGER environment - variables. - - * util.c (open_pager): Use the "more" pager in preference to - "less", since "less" doesn't work terribly well for - debugfs's purpose. - -2003-12-25 Theodore Ts'o <tytso@mit.edu> - - * util.c (open_pager): Try to use the DEBUGFS_PAGER environment - variable first, and then fall back to the PAGER - environment variable. Finally, search for an appropriate - pager executable. - -2003-12-11 Theodore Ts'o <tytso@thunk.org> - - * debugfs.c (do_write, do_mkdir): If the directory is full, - automatically call ext2fs_expand_dir() and then retry to - add the link to the directory as a convenience to the - user. (Addresses Debian Bug: #217892) - (do_mknod): Clean up expand_dir error handling. - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_write): Mask off the file type bits, and OR in the - regular file information. (Addresses Debian Bug: #217456) - - * util.c (open_pager): Search for the pager to use, starting with - 'pager', and then falling back to 'less' and then 'more'. - (Addresses Debian Bug: #221977) - - * debugfs.c, debugfs.h, dump.c, htree.c, icheck.c, logdump.c, - ls.c, lsdel.c, ncheck.c, setsuper.c, unused.c: Fix gcc - -Wall nitpicks. - -2003-08-24 Theodore Ts'o <tytso@mit.edu> - - * debugfs.8.in: Adjust description line so that apropos - "ext2" or "ext3" will find the man page. (Addresses - Debian Bug #206845) - -2003-08-21 Theodore Ts'o <tytso@mit.edu> - - * debugfs.8.in: Fully document the logdump command in the debugfs - man page. - - * logdump.c (do_logdump): Add -s option which will use the journal - inode information in the superblock. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_imap): Fix gcc -Wall nitpicks (printf format types). - -2003-05-21 Theodore Ts'o <tytso@mit.edu> - - * unused.c (do_dump_unused): Add new command which dumps the - unused blocks. (Initial implementation; currently only - dumps the output to stdout.) - -2003-05-13 root <tytso@mit.edu> - - * util.c (reset_getopt), debugfs.c (do_open_filesys, - do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump), - htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump): - Define and use a new function, reset_getopt(), which does whatever - is necessary to reset getopt() again. This is different for - different implementations, so the portabilty issues are a bit of a - nightmare. (Addresses Debian bug #192834) - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in: - Added new command, imap, which prints the location of a - specified inode in the inode table. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-16 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (DLOPEN_LIB): Link in the libdl library if it is - present on the system. - - * debugfs.c (main): Call ss_get_readline() to attempt to pull in - the readline library. - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * debugfs.c (do_open_filesys, do_show_super_stats), - ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump, - do_dx_hash), logdump.c (do_logdump): Reset optind to 1 for better - compatibility with non-glibc implementations of getopt. - -2003-03-01 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in, logdump.c (do_logdump): Use the blkid functions to - find the external journal device. - -2003-01-21 Theodore Ts'o <tytso@mit.edu> - - * dump.c (do_dump): Open the output file with O_LARGEFILE so we - can write files larger than 2GB. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_write): Check to see if the filename exists before - creating it, and give an error if so. Addresses - Sourceforge bug #478195. - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (install): Search all compression extensions when - deleting old man pages. - -2002-10-13 Theodore Ts'o <tytso@mit.edu> - - * debugfs.h, htree.c, setsuper.c: Fix gcc -Wall nits. - -2002-10-02 Theodore Y. Ts'o <tytso@mit.edu> - - * htree.c (htree_dump_leaf_node): Use ext2fs_read_dir_block2 so - that the directory entries are appropriately byte-swapped. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2002-09-22 root <tytso@mit.edu> - - * htree.c (htree_dump_int_node): Flag continuation hashes to make - them easier to find. - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-23 Theodore Ts'o <tytso@mit.edu> - - * setsuper.c: Add support for the fields s_uuid, s_journal_uuid, - s_hash_seed, s_def_hash_version. Add routines for parsing - UUID's and hash algorithm identifiers. - -2002-08-16 Theodore Ts'o <tytso@mit.edu> - - * icheck.c (do_icheck): Check to see if the block is listed as - part of the extended attribute block. - -2002-07-21 Theodore Ts'o <tytso@mit.edu> - - * htree.c (do_htree_dump): Fix a bug where we were not cleanly - closing the pager after errors, which would leave the - tty in noecho mode. - -2002-07-18 Theodore Ts'o <tytso@mit.edu> - - * htree.c (htree_dump_int_node): Add byte swapping code sot that - the htree dump function works on a big-endian machine. - -2002-07-15 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_show_super_stats): Calculate and print the number - of directories on a filesystem --- because we can and - because it can be useful. - -2002-07-09 Theodore Ts'o <tytso@mit.edu> - - * debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command. - Addresses Debian bug #138003. - -2002-06-26 Theodore Ts'o <tytso@mit.edu> - - * htree.c (do_dx_hash): Use new ext2fs_dirhash function signature. - Add getopt support so user can specify the hash version. - -2002-05-11 <tytso@snap.thunk.org> - - * debug_cmds.ct, debugfs.c (do_bmap): Add new command "bmap" which - calculates the logical->physical block mapping for an - inode. - - * debugfs.c (do_init_filsys, main), util.c - (common_block_args_process): Fix bad calling parameter - order when calling parse_ulong. This broke the -b and -s - options to debugfs, as well as do_init, and the testb, - setb, clearb functions. - -2002-04-01 <tytso@snap.thunk.org> - - * util.c (parse_ulong): Fix typo which cases parse_ulong to - coredump if the err variable is filled in (for example, if - the -b or -s options are passed to the debugfs's - command-line invocation). - -2002-03-11 Theodore Tso <tytso@mit.edu> - - * ls.c (list_dir_proc): Fix bug: ls -l fails to print the file - type correctly if running on big-endian systems. - - * htree.c (htree_dump_leaf_node): Use the ext2_dirhash function - instead of a local static function. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 <tytso@snap.thunk.org> - - * ls.c (list_dir_proc): Fix typo in debugfs which was causing a - compiler warning. - -2002-03-05 Theodore Tso <tytso@mit.edu> - - * lsdel.c (do_lsdel): lsdel uses the pager to print out the list - of potentially deleted inode. Thanks to Jaroslav Drzik - <jdrzik@host.sk> for suggesting this enhancement. - - * debugfs.c (do_modify_inode): Fix bug which caused modify_inode - to core dump if a fliesystem isn't open. Thanks to - Jaroslav Drzik <jdrzik@host.sk> for finding and reporting - the bug and his proposed fix. - -2002-02-26 Theodore Tso <tytso@mit.edu> - - * ls.c (list_dir_proc): When listing the directory entry in long - format, include the file type of the directory entry in - parenthesis. - -2002-02-25 Theodore Tso <tytso@mit.edu> - - * util.c (open_pager): If the PAGER environment is set to __none__ - then don't use a pager at all, and ship it all to stdout. - - * Makefile.in, debug_cmds.ct, htree.c: Add new file htree.c, which - implements the three new commands, htree_dump, dx_hash, - and dirsearch. - -2002-02-24 Theodore Tso <tytso@mit.edu> - - * Makefile.in (install): Remove any compressed man pages before - installing the man pages. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2002-01-03 Theodore Tso <tytso@mit.edu> - - * lsdel.c (do_lsdel): New optional argument which allows the user - to only see the most recently deleted files. - - * debugfs.c (do_undel, do_testb, do_freeb, do_setb, do_ffb): Add - new command, undelete, which automates undeleting a - deleted inode and linking it back to a directory. Add a - count argument to the testb, freeb, setb, and ffb commands. - - * ls.c (list_dir_proc, do_list_dir): Add support for -d option - which lists deleted directory entries. - - * debug_cmds.ct: Add new command, undelete. - - * dump.c, icheck.c, logdump.c, ls.c, lsdel.c, setsuper.c, - debugfs.c: Use new utility functions which factor out - commonly used code. - - * util.c (debugfs_read_inode, debugfs_write_inode, - common_block_args_process, common_inode_args_process, - common_args_process, strtoblk, parse_ulong): New - functions which factor out commonly used code into - subroutines for ease of maintenance and to make the - executable size smaller. - -2001-12-23 Theodore Tso <tytso@mit.edu> - - * Makefile.in, jfs_user.h: Move linux/jbd.h to - ext2fs/kernel-jbd.h, to avoid using the system header - file version of hbd.h when using diet glibc (since it - forcibly adds /usr/include to the beginning of the - include search path.) - -2001-12-22 Theodore Tso <tytso@mit.edu> - - * debugfs.c (kill_file_by_inode, release_blocks_proc): Update the - group descriptor free block and inode counts when deleting - or killing a file. - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * setsuper.c (print_possible_fields), - logdump.c (dump_journal): Fix gcc -Wall nits - - * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to - linux/jbd.h - -2001-12-02 Theodore Tso <tytso@mit.edu> - - * util.c (close_pager): Use pclose() instead of fclose() when - closing the pager stream. - -2001-11-30 Theodore Tso <tytso@mit.edu> - - * debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's > - 2GB support changes: you need to use %lld when printf'ing - an long long variable. - -2001-11-24 Theodore Tso <tytso@mit.edu> - - * debugfs.8.in: Update manual page to document the set_super_value - and logdump commands, and move the "specifying files" - section closer to the beginning of the man page so people - won't miss it. - - * setsuper.c (print_possible_fields): "set_super_value -l" now - prints out the list of valid superblock fields which the - ssv command can set. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-27 Theodore Tso <tytso@valinux.com> - - * debugfs.c (main): Remove EXT2FS_VERSION from the version - display, since it only confuses people. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-12 Theodore Tso <tytso@valinux.com> - - * logdump.c (do_logdump, dump_journal): Add support for dumping - external journals. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-13 Theodore Tso <tytso@valinux.com> - - * setsuper.c: Add s_lastcheck field to the fields which can be - modified using set_super_value. (Suggested by Andreas - Dilger) - -2001-06-03 Theodore Tso <tytso@valinux.com> - - * debugfs.c (copy_file): Fixed signed vs unsigned bug which causes - read errors to not be noticed. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - - * debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks. - - * logdump.c (read_journal_block): Replace pread with lseek/read - combination. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h - -2001-05-12 Theodore Tso <tytso@valinux.com> - - * debugfs.c (print_features): Use fputs instead of printf to - output using the passed-in FILE *. - -2001-05-09 Theodore Tso <tytso@valinux.com> - - * debugfs.c (do_write, do_mknod): Set the file type information - when creating the inode. - -2001-05-03 Theodore Tso <tytso@valinux.com> - - * debugfs.c (do_open_filesys, main): Add -i option which will - allow debugfs to examine ext2 image files. - -2001-03-29 Theodore Tso <tytso@valinux.com> - - * debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add - internal_dump_inode() interface for the logdump command. - - * logdump.c: Imported code from Stephen Tweedie to dump the ext3 - journal. - -2001-03-18 Theodore Tso <tytso@valinux.com> - - * debugfs.c (do_write, do_mknod): Remove extra (useless) call to - ext2fs_write_inode. - -2001-01-12 Theodore Ts'o <tytso@valinux.com> - - * setsuper.c: Cleaned up some random whitespace problems. - - * debugfs.h, debugfs.c (do_show_super_stats): Use full words - instead of pluralism hack to make I18N conversion easier. - Clean up gcc -Wall complaints. - -2001-01-11 <tytso@snap.thunk.org> - - * debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c, - setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few - minor gcc-wall complaints while we're at it. - -2001-01-01 <tytso@snap.thunk.org> - - * debugfs.c Replace use of struct ext2fs_sb with struct - ext2_super_block. - -2000-12-30 <tytso@snap.thunk.org> - - * dump.c (fix_perms): Fix bug for systems which don't have fchown; - was incorrectly using chmod instead of chown. - - * setsuper.c (find_field): Strip the s_prefix if given for ssv - fields. Remove hard-coded s_ from inode_size - field. (Suggested by Andreas Dilger) - - * debugfs.c (do_modify_inode): Add the ability to set the inode - generation number. (Suggested by Andreas Dilger) - -2000-08-23 <tytso@valinux.com> - - * util.c (string_to_inode): Use strtoul instead of atoi, so that - hex inode numbers will be accepted. - -2000-08-19 <tytso@valinux.com> - - * util.c (open_pager): Set SIGPIPE to be ignored, so that quitting - out of the pager doesn't blow away debugfs. - -2000-08-14 <tytso@valinux.com> - - * debugfs.c (do_show_super_stats): Use list_super2() instead of - using explicit printf statements. (We get a more complete - printout this way.) - - * util.c (open_pager): If the PAGER environment variable is not - set, default to using "more". - - * setsuper.c: New function which implements the set_super_value - command. Allows the user to set arbitrary superblock - fields. - - * debugfs.c (dump_inode): Cap the length when printing a fast - symbolic link to inode.i_size. - (list_blocks_proc): Print block ranges (4510-4533) to make - the stat output easier to read. - -2000-06-27 Andreas Dilger <adilger@turbolabs.com> - - * debugfs.c (list_blocks_proc): show relative inode block numbers - and/or indirect block status - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-05 Theodore Ts'o <tytso@valinux.com> - - * debugfs.c (dump_inode): Make the generation field be printed as - an unsigned integer. - -2000-07-04 <tytso@snap.thunk.org> - - * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the - mk_cmds support files from the source tree. - -2000-06-09 <tytso@snap.thunk.org> - - * lsdel.c (do_lsdel): Handle bad bad blocks in inode table. - -2000-05-27 Theodore Ts'o <tytso@valinux.com> - - * debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid - coredumping if the bitmaps aren't loaded. - - * util.c (check_fs_bitmaps): New function which checks whether or - not the bitmaps are loaded. - -2000-05-23 Aaron Crane <aaronc@pobox.com> - - * debugfs.8.in: Documented new behaviour. - - * ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for - recent files. Switched to 4-digit years. - - * dump.c, debug_cmds.ct (do_rdump): Add new debugfs command - "rdump", which recursively dumps a directory and its - contents. - (fix_perms): New function. Break permission-fixing - code out of dump_file() so it can be called by rdump - code as well. - (dump_file): Call fix_perms(). - - * debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command - "lcd", which changes the cwd on the native filesystem. - - * debugfs.c (open_filesystem): Extra args for superblock, - blocksize, and catastrophic mode. Changed callers. - (do_open_filesys, main): Accept new -b, -s, -c options - for open_filesystem. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * debugfs.c (dump_inode): Remove #ifdef for i_version - vs. i_generation since we know it will always be - i_generation now. - -2000-01-18 Theodore Ts'o <tytso@valinux.com> - - * debugfs.c (main): Use return instead of exit at the end of main - to avoid some compiler warnings. - - * Makefile.in: Since LIBUUID can sometimes include - "-lsocket" we need a separate DEPLIBUUID that can be used - in Makefile's dependency rules. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-11-08 <tytso@valinux.com> - - * icheck.c (do_icheck): - * ncheck.c (do_ncheck): If ext2fs_open_inode_scan() returns - EXT2_ET_BAD_BLOCK_IN_INODE_TABLE loop to skip over the bad - blocks in the inode table. - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * debugfs.h: Add declaration for do_features() - - * debugfs.c: Add #incldue of e2p.h to fix gcc warnings. - -1999-10-25 <tytso@valinux.com> - - * debugfs.c (do_dirty_filesys): Make the "dirty" command clear the - valid bit on the superblock. (And with a -clean option to - set the valid bit.) Originally it was used just to set - the "needs to be written" bit in the in-core version of - the fs structure. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-09-07 <tytso@rsts-11.mit.edu> - - * debugfs.c, debug_cmds.ct: Add new debugfs command "feature" - which allows the user to set or clear filesystme features. - Add the -f (force) option to the open command. Add the - -h (superblock header only) option to the stats command. - -1999-07-30 <tytso@rsts-11.mit.edu> - - * debugfs.c (dump_inode): Fix debugfs message so it is the same - for when compiled under either Linux 2.2 or 2.3. This - allows for the f_swapfs regression test suite to work - regardless of which OS e2fsprogs was compiled on. - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-06-23 <tytso@valinux.com> - - * debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels - that use i_generation instead of i_version. Patch - supplied by Jon Bright <sircus@sircus.demon.co.uk>. - -1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * icheck.c (do_icheck): Check to make sure the inode has valid - blocks before iterating over that inode's blocks. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-07-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't - displaying the error message if ext2fs_read_inode() failed. - (do_rm): Fix similar problem for call to ext2fs_namei(). - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c: Add a -V option which displays the current version. - -1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix installdirs and uninstall rules to reflect - the fact that debugfs has been installed in the root - filesystem. Fix uninstall rules to take $(DESTDIR) into - account. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.h: Add declaration for do_dirty_filsys() to prevent - -Wall warnings. - - * debugfs.c (copy_file): - * dump.c (dump_file): Fix -Wall warning caused by - signed/unsigned mismatch. - -1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c, ls.c, lsdel.c: Add support for large files. (The - high 32 bits share space with the i_dir_acl field.) - -Sun Mar 8 22:53:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c (list_dir_proc): Mask off high 8 bits from - dirent->name_len. - -Mon Dec 1 13:21:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Install debugfs in /sbin, instead of /usr/sbin. - -Sat Oct 25 18:35:30 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (copy_file), dump.c (dump_file): Change to use the new - fileio primitives in libext2. - -Fri Oct 24 23:47:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (main, do_open_filesys): - * dump.c (do_dump): Make the variable which getopt returns into be - an int, so that it won't lose on platforms where char is - unsigned. - -Tue Oct 14 21:50:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (main): When printing a usage message, have main - return 1 (instead of not specifying a return value, bad!) - -Mon Sep 15 22:03:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (main): Fix declaration of main so that it returns an int. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu May 8 23:05:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.8.in: Fix minor typos and grammer oops found by Bill - Hawes (whawes@star.net). - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Thu Apr 10 14:36:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c: New file which implements the ls command. Added the -l - option. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Wed Jan 1 23:53:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * lsdel.c (do_lsdel): Use time_to_string() instead of ctime(). - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Mon Sep 9 23:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (unlink_file_by_name): If unlinking a file with a - directory path, correctly replace the slash with a NULL. - (do_show_debugfs_params): Don't try to print the open mode - if there's no filesystem opened (since that will cause a - core dump). - (main): Fix usage string; the -w and device elements are - independently optional. - -Tu Sep 3 15:09:39 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (main): Added -f option to debugfs, which takes a - command file of debugfs commands and executes them. - -Sat Aug 31 01:18:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.8.in: Heavily edited and improved manual page. - - * dump.c (dump_file): Improve the write function for writing out - the file, so that it is limited to the actual size of the - file, instead of outputing the nulls following the EOF. - Make sure dump_file does the right thing for files with holes. - (do_dump): Add support for the -p option to the dump - command, which attempts to preserve the owner and - permissions field. - -Fri Aug 30 14:56:59 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (main): Add -R option to debugfs, which allows it to - take a single debugfs command on the command line. - -Fri Aug 9 09:03:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (do_open_filesys): Set optind to 0 to reset getopt(), - to be complete correct. - (do_show_super_stats): Print OS type, volume label, last - mounted directory, and UUID. - (dump_inode): Print the fragment information in a - filesystem independent way. - (do_modify_inode): Modify the fragement information in a - filesystem independent way. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed May 3 20:41:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * debugfs.c (dump_inode): Correctly print the translator on the hurd. - (do_modify_inode): Modify the translator block on the hurd. - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Fri Dec 1 22:42:31 1995 <tytso@rsts-11.mit.edu> - - * Makefile.in (LIBS): Rearrange the order of the libraries to be - linked, so that -lext2fs is before -lcom_err. - -Thu Oct 26 12:05:06 1995 <tytso@rsts-11.mit.edu> - - * Makefile.in (install): Strip programs when they are installed. - -Fri Aug 18 15:09:08 1995 Theodore Y. Ts'o <tytso@dcl> - - * debugfs.c (do_find_free_block): Fix typo in code which checked - to see if the usage message should be printed. - -Thu Aug 17 22:55:58 1995 <tytso@rsts-11.mit.edu> - - * debugfs.c (do_open_filesys): Change to always set optreset to 1, - to make BSD getopt()'s happy. Also set optind to 1, which - should make more getopt()'s happy. - -Fri Aug 11 08:45:01 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * debugfs.c (do_find_free_block, do_find_free_inode): Fix bug in - the usage handling where "ffi ?" or "ffb ?" would - dereference a NULL pointer. - -Fri Aug 11 14:21:07 1995 Remy Card <card@bbj> - - * debugfs.8: Updated date and version number. - -Thu Aug 10 14:28:50 1995 Remy Card <card@bbj> - - * debugfs.8: Fixed a spelling error in Ted's name :-) - -Mon Jun 12 19:08:25 1995 Theodore Y. Ts'o (tytso@dcl) - - * debugfs.c, ncheck.c, icheck.c, lsdel.c, dump.c: Include - <errno.h> (if it exists) - - * debugfs.c, dump.c, icheck.c, lsdel.c, ncheck.c: Don't include - <getopt.h> if it doesn't exist. - -Sun Jun 11 15:21:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * ncheck.c (do_ncheck): Use LINUX_S_ISDIR instead of S_ISDIR - - * debugfs.c: Implement the mknod and write commands (from Linus). - - Change names of modify_char, modify_short, and modify_long - to be modify_u8, modify_u16, and modify_u32, respectively. - -Thu Jun 8 12:29:15 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * debugfs.c (dump_inode): Only print out inode frag fields if - HAVE_EXT2_FRAGS is defined (by configure). Don't print out the - reserved field at all for now. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - -Thu Nov 24 17:46:23 1994 Theodore Y. Ts'o (tytso@rt-11) - - * dump.c: Added two new commands, "dump" and "cat", which allow - the user to dump the contents of an inode to a file or to - stdout, respectively. - - diff --git a/doc/ChangeLog b/doc/ChangeLog deleted file mode 100644 index 99fd08ce..00000000 --- a/doc/ChangeLog +++ /dev/null @@ -1,198 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * libext2fs.texinfo (Iterating over blocks in an inode): Fix - BLOCK_FLAG_TRAVERSE so it is the correct - BLOCK_FLAG_DEPTH_TRAVERSE. (Addresses Debian Bug #351268) - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix the kernel compile-time echo commands to be - consistent and portable - -2005-01-07 Theodore Ts'o <tytso@mit.edu> - - * libblkid.txt: Fix minor typo's --- thanks to Mike Castle - (dalgoda at ix.netcom.com) for pointing them out --- and - clarify the text describing blkid_put_cache(). - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (install-doc-libs): Use $(MKINSTALLDIRS) macro - Use Linux-kernel-style makefile output for "make install" - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-21 Theodore Ts'o <tytso@mit.edu> - - * libblkid.txt: Clarify documentation file - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * Makefile.in: Don't bomb out if makeinfo or texinfo aren't - present. They aren't on all systems. - -2003-03-01 Theodore Ts'o <tytso@mit.edu> - - * libblkid.txt (token): New file which gives basic - documentation to the libblkid library. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-13 Theodore Ts'o <tytso@mit.edu> - - * libext2fs.texinfo: Add extra spaceing so that the info directory - looks OK on Openwall. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-12-11 Theodore Tso <tytso@valinux.com> - - * Add new descriptions for the following functions: - ext2fs_block_iterate, ext2fs_block_iterate2, - ext2fs_read_dir_block, ext2fs_write_dir_block, - ext2fs_new_dir_block, ext2fs_dir_iterate, ext2fs_mkdir, - ext2fs_expand_dir, ext2fs_link, ext2fs_unlink, - ext2fs_clear_block_bitmap, ext2fs_set_block_bitmap, - ext2fs_group_of_blk, ext2fs_group_of_ino. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-30 Theodore Tso <tytso@valinux.com> - - * libext2fs.texinfo: Remove texinfo warnings by adding white space - after the function name and before the open parenthesis. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-27 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Don't predefine RM; it's defined by MCONFIG - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-20 Theodore Tso <tytso@valinux.com> - - * libext2fs.texinfo: Added @dircategory line so that Debian - programs know which section to list the .info file. - -2001-01-11 <tytso@snap.thunk.org> - - * libext2fs.texinfo: Change ino_t to ext2_ino_t - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-07-04 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * libext2fs.texinfo: Update definition of ext2fs_block_iterate2. - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (install-doc-libs): Remove libext2fs.info*, not just - libext2fs.info*.gz. Add an uninstall-doc-libs target. diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog deleted file mode 100644 index bb03b0a7..00000000 --- a/e2fsck/ChangeLog +++ /dev/null @@ -1,4280 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-22 Theodore Tso <tytso@mit.edu> - - * pass1.c (check_ext_attr): Adds an extra validity test in - check_ext_attr(). If an attribute's e_value_size is zero - the current code does not allocate a region for it and as - a result the e_value_offs value is not verified. However, - if e_value_offs is very large then the later call to - ext2fs_ext_attr_hash_entry() can dereference bad memory - and crash e2fsck. - -2007-06-18 Theodore Tso <tytso@mit.edu> - - * journal.c (e2fsck_run_ext3_journal), unix.c (main): Explicitly - add the EXT2_FLAG_MASTER_SB_ONLY flag to make sure we - won't write out the backup superblocks until we're sure - that we want write them out. - -2007-06-04 Theodore Tso <tytso@mit.edu> - - * super.c (check_super_block, e2fsck_get_device_size), - unix.c (main): Move device size logic into the main(), to - support the Linux floppy driver, which disallows another - (non-O_EXCL) open() if it has been opened with O_EXCL. - (Addresses Debian Bug: #410569) - - * e2fsck.h (E2F_FLAG_GOT_DEVSIZE): New flag used in get_device logic - -2007-05-31 Theodore Tso <tytso@mit.edu> - - * util.c (get_backup_sb): Do basic sanity checking to make sure - the blocksize of the superblock passes muster. - - * profile.c (profile_node_iterator): Avoid potential null - dereference bug. - -2007-05-22 Theodore Tso <tytso@mit.edu> - - * message.c (expand_inode_expression, expand_percent_expression): - Fix gcc -Wall warnings on 64-bit systems. - - * pass1.c (e2fsck_pass1_check_device_inode): Mark the fs parameter - as unused. - (e2fsck_setup_tdb_icount): Use profile_get_uint() function - for reading the threshold. Remove unused variables. - - * dirinfo.c (setup_tdb): Use the profile_get_uint() function for - reading the threshold. - (setup_db): Declare it as static - (setup_tdb): #include uuid.h since we use a uuid function - (e2fsck_get_dir_info, e2fsck_dir_info_iter_begin): Remove - unused variables - (e2fsck_dir_info_iter_end): Mark the ctx parameter as - unused. - - * profile.h, profile.c (profile_get_uint): New function which - returns an unsigned integer. - -2007-05-08 Kalpak Shah <kalpak@clusterfs.com> - - * pass1.c (check_ea_in_inode): Remove check that requires in-inode - EA's to be sorted, since they don't have to be. - -2007-05-08 Theodore Tso <tytso@mit.edu> - - * message.c (expand_inode_expression): Use inode_uid() and - inode_gid() macros when printing the uid/gid. - -2007-04-18 Theodore Tso <tytso@mit.edu> - - * e2fsck.conf.5.in (apply): Fix minor typo. - -2007-04-14 Theodore Tso <tytso@mit.edu> - - * pass2.c (e2fsck_process_bad_inode): Remove special kludge that - dealt with long symlinks on big endian systems. It turns - out this was a workaround to a bug described in Red Hat - Bugzilla #232663, with an odd twist. See comment #12 for - more details. - - * pass1.c, pass2.c, util.c: Add better ehandler_operation() - markers so it is clearer what e2fsck was doing when an I/O - error is reported. - - *pass1.c (check_is_really_dir): Fix a typo which could cause - e2fsck to throw an I/O error while doubling checking - whether or not a special device file was really an inode. - Also, don't do this tests on symbolic links since for - filesystems with a large numbers of symlinks it could - degrade performance and increases the risk for false - positives. - -2007-04-10 Jim Garlick <garlick@llnl.gov> - - * pass1b.c (search_dirent_proc): if a file has multiple hard - links, e2fsck pass1c search_dirent_proc() doesn't maintain - its count properly and may return DIRENT_ABORT before it - has found containing directories for all inodes sharing - blocks. - -2007-04-06 Theodore Tso <tytso@mit.edu> - - * e2fsck.conf.5.in: Update man page to document the scratch_files - section. - - * dirinfo.c: If e2fsck.conf configures a scratch_files directory - which is available, and the number of directories exceeds - scratch_files.numdirs_threshold, then try to use the tdb - library to store the directory information abstraction. - This allows us to check very large filesystems without - needing as much physical memory. - - * e2fsck.h, pass1.c, pass2.c: If e2fsck.conf configures a - scratch_files directory which is available, and the number - of directories exceeds scratch_files.numdirs_threshold, - then try to use the tdb library to store the inode count - abstraction. This allows us to check very large - filesystems without needing as much physical memory. - -2007-04-04 Theodore Tso <tytso@mit.edu> - - * dirinfo.c, pass2.c, pass3.c, rehash.c, e2fsck.h: Change the - iterator abstraction and replace e2fsck_get_dir_info() - with e2fsck_dir_info_{set,get}_{parent,dotdot} so that we - can support an on-disk dirinfo implementation. This - allows e2fsck to check very large filesystems on systems - with smaller amounts of memory and/or address space. - - * pass1.c (check_ext_attr): Make sure the region variable is - initialized to zero to avoid checking and then freeing an - uninitialized pointer if there is a corrupted EA block. - -2007-03-31 Theodore Tso <tytso@mit.edu> - - * pass1.c (e2fsck_pass1, check_is_really_dir): Check for an edge - condition where the mode of a directory is incorrect, and - looks like a special device, but it is really a directory. - We can't do this for regular files because of the - performance hit, but this will catch directories which - have their i_mode bits mutated so they looks like a - special device. - - * problem.c, problem.h (PR_1_TREAT_AS_DIRECTORY): New problem code - - * message.c (expand_percent_expression): Add support for %It, which - will print the type of the inode. - - * pass3.c (fix_dotdot_proc): Fix the filetype of the '..' entry to - be EXT2_FT_DIR. (Addresses Lustre BZ #11645) - - * pass1.c (e2fsck_pass1_check_device_inode): Don't assume that a - special device is bogus just because i_blocks is non-zero. - The i_blocks field could get adjusted later, and if this - happens it will confuse the e2fsck_process_bad_inode() in - pass 2. In practice true garbage inodes will have random - non-zero values in i_blocks[4..15], so there's no point - doing the check for an illegal i_blocks value. - -2007-03-28 Theodore Tso <tytso@mit.edu> - - * pass1.c (e2fsck_pass1, check_ext_attr), - pass5.c (check_block_bitmaps, check_inode_bitmaps), - pass4.c (e2fsck_pass4), swapfs.c (swap_inodes), - journal.c (e2fsck_get_journal), - unix.c (parse_extended_opts): Fix memory leaks - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * profile.c (profile_open_file): Fix memory leak if malloc() fails - while setting up the profile data structure. - -2007-03-19 Theodore Tso <tytso@mit.edu> - - * pass3.c (check_directory): Add error check in case - e2fsck_get_dir_info() returns NULL. Also fix another - error check for e2fsck_get_dir_info() to display the - correct inode number in case of this internal (should - never happen) error. - - * pass1b.c (clone_file): Fix a coverity-found bug; add error - checking in case dict_lookup() returns NULL when looking up - an block or inode record after cloning the EA block. - - * profile.c (profile_init, get_dirlist): Fix bug where if a - profile directory is completely empty, the profile library - would segfault. - -2006-12-22 Theodore Tso <tytso@mit.edu> - - * unix.c (PRS, main): Use the new {add,remove}_error_table comerr - interfaces instead of initialize_*_error_table. - -2006-11-14 Theodore Tso <tytso@mit.edu> - - * unix.c (PRS): Always allocate the replacement PATH environment - passed to putenv() to avoid gcc -Wall warning. - - * pass1.c, pass2.c, profile.c, super.c: Remove unused variables - and fixed signed vs unsigned and const gcc -Wall warning. - - * message.c (expand_inode_expression): Fix const gcc -Wall warning. - - * journal.c (e2fsck_fix_ext3_journal_hint): Remove unusued - variables retval and problem. - -2006-11-11 Theodore Tso <tytso@mit.edu> - - * super.c (e2fsck_fix_dirhash_hint, check_super_block): If neither - the signed or unsigned dirhash hint, set it based on - default signed vs. unsigned character type in use by the - platform. - - * problem.c, problem.h (PR_0_DIRHASH_HINT): Add new problem code. - - * pass2.c (check_dir_block), rehash.c (fill_dir_block): Check the - superblock flags to determine whether to use the signed or - unsigned version of the hash should be used. - - * problem.c, problem.h (PR_2_BLOCKS_HI_ZERO): Add new problem code. - - * pass1.c (e2fsck_pass1), pass2.c (e2fsck_process_bad_inode): - Replace check for l_i_frag and l_i_fsize with one for - i_blocks_hi. - -2006-11-08 Theodore Tso <tytso@mit.edu> - - * badblocks.c (read_bad_blocks_file): Change the last_block - argument passed to the badblocks program to be consistent - with the change to badblocks. - -2006-10-21 Theodore Tso <tytso@mit.edu> - - * pass2.c (parse_int_node): Don't core dump if there is a corrupt - htree interior node. If the block number is larger than - the number of blocks in the directory, don't write past - the end of malloc'ed memory. (Addresses SourceForge Bug: - #1512778) - -2006-10-02 Theodore Tso <tytso@mit.edu> - - * e2fsck.conf.5.in: Minor correction to man page. - (Addresses Debian bug #369761) - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * Makefile.in (DEPLIBBLKID): Use DEPLIBBLKID not LIBBLKID to - define the dependencies used by the blkid library. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * pass1.c (handle_bad_fs_blocks): use blk_t, not int for first_block. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * unix.c (show_stats): use ext2_ino_t for inode containers. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * pass1.c (new_table_block, handle_fs_bad_blocks): - * super.c (check_super_block): - Use new inlines to calculate group first & last blocks. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * e2fsck.h (e2fsck): Use unsigned types for filesystem counters. - * emptydir.c (add_empty_dirblock): - * iscan.c (main): - * unix.c (show_stats, check_if_skip): Fix printf formats. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * pass1.c (handle_fs_bad_blocks): Remove unused variables. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * pass1b.c (check_if_fs_block): Change block group loop to use - a common pattern of first_block/last_block, etc. - - * super.c (check_super_block): Avoid overflows when iterating over - group descriptors on very large filesystems - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * pass5.c (check_inode_bitmaps, check_inode_end, check_block_end): - * pass4.c (e2fsck_pass4): Fix potential overflow problems when the - number of blocks is close to 2**31. - -2006-08-29 Theodore Tso <tytso@mit.edu> - - * super.c (release_inode_blocks): Fix silly spelling error. - (Addresses SourceForge Bug: #1531372) - -2006-05-29 Theodore Tso <tytso@mit.edu> - - * pass1b.c: Add missing semicolon when HAVE_INTPTR_T is not defined - -2006-05-22 Theodore Tso <tytso@mit.edu> - - * e2fsck.8.in: Fixed spelling mistake. (Addresses Debian Bug: - #368392) - -2006-05-14 Theodore Tso <tytso@mit.edu> - - * recovery.c (do_one_pass), journal.c (e2fsck_get_journal): Add - missing brelse() calls to avoid memory leaks in error - paths. (Thanks to Michael C. Thompson for pointing these - out; they were originally found using Coverity.) - -2006-05-13 Theodore Tso <tytso@mit.edu> - - * badblocks.c (read_bad_blocks_file): Pass the private option -X - to badblocks so that e2fsck -cc will work correctly. - -2006-05-08 Theodore Tso <tytso@mit.edu> - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): Add support - for the lazy_bg feature; if the block group does not have - an initialized block or inode bitmaps/table, emulate what - the allocation bitmap would look like if no blocks or - inodes have been allocated. - -2006-03-27 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Add badblocks(8) to the See Also section. - (Addresses Debian Bug: #347295) - - * Makefile.in, e2fsck.conf.5.in: Add man page documenting the - configuration file /etc/e2fsck.conf. - -2006-03-22 Theodore Ts'o <tytso@mit.edu> - - * profile.c (profile_update_file, profile_parse_file, parse_line, - parse_std_line): Integrate profile_std_line() into - parse_line(), and profile_parse_file() into - profile_update_file() to make the code tighter. - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * unix.c (show_stats): Use blk_t instead of int when referring to - block numbers. - - * emptydir.c, message.c, pass1b.c, pass2.c, recovery.c, unix.c: - Change printf statements to use %u instead of %d when - printing block numbers. - - * unix.c (main): If the filesystem is not mounted, open the - filesystem in exclusive mode (to prevent 2.6 kernels from - mounting the filesystem while it is being checked). - -2006-03-10 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.h, journal.c (e2fsck_fix_ext3_journal_hint), - problem.c (PR_0_EXTERNAL_JOURNAL_HINT), - problem.h (PR_0_EXTERNAL_JOURNAL_HINT), super.c: Check - to see if the superblock hint for the external journal - needs to be updated, and if so, offer to update it. - (Addresses Debian Bug: #355644) - -2006-01-29 Theodore Ts'o <tytso@mit.edu> - - * unix.c (check_if_skip): When skipping a check due to being on - battery, print an explanatory message to this effect. Add - an e2fsck configuration option defer_check_on_battery - which defaults to true. If the configuration option is - turned off, then e2fsck will not attempt to defer - filesystem checks when the system is running on battery. - (Addresses Debain Bug: #350306) - -2006-01-06 Theodore Ts'o <tytso@mit.edu> - - * profile.c (parse_std_line, dump_profile): Add support for - quoted strings in tag and section names. Changed - top-level section name parsing to ignore leading and - trailing whitespace. - -2006-01-05 Theodore Ts'o <tytso@mit.edu> - - * profile.c (profile_init): If a directory is passed to - profile_init, then read all files which match [0-9a-zA-Z]* - in sort order. This allows handling of /etc/foo/conf.d - style directories. - -2006-01-04 Theodore Ts'o <tytso@mit.edu> - - * profile.c: Eliminate the prf_data_t data structure and fold it - back into prof_file_t. Eschew needless complexity! - - * profile.c: Change syntax accepted by the profile parser. The - value of profile relations must not contain spaces unless - it is quoted; otherwise the parser will throw an error. - Comments are allowed anywhere and can be started with - either a ';' or a '#' character. The only place where - comments will not be intepreted as beginning a comment is - in a quoted string. - - * profile.c (profile_parse_file, profile_set_syntax_err_cb): Add - support for a syntax error callback to allow better error - reporting to the user. - - * e2fsck(PRS): Set a profile syntax error callback so we can - report errors in /etc/e2fsck.conf. - -2006-01-02 Theodore Ts'o <tytso@mit.edu> - - * profile.c, profile_helpers.c, profile_helpers.h: Boil down and - simplify profile.c, and move extra functionality that's - not needed into profile_helpers.c - -2006-01-01 Theodore Ts'o <tytso@mit.edu> - - * profile.c: Fix #include of com_err.h so that it isn't required - that the com_err development environment be installed. - (Addresses Debian Bug: #345519) - -2005-12-31 Theodore Ts'o <tytso@mit.edu> - - * problem.c (fix_problem), problemP.h: Add the ability for the - e2fsck configuration file to override the behaviour of - e2fsck when a particular filesystem problem is - encountered. This allows reconnecting an inode to - lost+found to not stop the boot sequence, if a system - administrator really badly wants this behaviour for some - specialized reason, for example. - - * unix.c (main): If the e2fsck configuration file sets the - allow_cancellation option to be true, then if the - filesystem does not have any known problems, and was known - to be cleanly unmounted, then let e2fsck exit with a - status code of 0 instead of 32 (FSCK_CANCELED) so that the - bootup scripts will continue without stopping the boot. - (Addresses Debian Bug: #150295) - -2005-12-30 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.c (e2fsck_free_context), unix.c (PRS), e2fsck.h: Use - the profile library to read in the /etc/e2fsck.conf file - at startup. - - * profile.c, profile.h, prof_err.et: Add the profile library code - to e2fsck. The profile library was originally written by - Theodore Ts'o in 1995 for use in the MIT Kerberos v5 - library. It has been modified/enhanced/bug-fixed over - time by other members of the MIT Kerberos team. This - version was originally taken from the Kerberos v5 - distribution, version 1.4.2, and radically simplified for - use in e2fsprogs. (Support for locking for multi-threaded - operations, being able to modify and update the - configuration file programmatically, and Mac/Windows - portability have been removed. It has been folded into a - single C source file to make it easier to fold into an - application program.) - - * argv_parse.c, argv_parse.h: Added auxiliary programs used only - for building the profile test program. - -2005-12-18 Theodore Ts'o <tytso@mit.edu> - - * problem.c (PR_0_FUTURE_SB_LAST_MOUNT, - PR_0_FUTURE_SB_LAST_WRITE): Make these problems things - which can be fixd by preen, since Debian's boot sequence - bogusly doesn't set the time correctly until potentially - very late in the bootup process, and this can cause false - positives that will cause users' systems to fail to - booting. (Addresses Debian Bugs #343662 and #343645) - -2005-12-09 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Clarify that e2fsck -c does a read-only scan of the - device. - - * unix.c (PRS): Fix typo in error message; thanks to Solar - Designer for pointing out the missing preposition. - (check_mount): Don't let the user run e2fsck -ccn on the - root partition, without warning that he or she might - be doing something Really Stupid. - - * e2fsck.8.in: Clarify description of differences between the -p, - -n, and -y options. - -2005-09-24 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_super_block), problem.c, problem.h: Detect if the - superblock's last mount field or last write field is in - the future, and offer to fix if so. (Addresses Debian Bug - #327580) - -2005-07-25 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main): Fix a use-after-free bug of the e2fsck context - structure at the very end of the e2fsck run. - - * pass1.c (pass1_write_inode): Fix false positive from valgrind; - don't do a needless structure copy via an assignment when - it is a no-op. - -2005-07-04 Theodore Ts'o <tytso@mit.edu> - - * problem.c: Remove period from the Pass 1C header, to be - consistent with the other Pass headers. - - * pass2.c (e2fsck_process_bad_inode): Fixed bug which could cause - e2fsck to core dump if a disconnected inode contained an - extended attribute. This was actually caused by two bugs. - The first bug is that if the inode has been fully fixed - up, the code will attempt to remove the inode from the - inode_bad_map without checking to see if this bitmap is - present. Since it is cleared at the end of pass 2, if - e2fsck_process_bad_inode is called in pass 4 (as it is for - disconnected inodes), this would result in a core dump. - This bug was mostly hidden by a second bug, which caused - e2fsck_process_bad_inode() to consider all inodes without - an extended attribute to be not fixed. (Addresses Debian - Bug: #316736) - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-20 Theodore Ts'o <tytso@mit.edu> - - * unix.c (usage, parse_extended_opts): Clean up messages printed - by e2fsck for grammar and consistency. - -2005-06-19 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Make it clear that the -c, -l, and -L options are - never safe to use on a mounted filesystem, and in general, - running e2fsck on mounted filesystems is a bad idea. - -2005-06-16 Theodore Ts'o <tytso@mit.edu> - - * message.c: Add @m (multiply-claimed) and @n (invalid) - expansions. - - * problem.c: Clean up the problem messages displayed by e2fsck, - mostly based on suggestions from Benno Schulenberg. - -2005-06-05 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Add a request to the REPORTING BUGS section of the - man page to make sure that e2fsck's messages are printed - in English, and to send a raw e2image filesystem dump if - possible. - -2005-05-05 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (check_bb_inode_blocks): Clean up warning printf. - Thanks to Benno Schulenberg for the patch. (Addresses - Sourceforge Bug: #1189803) - -2005-04-16 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Fix spelling mistakes in man pages. (Addresses - Debian Bugs: #304593) - -2005-04-14 Theodore Ts'o <tytso@mit.edu> - - * pass1b.c (pass1d): Don't offer to clone or delete the resize - inode; it's not allowed! - - * e2fsck.c, e2fsck.h, journal.c, pass1.c, pass1b.c, pass2.c, - pass3.c, pass4.c, super.c, unix.c: Use a centrally stored - current time for "now" which can be overridden using the - E2FSCK_TIME environment variable, for better - reproducibility for regression tests. - -2005-04-06 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (e2fsck_pass1): If the superblock last mount time (not - just the last write time) looks insane, then assume that - we can't do the LOW_DTIME checks. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * message.c, pass1.c, problem.c, problem.h, util.c: Integrate code - from Alex Thomas at Clusterfs to check extended attributes - stored in inodes. - - * message.c (expand_inode_expression): Add support for %IS in - problem descriptions. Note that this only works if the - problem context has a pointer to a large inode! - - * problem.h, problem.c (PR_1_EXTRA_ISIZE, PR_1_ATTR_NAME_LEN, - PR_1_ATTR_VALUE_OFFSET, PR_1_ATTR_VALUE_BLOCK, - PR_1_ATTR_VALUE_SIZE, PR_1_ATTR_HASH): Add new problem - codes. - - * util.c (e2fsck_write_inode_full): New function. - - * pass1.c (check_ea_in_inode, check_inode_extra_space): New - function which tests the validity of extended attributes - stored in a large inode. - (e2fsck_pass1): Call ext2fs_get_next_inode_full() instead - of get_next_inode(), and use an allocated inode which is - big enough to store extra portion of large inodes. - -2005-03-20 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_super_block): Add sanity checks for the - superblock's inode_size field. - - * pass3.c (check_root, e2fsck_get_lost_and_found): Call - ext2fs_write_new_inode() instead of ext2fs_write_inode(). - - * pass1.c (check_blocks): Move counting the extended attribute - block earlier so that we don't have to worry about - num_blocks wrapping for files which are too big. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-04 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (e2fsck_pass2), problem.c (PR_2_HTREE_FCLR), problem.h - (PR_2_HTREE_FCLR): Remove support for - --enable-clear-htree; this was only needed during the - early development of the htree patch. - -2005-01-28 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (e2fsck_process_bad_inode): Fix a corner case involving - big-endian systems, long symlinks and i_file_acl set when - it shouldn't be. Without this bugfix, f_clear_xattr will - fail on big-endian machines. - - * super.c (check_resize_inode): Deal with the case where the - resize inode can't be read; don't try to recreate the - resize inode unless the resize feature is actually - enabled. - -2005-01-27 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_resize_inode): If the resize inode has a zero - i_links_count or isn't a regular file, consider the resize - inode as invalid, and offer to recreate it. - - * pass2.c (e2fsck_process_bad_inode): Offer to clear i_file_acl - before checking to see if an invalid inode should be - removed, since otherwise the fast symlink detection code - can get confused. Also clear the inode's entry in - inode_bad_map if the inode has been completely fixed. - (Addresses Red Hat Bugzilla #146284) - -2005-01-25 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main, check_if_skip): Set the valid flag earlier, and if - it is cleared by the superblock tests, then assume that - the filesystem contains errors and must be checked. - - * super.c (check_super_block): Check the individual block group - inode and block free counts, as well as the filesystem - inode and block free counts. If any of the block/inode - free counts is too large, force a full filesystem check. - (Addresses Debian Bug: #291571) - -2005-01-19 Theodore Ts'o <tytso@mit.edu> - - * unix.c (e2fsck_simple_progress): Use fixed integer math - to check to see if we're at 0 or 100% - (is_on_batt): Clean up gcc -Wall warning - (main): Remove dead code - -2005-01-13 Matthias Andree <matthias.andree@gmx.de> - - * unix.c: Do not call closedir if the handle is zero, to avoid - crashes when the /proc/acpi/ac_adapter directory is - missing, for instance on non-ACPI or non-Linux systems. - -2005-01-09 Theodore Ts'o <tytso@mit.edu> - - * pass1b.c: As part of converting configure.in from using the - "broken by design" 2.13 version of AC_CHECK_TYPE to - AC_CHECK_TYPES, if intptr_t isn't defined, manually - typedef it to long. (Addresses Debian Bug #289133) - -2005-01-06 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_resize_inode): Use ext2fs_{read,write}_ind_block - so that byte swapping is handled on big-endian systems. - (check_super_block): Allow the number of reserved blocks - to be 50% of the number of blocks available, in order to - be consistent to what is allowed by tune2fs. - -2004-12-24 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (e2fsck_pass1): At the end of the pass 1 processing, if - we have been signalled to do so, recreate the resize inode. - - * super.c (check_resize_inode): New function which checks to make - sure the resize inode is valid. It is called by - check_super_block(). If it is invalid, it will signal to - pass1.c that the resize inode needs to recreate. - - * e2fsck.h (E2F_FLAG_RESIZE_INODE): New flag - - * problem.c, problem.h (PR_0_RESIZE_INODE_INVALID, - PR_1_RESIZE_INODE_CREATE): Add new problem codes. - -2004-12-23 Theodore Ts'o <tytso@mit.edu> - - * swapfs.c (swap_inodes): Since swap_inodes bypasses the inode - cache for speed reasons, we must flush it to avoid cache - coherency problems. - -2004-12-16 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_super_block): If the resize_inode feature is not - set, check to make sure that s_reserved_gdt_blocks is - zero, and that the resize inode is clear. - - * problem.h (PR_0_NONZERO_RESERVED_GDT_BLOCKS, - PR_0_CLEAR_RESIZE_INODE): Add new problem codes. - -2004-12-15 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (process_block): Applied resize inode patch. Mark the - DIND block of the resize inode as being in use. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Move strip command to install-strip target. - Use Linux-kernel-style makefile output for "make install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro. - Remove sync in the "all" target. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * message.c (expand_inode_expression): If the TZ environment - variable is set to GMT, use gmtime() instead of - localtime() or ctime() to force the use of GMT. This is - because the dietlibc doesn't honor the TZ environment - variable. - - * e2fsck.h: Add io_options to e2fsck_struct - - * unix.c: If there is a question mark in the device name, separate - out the options to the IO layer, and pass it on to - ext2fs_open2(). - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-10-04 Richard Mortimer <richm@oldelvet.org.uk> - - * journal.c (e2fsck_check_ext3_journal): Attempt recovery of the - filesystem if the journal contains illegal block numbers. - -2004-07-26 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (process_block): Change the limit of directory size from - 32 MB to 2GB. - -2004-05-11 Theodore Ts'o <tytso@mit.edu> - - * journal.c (sync_blockdev): Flush I/O caches to preserve ordering - constraints required by the journal recovery code. Thanks - to Junfeng Yang from the Stanford Metacompilation group - for pointing this out. - - * jfs_user.h: Define sync_blockdev() as an emulated function, - instead just being a no-op. - -2004-05-04 Theodore Ts'o <tytso@mit.edu> - - * unix.c (check_if_skip): If the checkinterval is zero, then - disregard it when calculating when the next check will - take place. - -2004-04-12 Theodore Ts'o <tytso@mit.edu> - - * unix.c (is_on_batt): Be more flexible about the name of the ACPI - device that corresponds to the AC adapter. (Addresses - Debian bug #242136) - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the e2fsck man page, to avoid always re-running - subst, especially since there are no dependencies on the - man page. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-24 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main, PRS), e2fsck.8.in: Add a new -k option which keeps - the existing badblocks list when using the -c option. - (Addresses Debian bug #229103) - -2004-02-23 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (PROFILED_LIBS, PROFILED_DEPLIBS): Fix reference to - libblkid so that the build will work with --enable-profile - (Addresses Sourceforge bug #811408) - -2004-02-14 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.c (e2fsck_run): Clear the SETJMP_OK flag when returning - so we don't double longjump into an invalid stack frame. - (Thanks to Matthias Andree for providing this fix.) - -2004-01-31 Theodore Ts'o <tytso@mit.edu> - - * problem.c (fix_problem): Don't call print_e2fsck_message if the - message is empty; otherwise, the NLS substitution will - print the .po header, which is Just Wrong. - -2004-01-30 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (deallocate_inode_block): Check to make sure the block - number is invalid before deallocating it, to avoid core - dumping e2fsck. - -2003-12-12 Theodore Ts'o <tytso@mit.edu> - - * pass3.c (check_directory): When reconnecting a directory, we may - need to create a lost+found directory. This may - invalidate our pointer to the directory information, so we - must look it up again after calling - e2fsck_reconnect_file(). (Addresses Debian bug #219640). - -2003-12-10 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.h (E2F_FLAG_RESTARTED): Assign a unique flag bitfield to - E2F_FLAG_RESTARTED. This fixes a bug where if the user - specifies an alternate superblock, and the journal needs - to be replayed, e2fsck would erroneously assume that - journal had been run already without clearing the - NEEDS_RECOVERY flag, and bomb out with an error. - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c, dict.c, ea_refcount.c, ehandler.c, journal.c, - pass1.c, pass1b.c, pass2.c, pass3.c, pass5.c, problem.c, - rehash.c, super.c, swapfs.c, unix.c, util.c, e2fsck.h: Fix - gcc -Wall nitpicks. - - * recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel - version. - -2003-12-02 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main): When testing a disk using e2fsck -c, use the list - of new bad blocks to replace the current list of bad - blocks. This way "e2fsck -c" can be used to recover from - a corrupted bad block inode. - - * badblocks.c (test_disk): Remove the test_disk() file; e2fsck - will just call read_bad_blocks_file() directly with the - file parameter set to NULL. - -2003-09-14 Theodore Ts'o <tytso@mit.edu> - - * unix.c (is_on_batt, check_if_skip): If running on battery, then - give an extra grace period before actually forcing a - check. That way the laptop will be biased to waiting - until we are on AC power before doing the filesystem - check. (Addresses Debian bug #205177) - -2003-09-13 Theodore Ts'o <tytso@mit.edu> - - * unix.c (check_if_skip): If the number of mounts until the next - forced filesystem check is 5 or less, mention this to the - user. (Addresses Debian bug #157194) - - * pass1.c (e2fsck_pass1), problem.h (PR_1_BB_FS_BLOCK), - problem.c (PR_1_BB_FS_BLOCK, PR_1_BBINODE_BAD_METABLOCK_PROMPT): - Fix up the handling of corrupted indirect blocks in the - bad block. We now correctly handle the case where there - is an overlap between a block group descriptor or - a superblock and a bad block indirect block. In the case - where the indirect block is corrupted, we now suggest - "e2fsck -c". - -2003-09-12 Theodore Ts'o <tytso@mit.edu> - - * unix.c (PRS): Check the returned name from blkid_get_devname and - print an error if the requested LABEL/UUID does not exist. - -2003-09-03 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (mark_table_blocks): Use the new function - ext2fs_reserve_super_and_bgd to calculate the blocks to be - reserved. - -2003-08-24 Theodore Ts'o <tytso@mit.edu> - - * util.c (get_backup_sb): Check to make sure the context is passed - in non-NULL before trying to dereference it. Otherwise we - might core dump when called to expand %S in a problem - description. - - * e2fsck.8.in: Adjust description line so that apropos - "ext2" or "ext3" will find the man page. (Addresses - Debian Bug #206845) - -2003-08-21 Theodore Ts'o <tytso@mit.edu> - - * journal.c (e2fsck_move_ext3_journal): When moving the journal or - backing up the journal inode, make sure it gets written to - all the superblocks. - -2003-08-20 Theodore Ts'o <tytso@mit.edu> - - * journal.c (e2fsck_move_ext3_journal): If the superblock's backup - journal information is not set, copy the journal inode - information to the superblock. - (e2fsck_get_journal): If the journal inode is corrupted, - synthesize one from the backup information in the - superblock. - - * problem.c, problem.h (PR_0_BACKUP_JNL): Add new problem code - which is used when we make a backup of the journal inode. - -2003-08-19 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.h, unix.c (PRS, e2fsck_clear_progbar, - e2fsck_simple_progress): Don't print the ^A and ^B - characters which bracket the progress bar when the e2fsck - program is talking directly to a tty, but only when it is - being piped to another program. (Addresses Debian bug - #204137) - * unix.c: Move some initialized variables to the BSS segment to - shrink the size of the e2fsck executable. - -2003-08-01 Philipp Thomas <pthomas@suse.de> - - * Include inttypes.h if present. New macros INT_TO_VOIDPTR and - VOIDPTR_TO_INT. Use them throughout for int<->void * - casts to fix 64-bit warnings. - - * dirinfo.c, dx_dirinfo.c, e2fsck.c, ea_refcount.c, journal.c, - message.c, pass1.c, pass1b.c, pass2.c, pass3.c, pass4.c, - pass5.c, super.c, swapfs.c: ext2fs_getmem(), - ext2fs_free_mem(), and ext2fs_resize_mem() all now take a - 'void *' instead of a 'void **' in order to avoid pointer - aliasing problems with GCC 3.x. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * pass2.c: Fix gcc -Wall nitpicks (missing #include <string.h>) - - * dict.c, dict.h: Fix gcc -Wall nitpicks (indented cpp directives) - -2003-06-8 Theodore Ts'o <tytso@mit.edu> - - * problem.c: Fix spelling error. - -2003-05-17 Theodore Ts'o <tytso@mit.edu> - - * unix.c (show_stats), e2fsck.h: Use ngettext (abbreivated with - the macro P_(str1, str2, n)) to simplify the statistics - reporting. - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main): If --enable-testio-debug is set, then use the - test_io manager so we can watch what e2fsck is doing. - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * unix.c (show_stats): Remove uneeded use of _() around string - under #ifndef NLS - - * problem.c: Mark two strings (PR_1_RELOC_TO and - PR_2_NON_UNIQUE_FILE) as not being printf format strings. - Fix typo (doubled 'is') in PR_2_FILE_ACL_BAD. - - * Makefile.in: Add $(LIBINTL) to the link line so we can support - using the internal gettext library. - - * e2fsck.h: Add #ifndef protection around LOCALEDIR definition. - -2003-04-27 Theodore Ts'o <tytso@mit.edu> - - * message.c (expand_at_expression): Fixed NLS support for message - abbreviations. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-19 Theodore Ts'o <tytso@mit.edu> - - * rehash.c: Fix lint warnings by including string.h and ctype.h - - * pass2.c (dict_de_cmp): Fix lint warnings by using const pointers. - - * unix.c (e2fsck_simple_progress), e2fsck.h: Fix lint warnings by - using const pointers. Remove unused variables. - -2003-04-17 Theodore Ts'o <tytso@mit.edu> - - * rehash.c (name_cmp): Sort the deleted inodes to the end of the - list, for portability to systems that whose qsort does not - perform a stable sort. - -2003-04-16 Theodore Ts'o <tytso@mit.edu> - - * unix.c: Bracket progress bar output with control-A and control-B - characters. These characters are used as in-band - signalling to allow a logging program to filter out the - progress bar. - (PRS): Use setvbuf instead of setbuf to force stdout and - stderr to be non-buffered when the stdout/stderr are a pipe. - This fixes a cosmetic problem when using e2fsck under - logsave. - -2003-04-12 Theodore Ts'o <tytso@mit.edu> - - * unix.c: Add #ifdef around #include <sys/ioctl.h> - -2003-04-05 Theodore Ts'o <tytso@mit.edu> - - * super.c (check_super_block): Update the global free block and - inode counters from the block group specific counters - quietly. This is needed for an experimental patch which - eliminates locking the entire filesystem when allocating - blocks or inodes; if the filesystem is not unmounted - cleanly, the global counts may not be accurate. - -2003-03-17 Theodore Ts'o <tytso@mit.edu> - - * util.c: Explicitly declare e2fsck_global_ctx as extern for the - benefit of the Apple Darwin port. - -2003-03-15 Theodore Ts'o <tytso@mit.edu> - - * rehash.c (e2fsck_rehash_dir): If user specified the -n option, - skip trying to write out directory. - (e2fsck_rehash_directories): Fix the percentage - calculation in the progress bar. - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * problem.c, problem.h (PR_2_REPORT_DUP_DIRENT): Add new problem - code. - - * pass2.c (check_dir_block): Check for duplicate filenames within - a single directory block (because this is the easy case; - we don't currently check for duplicates that span - directory blocks, for now. Eventually for htree - directories we can do this by searching for all directory - blocks that have a hash overflow, and then searching the - adjacent blocks to find all other potential duplicates.) - - * iscan.c, scantest.c, unix.c: And #ifdef protection around - #include of malloc.h - - * rehash.c (duplicate_search_and_fix): Now search for duplicates - filenames, and either prompt to remove a complete - duplicate entry, or to rename a duplicate filename. - (e2fsck_rehash_dir): Use a progress bar to report - progress, and don't print all of the directory inodes as - they are optimized. - - * problem.c, problem.h (PR_2_DUPLICATE_DIRENT, - PR_2_NON_UNIQUE_FILE): New problem codes. - - * unix.c (e2fsck_simple_progress), e2fsck.h: New function which - can be called to provide specialized progress bars that - are not related to the top-level pass-based completion - percentage. - - * pass3.c (e2fsck_adjust_inode_count), e2fsck.h: Export previously - static function. - -2003-03-06 <tytso@mit.edu> - - * e2fsck.8.in: Fix minor nit in the -C option. (Addresses Debian - bug #173612) - -2003-03-01 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in, journal.c, unix.c: Use blkid functions to find the - journal from the UUID, and to interpret the device - specification. - - * e2fsck.c: Free the blkid_cache when releasing the e2fsck context - structure. - - * e2fsck.h: If strnlen is not present, define it as a macro which - calls e2fsck_strlen(). Add prototype for string_copy(). - Add blkid_cache to e2fsck context, and make - filesystem_name, device_name, and journal_name be - non-const variables. - - * pass1.c, pass2.c: Remove static strnlen function - - * util.c (string_copy, e2fsck_strnlen): New functions - -2003-01-29 Theodore Ts'o <tytso@mit.edu> - - * unix.c (usage): Make descripton -c be a bit more explicit - -2003-01-22 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (check_blocks): Use the EXT2_I_SIZE macro. - -2003-01-02 Theodore Ts'o <tytso@mit.edu> - - * unix.c (main): Detect if there is an attempt to run the journal - twice, and abort with an error if this is the case. - (Address IBM Bugzilla bug #1226) - -2002-12-18 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (strnlen): Provide strnlen if libc doesn't. - -2003-11-19 Theodore Ts'o <tytso@mit.edu> - - * unix.c (PRS): Print an error if more than one of the -p/-a, -n - or -y options are specified. - -2002-11-12 Theodore Ts'o <tytso@mit.edu> - - * problem.c: Make HTREE problems PR_PREEN_OK, so that we don't - abort an e2fsck after the filesystem has been mounted - using the 2.4 ext2 codebase. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 <tytso@snap.thunk.org> - - * unix.c (main): Fix a bug where e2fsck could erroneously mark a - filesystem as being valid if it was being checked and it - is interrupted with a ^C. (Bug introduced in e2fsprogs - 1.28.) - - * unix.c (PRS), journal.c: Set the default level of journal - debugging to be 0, and allow the user to set the level of - journal debugging by using the E2FSCK_JBD_DEBUG - environment variable. - - * pass1.c (new_table_block), super.c (check_super_block), swapfs.c - (swap_filesys): Clear EXT2_FLAG_MASTER_SB_ONLY to make - sure the backup superblocks and group descriptors are - updated when we make an important change to the - superblocks and/or group descriptors. (i.e., generating a - UUID, allocating filesystem metadata, or byte-swapping the - filesystem.) - -2002-11-07 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.h, unix.c (main, check_mount): Fix e2fsck so that it - returns the appropriate exit code, so that the boot - scripts will be told that they need to automatically - reboot. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * unix.c (usage), e2fsck.8.in: Add the -D option to the usage and - command synopsis. (Addresses Debian bug #167108) - - * pass1.c (e2fsck_pass1): Check the superblock write time to see - whether or not we can safely do the LOW_DTIME checks. - (Addresses Sourceforge bug #620980) - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (install): Search all compression extensions when - deleting old man pages. - - * pass1.c (mark_table_blocks): Fix bug in meta_bg support; only - mark blocks legacy group descriptor blocks up to - s_first_meta_bg. - -2002-10-20 Theodore Ts'o <tytso@valinux.com> - - * pass1.c (mark_table_blocks): Add support for the meta_blockgroup - filesystem format. - -2002-10-13 Theodore Ts'o <tytso@mit.edu> - - * pass3.c (e2fsck_get_lost_and_found): Pass in mode 700 to - ext2fs_new_inode(). - - * unix.c (show_stats): Fix format bug if NLS is in use. - - * journal.c, pass1.c, revoke.c, util.c: Fix gcc -Wall nits. - -2002-10-08 Theodore Ts'o <tytso@mit.edu> - - * pass3.c (e2fsck_get_lost_and_found): Create the lost+found - directory with mode 0700. - -2002-10-02 Theodore Y. Ts'o <tytso@mit.edu> - - * pass2.c (parse_int_node, check_dir_block): Add byte-swap - functions around the htree code, so that it works on - big-endian machines. - - * swapfs.c (swap_filesys): For PPC machines, byte-swap the bitmap, - since PPC big-endian filesystems were historically wierd. - This is just for the regression test, since no one - actually uses them anymore... - -2002-09-30 Theodore Ts'o <tytso@mit.edu> - - * problem.c, problem.h (PR_2_HTREE_BAD_LIMIT, - PR_2_HTREE_BAD_COUNT, PR_2_HTREE_HASH_ORDER, - PR_2_HTREE_BAD_DEPTH): Add new problem codes. - - * pass2.c (salvage_directory, check_dir_block): Avoid counting - directory entries twice during a directory salvage. Make - the salvaging algorithm smarter about directory entry size - overruns. - (parse_int_node): Add check to make sure the limit and - count fields in the node headers are sane. Also check - to make sure the hash table in ascending order. - (pass2, htree_depth): For all leaf nodes, determine their - depth in the tree, and make sure it matches with the depth - in the htree root information. - -2002-09-29 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (check_dir_block): Do a more paranoid check when trying - to determine whether or not a directory entry is a - completely empty leaf block or leaf node. Otherwise - e2fsck might get confused into thinking that a valid dxdir - was corrupted. - - * rehash.c (e2fsck_rehash_dir): Apply patch from Christopher Li - which avoids creating an empty directory entry at the end - of the directory block. This screws up earlier versions - of the indexed directory patch. - -2002-09-28 Theodore Ts'o <tytso@mit.edu> - - * rehash.c (write_directory): Clear the index flag if by - reoptimizing the directory, we bring it back into a - non-indexed state. - (e2fsck_rehash_dir): Allow directories that contain two - blocks to be indexed. Otherwise when they grow, they - never will be indexed by the kernel. - - * unix.c (main): Only update the master superblock; there's no - point updating the backup superblocks, and it speeds up - fsck slightly. - - * pass2.c (salvage_directory): New function called by - check_dir_block() which is much more sophisticated about - how it salvages corrupted filesystems. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2002-09-06 Theodore Ts'o <tytso@mit.edu> - - * rehash.c (copy_dir_entries): Fix bug which caused corrupted - directories if there are 4 or 8 bytes left over in a - directory page when optimizing/reindexing a directory. - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-31 Theodore Ts'o <tytso@mit.edu> - - * ehandler.c (e2fsck_handle_read_error): If the user asks to - ignore the error, offer to try forcing a write of the - block to the disk; sometimes this will cause the drive to - remap the bad block. - -2002-08-31 Theodore Ts'o <tytso@valinux.com> - - * pass2.c (e2fsck_pass2): If this is a HTREE directory, sort the - dblist so that the first block of all of the directories - is handled first so we can read the hash version - information. - (check_dir_block): Examine the root node for correctness, - and offer to clear it if it is not correct. Also copy the - hash version to the dx_dir structure, so that the proper - hash function can be used for other blocks in the - directory. - - * problem.c, problem.h (PR_2_HTREE_BAD_ROOT): Add new problem code. - -2002-08-21 Theodore Ts'o <tytso@mit.edu> - - * problem.c: Fix PR_1_RELOC_BLOCK_ALLOCATE message to explain that - it is necessary to find contiguous blocks in a particular - block group. - -2002-08-17 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Add clarifying text describing how e2fsck works - with ext3 filesytems. (Addresses Debian bug #145044). - - * pass1.c (handle_htree): Add support for EXT2_HASH_TEA - - * e2fsck.h, e2fsck.c (e2fsck_allocate_context): Add new field to - the e2fsck context, ext_attr_ver, which specifies the EA - format version. - - * unix.c (usage, parse_extended_opts, PRS), e2fsck.8.in: Add new - option -E, which allows the users to specify extended - options. Added ea_ver extended option. - - * pass1.c (e2fsck_pass1_check_device_inode): Add ext2_filsys - argument to this function, so we can account for the - presence of extended attribute blocks attached to device - inodes. - (e2fsck_pass1_check_symlink, e2fsck_pass1): Take into - account the fact that symlinks can also have extended - attribute blocks. - (check_ext_attr): Don't be flexible about the EA format - version. Check against the version number in - ctx->ext_attr_ver. - (check_blocks): Check all inodes, so that we account for - extended attribute blocks belonging to special files. - Clean up i_size checks. - - * pass1b.c (pass1b): Check all inodes, so that we account for - extended attribute blocks belonging to special files. - (delete_file_block): Use ext2fs_alloc_block_stats() to - update the filesystem statistics. - (delete_file): Attempt to decrement the extended - attribute refcount, and free the EA block if the count - hits zero. - (clone_file): Fixed bugs in EA handling. Don't call - block_iterate on inodes that don't have a valid i_block[] - array. Reread the base inode since it may have been - changed by ext2fs_block_iterate. When updating inodes as - part of cloning an EA block, write out the correct inode - structure. - - * pass2.c (deallocate_inode_block, deallocate_inode): Use standard - ext2fs_alloc_*_stats functions to update the filesystem - statistics. - (deallocate_inode): Attempt to decrement the extended - attribute refcount, and free the EA block if the count - hits zero. - (e2fsck_process_bad_inode): Add extra argument to calls - to e2fsck_pass1_check_device_inode (). - - * pass3.c (e2fsck_get_lost_and_found): Use standard - ext2fs_alloc_*_stats functions to update the filesystem. - statistics when creating /lost+found. - (adjust_inode_count): Remove debugging code that can never - be triggered. - - * pass4.c (disconnect_inode): Add explanation about why we only - clear inodes that have no data blocks and no EA blocks. - Use ext2fs_inode_alloc_stats2 function to update the - filesystem statistics when clearing a zero-length inode. - - * problem.c, problem.h (PR_1B_ADJ_EA_REFCOUNT, - PR_2_ADJ_EA_REFCOUNT): Add new problem codes. - - * super.c (release_inode_block), (release_orphan_inodes): Use the - standard ext2fs_alloc_*_stats functions to update the - filesystem statistics. - (release_inode_blocks): Attempt to decrement the extended - attribute refcount, and free the EA block if the count - hits zero. - -2002-08-01 Theodore Ts'o <tytso@mit.edu> - - * dict.c, dict.h: New file from kazlib 1.20 which implements a - red-black tree - - * pass1b.c: Massive changes to take advantage of dict.c. This - removes several O(n**2) algorithms from the rare case - where there are a large number of blocks claimed by - multiple inodes. - -2002-07-24 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in, e2fsck.h, pass3.c (e2fsck_pass3), unix.c, rehash.c: - Add new option -D, which requests e2fsck to optimize all - directories. Rehash.c will also compress and sort - non-indexed directories. - - * problem.c, problem.h: Rename PR_3A_REHASH_* to PR_3A_OPTIMIZE_* - - * unix.c (PRS): Make sure the signal_cancel is registered without - SA_RESTART. - - * rehash.c (e2fsck_rehash_dir, copy_dir_entries, calculate_tree): - Restructured code in e2fsck_rehash_dir into two new - subroutines to make the code more understandable/maintainable. - (set_root_node): Fixed bug which caused the root node to - be invalid on non-FILETYPE filesystems due to an - unitialized variable. - (calculate_tree): Fix bug where pointers which might get - invalidated if realloc() moves outdir->buf around. - (e2fsck_rehash_dir): Fix memory leak bug. - - * pass3.c (e2fsck_get_lost_and_found), e2fsck.h, e2fsck.c: - Exported as a public interface a function for finding the - lost and found directory. Cache the location of the lost - and found directory in the e2fsck context structure. - - * util.c (ask_yn, read_a_char): Note when the user has typed ^C, - and abort processing by longjmp'ing to ctx->abort_loc. - -2002-07-23 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (e2fsck_pass1): If e2fsck is run with -n, don't create - the dirs_to_hash list, since we don't want to reindex - directories if the filesystem is opened read-only. - -2002-07-21 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.8.in: Document new exit code FSCK_CANCELED - - * unix.c (PRS, signal_cancel): Capture SIGINT and SIGTERM signals - and set a flag in the e2fsck context indicating that - cancellation has been requested, so that e2fsck will exit - only at safe points. - (main): Change the exit handling so that if a cancellation - is requested, return FSCK_CANCELED (a new exit code 32). - e2fsck can now return more than one exit code as part of a - bitmask (as had been documented in the man page). - - * pass2.c (e2fsck_pass2, check_dir_block), pass3.c (e2fsck_pass3), - pass4.c (e2fsck_pass4): Check to see if a cancellation was - requested, and abort processing if necessary. - -2002-07-19 Theodore Ts'o <tytso@mit.edu> - - * rehash.c, Makefile.in: New file which rewrites directories using - the htree format. - - * problem.c (fix_problem), problemP.h (PR_PREEN_NOHDR): Add option - which suppresses the header printed when in preen mode. - - * pass3.c (e2fsck_pass3): If there are entries on the dirs_to_hash - list, call e2fsck_rehash_directories to reindex those - directories. - (e2fsck_expand_directory): Generalize the old - expand_dirctory() function so it can expand a directory to - a guaranteed minimum size. - - * e2fsck.h (struct e2fsck_struct): Add the dirs_to_hash list. Add - new function prototypes for rehash.c and for - e2fsck_expand_directory(). - - * e2fsck.c (e2fsck_reset_context): Free the dirs_to_hash list. - - * pass1.c (e2fsck_pass1): Initialize the dirs_to_hash list if the - htree feature is present in the filesystem. - (check_blocks): If a non-htree directory has more than 2 - blocks, put it on the dirs_to_hash list. - - * pass2.c (clear_htree): Add corrupt htree directories to the - dirs_to_hash list. - - * problem.h, problem.c (PR_3A_PASS_HEADER, PR_3A_REHASH_ITER, - PR_3A_REHASH_DIR_ERR, PR_3A_REHASH_DIR_HEADER, - PR_3A_REHASH_DIR, PR_3A_REHASH_DIR_END): Add new problem codes - - * pass2.c (parse_int_node), problem.c (PR_2_HTREE_BADBLK): Fix - problem display. - -2002-07-15 Theodore Ts'o <tytso@mit.edu> - - * pass2.c (e2fsck_pass2): Use dx_dir->numblocks instead of - dx_dir->ino to indicate that a bad inode was cleared. - -2002-06-26 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (check_blocks): Move htree handling to handle_htree(). - Factor out calls to ext2fs_write_inode so that it happens - if dirty_inode is non-zero. - (handle_htree): Add checks for invalid htree root, invalid - hash version, invalid hash version, and htree depth too deep. - - * problem.h, problem.c (PR_1_HTREE_NODIR, PR_1_HTREE_BADROOT, - PR_1_HTREE_HASHV, PR_1_HTREE_INCOMPAT, PR_1_HTREE_DEPTH): - Add new problem codes. - - * pass2.c (parse_int_node): Fix silly typo. - (check_dir_block): Change to use new ext2fs_dirhash() - function prototype. - (pass2): Fixed two minor bugs discovered by the test case: - Don't stop checking dxdir's after clearing a bad inode. - If there is a bad max hash, make sure the bad_dir flag - is set to make sure we try to clear inode. - -2002-06-25 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.c (e2fsck_reset_context): Free the dx_dirinfo structure. - - * message.c: Add new abbrevations @h and @p, "HTREE directory - inode" and "problem in". - - * pass1.c (check_blocks): If the inode has the INDEX_FL flag, - register the block into the indexed directory data - structures. Or if the filesystem doesn't have the - DIR_INDEX flag, offer to clear the INDEX_FL. - - * pass2.c (e2fsck_pass2, parse_int_node): Add support check htree - directories (we don't check all possible corruptions yet). - - * problem.h, problem.h (PR_1_HTREE_SET, PR_2_HTREE_NOTREF, - PR_2_HTREE_DUPREF, PR_2_HTREE_MIN_HASH, PR_2_HTREE_MAX_HASH, - PR_2_HTREE_CLEAR, PR_2_HTREE_FCLR, PR_2_HTREE_BADBLK): Add - new problem codes. - - * unix.c (main): If ENABLE_HTREE is not defined, complain if the - filesystem has the dir_index feature. - - * Makefile.in, e2fsck.h, dx_dirinfo.c: New file (and group of - functions) which keeps track of blocks in HTREE directory - blocks. - -2002-05-22 Andreas Dilger <adilger@clusterfs.com> - - * super.c (check_superblock): Check that the number of inodes and - blocks in a group is less than 2^16, so that the free inode - and block counts for a group fit into the group descriptor - table fields. Any more than that would need a COMPAT flag. - -2002-05-22 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (check_ext_attr): Update to support the V2 Bestbits EA - format. We automatically determine from the first EA - block we visit whether we are using the V1 or V2 format. - -2002-05-21 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (process_block): If an inode has too many blocks or - is too big, then offer to truncate the inode. - (check_blocks): Don't bother checking the size to see if - it's too big, since that's just a symptom, not the disease - (which we're now appropriately checking in process_block). - - * problem.c, problem.h: Add new problem codes PR_1_INODE_TOOBIG, - PR_1_TOOBIG_DIR, PR_1_TOOBIG_REG, PR_1_TOOBIG_SYMLINK, and - add the latch code PR_LATCH_TOOBIG. - -2002-05-20 Theodore Ts'o <tytso@mit.edu> - - * e2fsck.h, pass1.c (e2fsck_pass1_check_symlink), pass2.c - (e2fsck_process_bad_inode): Add an extra - argument so a scratch buffer can be passed into the - function. - - * pass1.c (e2fsck_pass1_check_device_inode, - e2fsck_pass1_check_symlink): If the EXT2_INDEX_FL flag is - set, then the device/FIFO is invalid. - (check_immutable): Don't check for EXT2_INDEX_FL; we take - care of that elsewhere now. - (e2fsck_pass1): Check to see if the symlink is valid - before we offer to clear any immutable bits. This matches - the order in which we check other special files. - - * pass2.c (e2fsck_pass2): Allocate a bigger scratch buffer so we - can pass part of it to e2fsck_process_bad_inode. - - * pass4.c (e2fsck_pass4): If we need to call - e2fsck_process_bad_inode(), allocate the necessary scratch - buffer. - - * problem.h, problem.c: Change PR_2_SYMLINK_SIZE to be - PR_2_INVALID_SYMLINK, and change the text - accordingly. Revert the text change for PR_1_SET_IMMUTABLE - since we no longer check for EXT2_INDEX_FL in - check_immutable(). - -2002-05-18 Andreas Dilger <adilger@clusterfs.com> - - * pass1.c (e2fsck_pass1_check_symlink): Remove checks of - immutable/append-only checks, since this is handled by - check_immutable. For non-fast symlinks, read in the - data block and check the length to make sure it - matches with the inode size. - (check_immutable): Generalize to also check for the - EXT2_INDEX_FL flag. - (check_blocks): For non-regular files, signal a bad inode - size if i_size_high is non-zero. - - * pass2.c: Only count large files if they are regular files - (not just if they aren't directories). - - * problem.c, problem.h: Change comment for PR_2_SYMLINK_SIZE - to indicate that it can be triggered by any symlink, - not fast symlink. Change text for PR_1_SET_IMMUTABLE - to indicate that it the EXT2_INDEX_FL was set. - -2002-05-17 Theodore Ts'o <tytso@mit.edu> - - * pass1.c (e2fsck_pass1): When calculating max_sizes, omit capping - this value by the calculated value of max_sect_sizes. - The inode may be a sparse inode, and the limit of - max_sect_sizes assumed a non-sparse inode and a limit - based on a 32-bit i_blocks field measured in 512 sectors. - - * super.c (check_super_block): Fix check for s_log_block_size so - that takes into account fact that there is an offset of - EXT2_MIN_BLOCK_LOG_SIZE. - - * pass1.c: Allocate max_sizes array to be big enough to support - the larger block sizes. - -2002-05-16 Andreas Dilger <adilger@clusterfs.com> - - * unix.c (main), util.c (get_backup_sb): Use EXT2_MAX_BLOCK_SIZE - instead of using a hardcoded value of 4096. - - * super.c (check_super_block): Change checks for s_log_block_size - s_log_frag_size so they support the larger block sizes. - - * pass1.c (e2fsck_pass1): Calculate max_sizes array for block - sizes up to EXT2_MAX_BLOCK_SIZE (to support block sizes - greater than 4k). - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * journal.c, pass5.c, revoke.c: Fix gcc -Wall complaints - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * unix.c (main): Don't close the filesystem before calling - fatal_error(); this just causes a needless warning about a - bad I/O manager magic number. - - * journal.c (e2fsck_check_ext3_journal): Offer to clear the inode - in case the journal is too small, or the inode number in - the superblock doesn't appear to be random. - -2002-03-06 Theodore Tso <tytso@mit.edu> - - * problem.h, problem.c: PR_5_BLOCK_RANGE_UNUSED, - PR_5_BLOCK_RANGE_USED, PR_5_INODE_RANGE_UNUSED, - PR_5_INODE_RANGE_USED: Add new problem codes. - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): Collapse - reporting of adjacent blocks and inodes into a range. - -2002-03-04 Philipp Thomas <pthomas@suse.de> - - * unix.c (main): Newer libintl needs LC_CTYPE to be set in - addition to LC_MESSAGES. - -2002-02-24 Theodore Tso <tytso@mit.edu> - - * Makefile.in (install): Install hard links for man pages for - fsck.ext2 and fsck.ext3. Remove any compressed man - pages before installing the man pages. - -2002-02-22 Theodore Tso <tytso@mit.edu> - - * journal.c: Improve code maintainability and reduce code size by - moving common code paths in e2fsck_journal_init_dev() and - e2fsck_journal_init_inode() into e2fsck_get_journal(). - Also fixed a memory leak in recover_ext3_journal(). - - * super.c (release_orphan_inodes): Fix memory leak. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-12-24 Theodore Tso <tytso@mit.edu> - - * unix.c (PRS): Don't allow the -c and -l/-L options to be - specified at the same time. - - * e2fsck.h (E2F_OPT_WRITECHECK), unix.c (PRS), - badblocks.c (read_bad_blocks_file): If two -c options are - specified, then perform a non-destructive read/write scan - of the disk. - - * e2fsck.8.in: Document the double -c option; also encourage users - to use -c instead of the -l/-L options since it's too hard - for users to get things like the blocksize parameter correct. - -2001-12-23 Theodore Tso <tytso@mit.edu> - - * util.c (get_backup_sb): This function now searches for the - backup superblock by iterating over possible blocksizes - instead of defaulting a guess of 8193 if the superblock - isn't available. - - * message.c (expand_percent_expression), unix.c (main): Pass in - new parameters to get_backup_sb. Also, in unix.c, use the - blocksize paramter in the e2fsck context structure instead - of using a static variable, since get_backup_sb wants to - be able to set the blocksize paramter. - - * e2fsck.h: Update function prototype for get_backup_sb; also add - the blocksize parameter to the e2fsck context structure. - - * Makefile.in, jfs_user.h: Move linux/jbd.h to - ext2fs/kernel-jbd.h, to avoid using the system header - file version of hbd.h when using diet glibc (since it - forcibly adds /usr/include to the beginning of the - include search path.) - -2001-12-21 Theodore Tso <tytso@mit.edu> - - * problem.c (fix_problem): Use ctx->filesystem_name if the - ctx->device_name is NULL. - - * journal.c (e2fsck_check_ext3_journal): Give the opportunity to - run the journal even if recovery flag is cleared. If - we're using a backup superblock, run the journal by - default. - - * e2fsck.h (E2F_OPT_FORCE), unix.c (PRS, check_if_skip): Use a - bitfield in the e2fsck context flags word to indicate - whether or not a check should be forced. This allows the - journal code to set the option if necessary to force a - filesystem check. - - * problem.h, problem.c: Remove PR_0_JOURNAL_RESET_JOURNAL, and add - PR_0_JOURNAL_RUN and PR_0_JOURNAL_RUN_DEFAULT. Update - problem decription texts. - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * e2fsck.h (ext2fs_get_refcount_size), unix.c (check_mount, PRS), - pass1.c (adjust_extattr_refcount), - ea_refcount.c (ea_refcount_create): Fix gcc -Wall nits. - - * recovery.c, revoke.c: Update to versions from 2.4.17-pre8. - - * journal.c, jfs_user.h: Update support code for new version of - recover.c and revoke.c. Fix support for filesystems with - external journals. - -2001-11-30 Gabriel Paubert <paubert@iram.es> - - * journal.c (e2fsck_journal_load): Fix an endianness bug. - -2001-11-26 Theodore Tso <tytso@mit.edu> - - * super.c (check_super_block): Make sure that if the inode table - or allocation bitmap is zero, that it is marked as - invalid, so that in pass #1, a new bitmap/inode table gets - properly allocated. (Addresses Debian Bug #116975) - -2001-11-24 Theodore Tso <tytso@mit.edu> - - * e2fsck.8.in: Fix minor typo in man page and clarify device - specification. - -2001-10-07 Theodore Tso <tytso@mit.edu> - - * journal.c (clear_v2_journal_fields, e2fsck_journal_load): If the - V2 fields are set on a V1 journal superblock, or an - internal V2 journal has s_nr_users is non-zero, clear the - entire journal superblock beyond the V1 superblock. This - fixes botched V1->V2 updates. - - * problem.c, problem.h (PR_0_CLEAR_V2_JOURNAL): Add new problem code. - -2001-09-20 Theodore Tso <tytso@mit.edu> - - * e2fsck.h, journal.c (e2fsck_move_ext3_journal): Add new function - which will automatically relocate the ext3 journal from a - visible file to an invisible journal file if the - filesystem has been opened read/write. - - * super.c (check_super_block): Add call to e2fsck_move_ext3_journal - - * problem.c, problem.h (PR_0_MOVE_JOURNAL, PR_0_ERR_MOVE_JOURNAL): - Add new problem codes. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-19 Theodore Tso <tytso@mit.edu> - - * unix.c (main): If a superblock is specified explicitly by the - user, don't try to automatically fall back to an - alternate superblock. - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-30 Theodore Tso <tytso@valinux.com> - - * pass1.c (e2fsck_pass1): For EXT2_RESIZE_INO, allow its i_mode to - either be zero or a regular file (for compatibility with - Andreas's on-line resizing programs). - -2001-08-27 Theodore Tso <tytso@valinux.com> - - * unix.c (main): Remove EXT2FS_VERSION from the version display, - since it only confuses people. - - * pass1.c (strnlen): Provide strnlen if libc doesn't. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-13 Theodore Tso <tytso@valinux.com> - - * super.c (release_orphan_inodes): If the filesystem contains - errors, don't run the orphan * list, since the orphan list - can't be trusted. - - * pass1.c (check_size): Fix logic in check_size; the previous code - only offered to clear the inode size fields if both size - and i_size_high were zero. - (e2fsck_pass1_check_device_inode): If i_blocks is - non-zero, then assume that the device/socket/fifo inode - is bogus. - -2001-08-09 Theodore Tso <tytso@valinux.com> - - * pass1.c, pass2.c, problem.c, problem.h: Fix bug introduced by - Andreas's symlink code; check_blocks() was unconditionally - testing inode_bad_map without checking to see if it - existed first. Fixed problem a different way; we now no - longer check inode_bad_map at all, since the file might - not get deleted in pass 2 anyway. We move the large file - feature reconciliation code to to e2fsck_pass2(), and in - deallocate_inode() in pass2.c, we decrement the large - files counter if we're about to delete a large file. - - * unix.c (show_stats): Print the number of large files in verbose - mode. - -2001-08-07 Theodore Tso <tytso@valinux.com> - - * journal.c (recover_ext3_journal): If s_errno is set in the - journal superblock, set the EXT2_ERROR_FS flag in the - filesystem superblock after the journal is run. - -2001-08-04 Andreas Dilger <root@lynx.adilger.int> - - * message.c: Change comments for %D and %d expansion in e2fsck - problem codes. It was not consistent which was for dirent - expansion, and which was for directory number expansion. - - * problem.c (PR_2_FINAL_RECLEN, PR_2_BAD_FILETYPE): Fix problem - codes which got caught by the confusion between %D and %d. - -2001-08-04 Theodore Tso <tytso@valinux.com> - - * problem.c (PR_2_SYMLINK_SIZE): Change description to make it - more clear (and remove %s expansion). Also add missing - periods to the end of a number of problem descriptions. - - * pass2.c (e2fsck_process_bad_inode): Remove unneeded problem - context string set now that the problem description for - PR_2_SYMLINK_SIZE has been changed. - - * pass1.c (e2fsck_pass1_check_symlink): Consolidate some checks, - and check the validity of the symlink block here (so that - we detect this case here instead of later). Also use - sizeof(inode->i_block) instead EXT2_LINK_DIR. - -2001-07-30 Theodore Tso <tytso@valinux.com> - - * unix.c (check_mount): Remove the code which tested for the root - filesystem being mounted read-only, and depend on the - results flags from ext2fs_check_if_mounted. - -2001-07-29 Theodore Tso <tytso@valinux.com> - - * unix.c (check_if_skip): Free the e2fsck context structure on a - normal clean filesystem exit, to make it easier to find - real memory leaks. - (PRS): Only update the path to include /sbin at the - beginning if the -c option is given, again to make it - easier to find memory leaks. - (main): Move the final print_resource_track call after the - filesystem and the context are freed. - - * journal.c (e2fsck_journal_init_dev): Avoid memory leak if we - need to search for the journal device. - (e2fsck_journal_release): Free the journal IO channel when - we release the journal handle, to avoid a memory leak. - - * e2fsck.c (e2fsck_reset_context): Fix bug; only close the io - channel if it is *different* from the filesystem io - channel. - -2001-07-27 Theodore Tso <tytso@valinux.com> - - * problem.c (PR_1_SET_IMMUTABLE): Clarify problem message. - - * pass1.c (e2fsck_pass1): Check for symlinks that have the - immutable flag set (and offer to clear them). - -2001-07-26 Theodore Tso <tytso@valinux.com> - - * pass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of - pass 1. - -2001-07-25 Theodore Tso <tytso@valinux.com> - - * pass1.c (check_ext_attr): Skip zero-length EA entries. - - * problem.c: PR_1_EA_ALLOC_COLLISION shouldn't abort, but should - prompt to clear the EA block. - -2001-07-22 Theodore Tso <tytso@valinux.com> - - * journal.c (ll_rw_block): Use ctx->journal_io instead of the - filesystem's io_channel. - (e2fsck_journal_init_dev): New function which supports - initialization of the external journal. - (e2fsck_get_journal): Remove code which flagged an error - if the superblock reported the use of an external journal. - (ext3_journal_via_mount): Remove unsued, #ifdefed out function. - - * problem.c, problem.h: Removed error codes no longer used - (PR_0_JOURNAL_UNSUPP_DEV, PR_0_JOURNAL_BAD_DEV, - PR_0_JOURNAL_UNSUPP_UUID) and replace them with new error - codes related with failures in loading the external - journal (PR_0_JOURNAL_UNSUPP_MULTIFS, - PR_0_CANT_FIND_JOURNAL, PR_0_EXT_JOURNAL_BAD_SUPER). - Also changed the text assocated with PR_0_JOURNAL_BAD_UUID - to reflect the case where the external journal isn't - correct for this filesystem. - - * unix.c (PRS), e2fsck.8.in: Add new option -j which allows - the user to specify the pathname to find the external journal. - - * e2fsck.c (e2fsck_reset_context): Close journal_io if it isn't - the same as the filesystem io_channel. - - * e2fsck.h: Add new fields (journal_io and journal_name) in the - context structure to support external journals. - -2001-07-20 Theodore Tso <tytso@valinux.com> - - * unix.c (main): Add an explicit warning when the filesystem is - left not completely fixed when e2fsck exits. (Addresses - Debian bug #104502.) - -2001-07-19 Theodore Tso <tytso@valinux.com> - - * pass1.c (check_ext_attr): The entire EA block is now checked to - make sure that parts of the EA block aren't being used for - multiple purposes. - - * Makefile.in e2fsck.h, region.c: New file which is used to detect - collisions in extended attribute block. - - * problem.h, problem.c (PR_1_EA_MULTI_BLOCK, PR_1_EA_ALLOC_REGION, - PR_1_EA_ALLOC_COLLISION, PR_1_EA_BAD_NAME, - PR_1_EA_BAD_VALUE): Add new problem codes. - -2001-07-10 Theodore Tso <tytso@valinux.com> - - * journal.c (e2fsck_run_ext3_journal): Only call ext3_flush() if - the superblock is dirty. - -2001-07-07 Theodore Tso <tytso@valinux.com> - - * pass1b.c (pass1b, process_pass1b_block): Change the num_bad - field calculation so that it only counts EA block entries - as a single multiply claimed block (since once we clone - the EA blocks for one inode, we fix the problem for all of - the other inodes). Also, I moved the num_bad calculation - from process_pass1b_block to the end of pass1b. This - fixes a *significant* performance bug in pass1b which hit - people who had to had a lot of multiply claimed blocks. - (Can you say O(n**3) boys and girls? I knew you could... - Fortunately, this case didn't happen that much in actual - practice.) - - * pass1.c (e2fsck_pass1): Defer inodes which have an extended - attribute block for later processing to avoid extra seeks - across the disk. - (process_inode_cmp): If there is no indirect block, sort - by the extended attribute (i_file_acl) block. - - * pass1b.c (clone_file_block): Fix bugs when cloning extended - attribute blocks. Moved free of block_buf to after the - code which clones the extattr block, and fixed logic for - changing pointers to the extended attribute field in the - inodes which were affected. - (decrement_badcount): New function which is used whenever - we need to decrement the number of files which claim a - particular bad block. Fixed bug where delete_file wasn't - checking check_if_fs_block() before clearing the entry in - block_dup_map. This could cause a block which was claimed - by multiple files as well as the filesystem metadata to - not be completely fixed. - - * pass1.c (adjust_extattr_refcount): Add new function which - adjusts the reference counts of extended attribute blocks - if needed, both up and down. - (e2fsck_pass1): If the refcount or refcount_extra - structure are present, call adjust_extattr_refcount(), - and free it afterwards. - - * problem.h, problem.c (PR_1_EXTATTR_READ_ABORT, - PR_1_EXTATTR_REFCOUNT, PR_1_EXTATTR_WRITE): Add new - problem codes. - -2001-07-02 Theodore Tso <tytso@valinux.com> - - * pass1.c (e2fsck_pass1, check_ext_attr, check_blocks): Add - initial support for scanning extended attribute blocks. - - * e2fsck.c (e2fsck_reset_context): free extended attribute - refcount structure. - - * e2fsck.h: Add new fields for accounting for the extended - attribute blocks. - - * Makefile.in, ea_refcount.c, e2fsck.h: Add new file which - implements a reference count abstraction. - - * problem.c, problem.h: Add new problem codes PR_1_ALLOCATE_REFCOUNT, - PR_1_READ_EA_BLOCK, PR_1_BAD_EA_BLOCK, PR_2_FILE_ACL_BAD - - * message.c: Add "@a" as an abbreviation for "extended attribute" - - * pass1b.c (clone_file): Add code which handles cloning an - extended attribute block. - - * pass1b.c (delete_file): - * pass2.c (deallocate_inode): If the inode contains an extended - attribute block in the file_acl field, clear it and - deallocate the block. - -2001-06-28 Theodore Tso <tytso@valinux.com> - - * pass2.c (e2fsck_process_bad_inode): Deal with inodes which are - marked bad because of an invalid file_acl (either because - EXT2_FEATURE_COMPAT_EXT_ATTR is not set, or because the - block number in file_acl is bad. - -2001-06-29 Theodore Tso <tytso@valinux.com> - - * unix.c (show_stats): Use long long to calculate the percentage - of the number of blocks in use in the filesystem. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-22 Theodore Tso <tytso@valinux.com> - - * flushb.c: Use platform independent method of defining the - BLKFLSBUF ioctl. Also include sys/mount.h since on newer - platforms BLKFLSBUF is defined there. - -2001-06-19 Theodore Tso <tytso@valinux.com> - - * super.c (release_inode_blocks): Don't try to release the blocks - if the orphaned inode is a device file, symlink, or some - other kind of special file that doesn't have a block list. - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-13 Theodore Tso <tytso@valinux.com> - - * unix.c (check_if_skip): Adapted patch from Andreas Dilger which - prints the number of mounts or days elapsed since the last - check when e2fsck is forced to check an otherwise clean - filesystem. - -2001-06-12 Theodore Tso <tytso@valinux.com> - - * badblocks.c: Stop using the compatibility badblocks function, - and use the ext2fs_badblocks_* functions instead. - -2001-06-11 Theodore Tso <tytso@valinux.com> - - * unix.c (PRS): Fix bug introduced in 1.20 which broke the -F - flag. - - * Makefile.in: Add message.c and swapfs.c to the list of source - files to build the make depend. - - * swapfs.c, unix.c: Only support the -s and -S options to e2fsck - if ENABLE_SWAPFS is defined. - -2001-06-08 Theodore Tso <tytso@valinux.com> - - * recover.c, revoke.c: Synchronize with ext3 0.7a - -2001-06-02 Theodore Tso <tytso@valinux.com> - - * recovery.c (scan_revoke_records): Fix bug in recovery code; - missing byte order conversion. - - * pass1.c (mark_inode_bad): Replace alloc_bad_map with a function - which sets the bit in the bad inode bitmap. - (e2fsck_pass1): Check for fast symlinks with an invalid - size, and set the bad inode map in that case. - (check_size): Check i_size_high for special files and - prompt to clear it along with i_size if non-zero. - - * pass2.c (e2fsck_process_bad_inode): Check for fast symlinks with - an invalid size and prompt the user if the inode should be - cleared. - - * problem.h, problem.c (PR_2_SYMLINK_SIZE): Added new problem code. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * problem.c, problem.h: Change PR_0_JOURNAL_UNSUPP_INCOMPAT and - PR_0_JOURNAL_UNSUPP_ROCOMPAT so they aren't fatal errors, - but prompt to see if the user should abort. Removed the - PR_0_JOURNAL_RESET_COMPAT problem code. - - * journal.c (e2fsck_journal_load): If there are incompatible - journal flags, just return an error code. - (e2fsck_check_ext3_journal): If e2fsck_journal_load - returns an error code indicating that there are - incompatible journal flag, check to see if we should - abort, and then offer to clear the journal. - (Addresses Debian bug #98527.) - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode, - pass1_check_directory): Add a safety check to make sure - ctx->stashed_inode is non-zero. - - * pass1b.c (pass1b): Use e2fsck_use_inode_shortcuts() to disable - the inode shortcut processing, instead of manually - clearing only half of the function pointers that needed to - be NULL'ed out. This caused nasty bugs if the last inode - in the filesystem needed dup block processing. - - * pass1b.c (clone_file_block): When cloning a directory's metadata - block, don't try to update the directory block list - database, since indirect blocks aren't stored in the - database and the resulting error will abort the file clone - operation. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * journal.c (e2fsck_journal_reset_super): Remove extraneous line - -2001-05-23 Theodore Tso <tytso@valinux.com> - - * journal.c (e2fsck_journal_reset_super): Fix bug; the reset - journal wasn't getting written out to disk since the dirty - bit wasn't being set on the buffer. - (e2fsck_journal_load): Don't print an error message if the - journal version number is wrong; just return a error code - reflecting this fact. If the block type in the journal - superblcok is obviously not a version number, report the - journal is corrupted. - (e2fsck_check_ext3_journal): On an unsupported journal - version, prompt to abort by default, but then offer a - chance to clear the journal as corrupt. - - * problem.c, problem.h (PR_0_JOURNAL_UNSUPP_VERSION): Added new - problem code. - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * pass1.c: Treat inodes with a low dtime (that were from a - corrupted orphan list) specially. - - * problem.c, problem.h: Add new problem codes PR_1_LOW_DTIME and - PR_1_ORPHAN_LIST_REFUGEES, and a new latch group, - PR_LATCH_LOW_DTIME. - - * problemP.h: Expand the size of the problem flag to be an int - instead of a short. Expand space in the flag word which - is reserved for problem latch flags from 3 bits to 8 bits. - - * e2fsck.h, scantest.c: Change location of ext2_fs.h to be - ext2fs/ext2_fs.h - - * super.c (check_super_block): Be more strict on checking - s_r_blocks_count superblock field. - -2001-05-13 Theodore Tso <tytso@valinux.com> - - * problem.c, problem.h (PR_0_JOURNAL_UNSUPP_ROCOMPAT, - PR_0_JOURNAL_UNSUPP_INCOMPAT, PR_0_JOURNAL_RESET_COMPAT): - New problem codes. - - * journal.c (e2fsck_journal_load): Use a problem code to - report unsupported feature flags. There is code to - clear unsupported flags, but since this is dangerous, - it's not allowed in the problem code table. - -2001-05-11 Andreas Dilger <adilger@turbolinux.com> - - * journal.c (e2fsck_journal_reset_super): initialize the journal - sequence number to a random value to avoid recovering - bad transactions from a corrupt journal. - -2001-05-13 Theodore Tso <tytso@valinux.com> - - * journal.c: Code cleanup; initialize journal_enable_debug using - an initializer. - -2001-05-12 Theodore Tso <tytso@valinux.com> - - * unix.c (PRS): Skip validation of -C's file descriptor if it is - zero, since that is special case. - -2001-05-09 Theodore Tso <tytso@valinux.com> - - * super.c (release_orphan_inodes): Add gettext quoting around - "Truncating" and "Clearing" for i18n. - -2001-05-05 Theodore Tso <tytso@valinux.com> - - * util.c (fatal_error): Use the correct magic number when checking - the magic number for the io_channel data structure. Also - remove extraneous call to io_channel_flush() that was left - over from an editing session. - - * pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors - from ext2fs_read_dir_block(). - -2001-05-01 Theodore Tso <tytso@valinux.com> - - * unix.c (PRS): Validate the completion information file - descriptor so that the completion bar won't get - accidentally written onto the disk. - - * e2fsck.8.in: Add explanation that you can use mke2fs -n -b - blocksize to printout alternate superblock locations. - -2001-04-26 Theodore Tso <tytso@valinux.com> - - * unix.c (check_if_skip): If the max_mount_count is zero, treat it - as having no count set. - -2001-04-16 Theodore Tso <tytso@valinux.com> - - * super.c (check_super_block): Fix bad calculation of - inodes_per_block, and tighten min/max checks to be a bit - more paranoid. Thanks to Andreas Dilger for pointing out - this bug. - -2001-03-29 Theodore Tso <tytso@valinux.com> - - * journal.c (mark_buffer_uptodate): Add emulation of kernel - function mark_buffer_uptodate. - - * recovery.c, revoke.c: Synchronize with 0.6b ext3 files. - -2001-02-12 Theodore Tso <tytso@valinux.com> - - * journal.c (e2fsck_run_ext3_journal): Force a flush of the - filesystem and io_channel before replaying the journal. - -2001-01-17 Theodore Ts'o <tytso@valinux.com> - - * pass1.c (check_blocks): Fix large file checking code so that - files > 2GB are considered large files, and restrict - directories from being > 2GB. - -2001-01-12 Theodore Ts'o <tytso@valinux.com> - - * journal.c (e2fsck_journal_fix_unsupported_super): Remove unused - function. Add FIXME notes to e2fsck_get_journal(), from - Andreas Dilger. - - * pass1.c (e2fsck_pass1): Cap the maximum legal size of a file by - the limit caused by the fact that i_blocks is in 512 byte - units, and that the Linux buffer cache also fundamentally - assumes 512 byte sectors. - Make sure that the journal inode is a regular file, and - when clearing an unused journal inode, make sure the - icount db is updated. - - * problem.c, problem.h (PR_1_JOURNAL_BAD_MODE): Add new problem code. - - * problem.c: For PR_1_RESERVED_BAD_MODE, print a description of - the reserved inode. In PR_0_JOURNAL_HAS_JOURNAL, prompt - to clear the journal, rather than deleting it (which is - more accurate). (From Andreas Dilger.) - - * journal.c: Make sure all functions which return an error code - use the errcode_t return type, and not "int" - (e2fsck_journal_release): Add new parameter, "drop", - which is used when we just want to deallocate the journal - without trying to write out any changes. - (mark_buffer_clean): New function - (e2fsck_check_ext3_journal): If we fail loading the - journal, make sure we free all memory associated with it. - (recover_ext3_journal): If we fail to load the journal or - initialize the revoke data structures, make sure we free all - memory associated with the journal. - - * message.c (special_inode_name): Add more special inode names - (From Andreas Dilger) - - * util.c (fatal_error): Check to make sure the io_manager data - structure is sane before trying to flush the io_channel. - (From Andreas Dilger) - - * mtrace.h, super.c, pass2.c: Minor whitespace cleanups, from - Andreas Dilger. - - * journal.c (e2fsck_journal_fix_bad_inode): Set pctx->ino to the - bad journal number. - - * problem.c (PR_0_JOURNAL_BAD_INODE): Use pctx->ino instead of - pctx->num when printing the bad journal inode number. - -2001-01-11 <tytso@snap.thunk.org> - - * pass1.c (process_block): Remove dead code which was never - getting executed. - - * iscan.c, unix.c, e2fsck.h: Don't use NOARGS, and use - ext2fs_sync_device() instead of using BLKFLSBUF. - - * flushb.c: Don't use NOARGS anymore; everything is STDC these days. - - * dirinfo.c, e2fsck.h, emptydir.c, iscan.c, jfs_user.h, journal.c, - message.c, pass1.c, pass1b.c, pass2.c, pass3.c, pass4.c, - pass5.c, problem.h, scantest.c, super.c, swapfs.c: Change - ino_t to ext2_ino_t. - -2001-01-09 <tytso@snap.thunk.org> - - * problem.c: Fix another broken @F vs @f problem. - -2001-01-06 <tytso@snap.thunk.org> - - * journal.c, pass1.c, pass1b.c, pass3.c, recovery.c, revoke.c, - super.c, unix.c, util.c: Fix random gcc -Wall complaints. - - * jfs_user.h: Use more sophisticated inline handling to allow - building with --enable-gcc-wall - -2001-01-03 <tytso@snap.thunk.org> - - * pass1.c (e2fsck_pass1): Moved journal inode handling out to its - own block; if the journal inode is not in use, and it - contains data, offer to clear it. - - * problem.h, problem.c (PR1_JOURNAL_INODE_NOT_CLEAR): Add new - problem code. - - * problem.c: Modified problem table to use a new abbreviations. - - * message.c: Add @j abbreviation for journal, and @v abbreviation - for device. - - * jfs_user.h: Moved contents of jfs_e2fsck.h into jfs_user.h. - - * journal.c (e2fsck_check_ext3_journal): Force a fsck if we remove - the journal stored on a reserved inode. Also force a fsck - if the journal appears to exist while !NEEDS_RECOVERY, and - we forcibly reset the journal. - -2001-01-01 <tytso@snap.thunk.org> - - * journal.c, pass1.c, super.c, unix.c: Replace use of struct - ext2fs_sb with struct ext2_super_block. - - * pass1.c (check_blocks): Remove use of EXT2_HAS_*_FEATURE macros. - -2000-12-31 <tytso@snap.thunk.org> - - * jfs_compat.h: Remove uneeded header file. - -2000-12-30 <tytso@snap.thunk.org> - - * malloc.h, mtrace.c: Renamed malloc.h to mtrace.h to avoid - conflicts with the system header file. - - * problem.h: Fixed numbering of pass1 error messages; an extra 0 - had slipped into some of the numbers. (Pointed out by - Andreas Dilger) - - * journal.c (e2fsck_journal_fix_corrupt_super): Clean up - unnecessary automatic variable. Add explanatory comment - about the kernel emulation routines. (Suggested by - Andreas Dilger) - -2000-12-13 Theodore Ts'o <tytso@valinux.com> - - * journal.c (e2fsck_check_ext3_journal): Check to make sure the - journal fields are consistent if any of the superblock - fields are set. (Backs out erroneous change made by sct, - pointed out by Andreas.) - - * unix.c (main): Clarify coments (no code changes) - - * super.c (release_orphan_inodes): Fix spelling typo in error message. - - * pass1.c (e2fsck_pass1): Offer to update the filesystem revision - level if we need to set large files flag. Patch from - Andreas Dilger. - - * super.c (check_super_block): If we have any of the compatibility - flags set, we need to have a revision 1 filesystem. Most - kernels will not check the flags on a rev 0 filesystem - and we may have corruption issues because of the - incompatible changes to the filesystem. Patch from Andreas - Dilger. - - * problem.c, problem.h (PR_0_FS_REV_LEVEL, PR_1_FS_REV_LEVEL): Add - new problem codes. - -2000-12-09 <tytso@snap.thunk.org> - - * flushb.c: Fix flushb so that it does something other than waste - disk space when built on systems with modern header files - and add a non-subtle Copyright Licensing restriction so - Yann will remove it from the Debian Distribution. (Now - violates the Debian Free Software Guidelines, on purpose.) - - * journal.c (e2fsck_check_ext3_journal): If JFS_DEBUG is defined - at the top level, set the JFS debuging level to 2. - - * jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h. The jfs.h file - has been moved to the include/linux directory. - - * journal.c, revoke.c, recovery.c: Updated files from Stephen to - support the V2 superblock and revoke processing. The - journal.c and revoke.c files are copies from the ext3 - kernel source. - - * Makefile.in: Added revoke.c to the list of source/object files. - -2000-11-16 Theodore Ts'o <tytso@valinux.com> - - * pass1b.c: Change routines to use PR_1B_BLOCK_ITERATE when - reporting problems rather than using com_err directly. - - * problem.c, problem.h (PR_1B_BLOCK_ITERATE): Add new problem code. - - * message.c (expand_percent_expression): Add safety check. If - ctx->str is NULL, print "NULL" instead of dereferencing - the null pointer. - - * pass1b.c, pass2.c, pass3.c: Change calls to ext2fs_block_iterate - to ext2fs_block_iterate2, to support 64-bit filesizes and - to speed things up slightly by avoiding the use of the - ext2fs_block_iterate's compatibility shim layer. - -2000-10-30 <tytso@snap.thunk.org> - - * util.c (get_backup_sb): Calculate backup superblock correctly - when the blocksize is > 1k. - -2000-10-26 <tytso@snap.thunk.org> - - * jfs.h, jfs_compat.h, journal.c: Updated to include the - definition of the new journal superblock format; still - only supports V1 superblocks for now. (From sct) - -2000-10-24 <tytso@snap.thunk.org> - - * super.c (release_inode_block, release_inode_blocks, - release_orphan_inodes): Add code to deal with truncating - inodes which are still in use (but which are on the orphan - list because they need truncation). - - * problem.c, problem.h: Rename PR_0_CLEAR_ORPHAN_INODE to - PR_0_ORPHAN_CLEAR_INODE, and remove - PR_0_ORPHAN_INODE_INUSE. - - * journal.c (e2fsck_run_ext3_journal): Add i18n support, and print - a message when the journal is being recovered. - - * pass1.c (e2fsck_pass1): Don't check the i_mode field for the - journal inode, if it is in use. - -2000-09-12 <tytso@valinux.com> - - * extend.c: - * flushb.c: Add include of nls-enable.h which is necessary so that - they can compile correctly. - -2000-08-22 <tytso@valinux.com> - - * unix.c (main): If we're doing a read-only check, skip the - journal playback, but don't abort the e2fsck run. - - * super.c (release_orphan_inodes): Fix typo; should do bounds - checking on next_ino instead of ino. - - * jfs_compat.h (J_ASSERT): - * journal.c (e2fsck_run_ext3_journal): - * pass3.c (adjust_inode_count): Use fatal_error() instead of exit(). - - * unix.c: Use fatal_error() instead of exit() whenever possible. - Also fix the fsck exit codes so that we use FSCK_USAGE - when it is appropriate. Rename global_signal_ctx to - e2fsck_global_ctx and let it be exported globally. - - * util.c (fatal_error): Try to flush the I/O manager before - forcing an exit. - -2000-08-20 <tytso@valinux.com> - - * journal.c (e2fsck_journal_load): Fix **nasty** bug which caused - e2fsck_check_ext3_journal to smash the journal because - journal->j_transaction_sequence wasn't getting - initialized. - - * journal.c: (recover_ext3_journal, e2fsck_run_ext3_journal): Move - call to e2fsck_clear_recover from recover_ext3_journal to - after the filesystem has been closed and reopened. - Otherwise, the superblock in the filesystem handle will - probably be stale, and will overwrite the newer version of - the superblock written by the log recovery. - - * message.c (expand_inode_expression): Add support for %Iu and %Ig - - * problem.h (PR_0_CLEAR_ORPHAN_INODE): Add new problem code. - - * super.c (release_orphan_inodes, release_inode_block, - release_inode_blocks): Update the block group descriptor - counts when freeing the orphan inode. Use - PR_0_CLEAR_ORPHAN_INODE to report when we clear an orphan. - - * journal.c (e2fsck_run_ext3_journal): Fix a bug where we - attempted to reopen the filesystem using the device name - instead of the filesystem name. - -2000-08-18 <tytso@valinux.com> - - * Makefile.in: Update the make dependencies - - * problem.c, problem.h: Add the problem codes: - PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, - PR_0_ORPHAN_ALREADY_CLEARED_BLOCK, - PR_0_ORPHAN_ILLEGAL_HEAD_INODE, - PR_0_ORPHAN_ILLEGAL_INODE, PR_0_ORPHAN_INODE_INUSE - - * super.c (release_inode_blocks, release_orphan_inodes, - check_super_block): Add support for clearing orphaned - inodes from the unmounted filesystem. - - * journal.c (e2fsck_recover_ext3_journal): Remove the last orphan - check; this is now handled in check_super_block --- - non-journaled filesystems can use the orphan list in the - future. Also, move the the re-opening of the filesystem - to e2fsck_run_ext3_journal(). - -2000-07-12 Andreas Dilger <adilger@turbolinux.com> - - * journal.c: implement loading of ext3 journal for recovery code - - * problem.c (fix_problem): return answer from PR_AFTER_CODE to caller. - Add journal problems. - - * recovery.c (journal_recover): user-space ext3 journal recovery code - - * unix.c (main) : check journal and do recovery in separate steps - -2000-08-07 <tytso@snap.thunk.org> - - * unix.c (calc_percent): Make sure that we don't take a floating - exception if the max value is zero. (should normally - never happen, but...) - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-06 Theodore Ts'o <tytso@valinux.com> - - * unix.c (check_if_skip): Modify algorithm for checking - s_max_mnt_count to match with the kernel. (If - s_max_mnt_count is negative, ignore the mnt_count check.) - - * unix.c (e2fsck_update_progress): Adjust the width of the - progress bar dynamically, based on the filesystem name - that we need to display. - - * unix.c (main): If the ext3 needs_recovery flag is set, call - e2fsck_run_ext3_journal() and then restart the e2fsck run. - - * journal.c (e2fsck_run_ext3_journal): New file which contains - logic to recover the ext3 journal. This version relies on - the kernel being able to mount the filesystem in order to - run the journal. - -2000-07-05 Theodore Ts'o <tytso@valinux.com> - - * unix.c (e2fsck_update_progress): Only save and check the last - percentage after multiplying it by 10, nor 1000, since we - only need to save values to a tenth of a percent (and the - percentage is already from 0 .. 100%, not 0 .. 1). - Also, re-arrange the logic so that we do the time - check only after doing the percentage check, and we - only advance the spinner if we're about to display it. - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * pass1.c (e2fsck_pass1): Check to see if the ext3 s_last_orphan - field is set; if so, clear it, so that ext3 mounting code - won't get confused by the fact that we've cleared out the - orphaned inodes. - -2000-06-10 Theodore Ts'o <tytso@valinux.com> - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): Add error - checking for a "should never happen case". - - * problem.c, problem.h (PR_5_COPY_IBITMAP_ERROR, - PR_5_COPY_BBITMAP_ERROR): Add new error codes. - -2000-05-27 Theodore Ts'o <tytso@valinux.com> - - * pass1.c (pass1, check_size): Apply patch from Chris Wedgewood - (cw@foof.org) which checks to see if special devices have - a non-zero size, and deals with it. - - * problem.c, problem.h (PR1_SET_NONZSIZE): Add new problem code. - -2000-05-18 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in (install): Create a symbolic link for fsck.ext3 as - well. - -2000-05-08 Theodore Ts'o <tytso@valinux.com> - - * problem.c, problem.h (PR_0_HURD_CLEAR_FILETYPE): Add new problem - code. - - * super.c (check_super_block): If the OS type in the superblock is - the Hurd, check to see if the filetype feature is set, and - offer to clear it if so. This needs to be done since the - Hurd doesn't properly support the filetype feature. - (And since the hurd allows the transmogrification of files - to special files and vice versa --- for no good reason - that I can understand --- it can't support the filetype - feature for the forseeable future, either.) - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * unix.c: For platforms that don't define optarg.h, manually - define optarg and optind. - -2000-03-20 Theodore Ts'o <tytso@valinux.com> - - * pass1.c (check_immutable, e2fsck_pass1_check_device_inode): - Check for the append-only as well as the immutable flag. - - * problem.c (PR_1_SET_IMMUTABLE): Adjust message to include - append-only flag. Fix comment for compression flag. - -2000-02-12 <tytso@snap.thunk.org> - - * unix.c (e2fsck_update_progress): Limit the number of updates to - the progress bars to 8 times a second. This allows a 9600 - baud console link to keep up. - -2000-02-11 <tytso@snap.thunk.org> - - * unix.c (main): If compression is enabled on the filesystem, - print a warning message (for now). - - * message.c: Add new compression shortcut: @c == compress - - * problem.c, problem.h (PR_1_COMPR_SET): Add new error code. - - * pass1.c (check_blocks): If the inode has EXT2_COMPRBLK_FL flag - set, check to see if the filesystem supports compression. - If it does pass this information down to process_block() - so it can treat the compressed block flag words - correctly. If not, offer to clear the flag, since it - shouldn't be set. - (process_block): If an inode has the compressed inode flag - set, allow EXT2FS_COMPRESSED_BLKADDR. - - * pass1b.c (process_pass1b_block, delete_file_block, - clone_file_block): - * pass2.c (deallocate_inode_block): Use HOLE_BLKADDR to check to - see if the block can be skipped. - -2000-02-08 <tytso@snap.thunk.org> - - * util.c: Make resource tracking message more concise. - - * e2fsck.h: - * pass1.c (mark_table_blocks, e2fsck_pass1): Remove - ctx->block_illegal_map, since it's not needed by pass1, - and pass1b has been modified to calculate it manually if - needed. This reduces the memory footprint needed by e2fsck. - - * pass1b.c (check_if_fs_block): New static function which returns - whether or not a block overlaps with filesystem metadata. - This replaces consulting the block_illegal_map bitmap. - - * Makefile.in: Call sync after finishing building all in this - directory. - - * unix.c (PRS): sync the filesystem before trying to use - BLKFLSBUF, to minimize the chance of causing dirty blocks - to get dropped. - - * e2fsck.h: Manually define BLKFLSBUF if not defined, and we're on - a Linux/i386 system. - - * pass3.c (check_directory): Only do the loop detection algorithm - if we've searched over 2048 parent directories and haven't - found the end yet. This means that in the common case, we - don't allocate or clear the inode_loop_detection bitmap, - which for large systems, merely clearing the bitmap for - each directory was turning out to be quite expensive. - Thanks to Jani Jaakkola (jjaakkol@cs.helsinki.fi) for - identifying this problem. - -2000-02-06 Theodore Ts'o <tytso@valinux.com> - - * badblocks.c, e2fsck.h, ehandler.c, emptydir.c, extend.c, - flushb.c, iscan.c, message.c, pass1.c, pass1b.c, pass3.c - pass4.c, pass5.c, problem.c, scantest.c, swapfs.c, - unix.c, util.c: Add Internationalization support as - suggested by Marco d'Itri <md@linux.it>. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * e2fsck.h, flushb.c, scantest.c: Remove uneeded include of - linux/fs.h - -2000-01-18 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Since LIBUUID can sometimes include "-lsocket" - we need a separate DEPLIBUUID that can be used in - Makefile's dependency rules. - -1999-11-23 <tytso@valinux.com> - - * e2fsck.8.in: Update language about where to find a backup - superblock. - -1999-11-19 <tytso@valinux.com> - - * pass1.c (process_inodes): Add shortcut handling; if - process_inodes_count is zero, return right away, to avoid - calling qsort with a non-positive count. - - * message.c (safe_print): Fix to properly display ^A, ^B, etc. and - to print Delete as ^? - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-11-10 <tytso@valinux.com> - - * problem.c (fix_problem): Support a new flag, PR_PREEN_NO which - means the answer is assumed to be no in preen mode. This - is now used in the PR_1_SET_IMMUTABLE code, so that in - preen mode we ignore these inodes and just print a warning - message. - -1999-11-09 <tytso@valinux.com> - - * pass1.c (e2fsck_pass1): If the filesystem does not support - imagic inodes, if an inode has the imagic flag set, offer - to clear the imagic flag. If a valid device/fifo/socket - has the immutable flag set, call the new helper function - check_immutable() to offerto clear the immutable flag. - - * pass2.c (check_filetype): Use the new ext2_file_type() helper - function instead of calculating the file_type information - manually. - - * pass3.c (e2fsck_reconnect_file): When adding a link to - lost+found, calculate the filetype information so that - ext2fs_link() can use the information if applicable. - (get_lost_and_found): Create the /lost+found directory - with the correct filetype information if applicable. - - * util.c (ext2_file_type), e2fsck.h: New function which returns - the directory entry file type information given the - inode's mode bits. - - * problem.c, problem.h: Added new problem codes PR_1_SET_IMAGIC - and PR_1_SET_IMMUTABLE. - -1999-11-07 <tytso@valinux.com> - - * pass4.c (e2fsck_pass4): Clear inode_imagic_map after freeing it, - to prevent it from getting freed twice. - -1999-11-06 <tytso@valinux.com> - - * unix.c (main): Close the filesystem before freeing the context, - so that in the event of a free()-related segmentation - violation, the filesystem is properly closed and written - out. - -1999-10-27 <tytso@valinux.com> - - * e2fsck.c (e2fsck_reset_context): When freeing - ctx->inode_reg_map, we weren't zero'ing - ctx->inode_reg_map, which could cause a segfault later on - in the e2fsck run. - -1999-10-26 <tytso@valinux.com> - - * problem.h (PR_2_SPLIT_DOT): Fix excess zero in problem code (now - matches the standard convention). - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * message.c (safe_print): Make safe_print take an char instead of - an unsigned char to fix gcc warnings. - -1999-10-25 <tytso@valinux.com> - - * util.c: For NT portability, don't redefine getchar(), since - stdio defines that. Instead we introduce a new - abstract macro read_a_char() which is #defined to the - right function as necessary. - - * problem.c, problem.h (PR_2_NULL_NAME): Add new problem code. - - * pass2.c (check_dir_block): Require that the length of the - directory entry be at least 12 bytes. Check to see if the - filename is zero-length, and flag that as an error. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-22 <tytso@valinux.com> - - * pass2.c (check_filetype): If the filetype filesystem feature is - not set, and a directory entry has a dirent feature, offer - to clear it (since 2.0 kernels will do complain will - interpret it as a very large name length field). - - * problem.c (PR_2_CLEAR_FILETYPE): Add new problem code. - -1999-10-21 <tytso@valinux.com> - - * e2fsck.8.in: Update man page to use a more standard format (bold - option flags and italicized variables), as suggested by - Andreas Dilger (adilger@enel.ucalgary.ca) - - * pass4.c (e2fsck_pass4): If an inode is set in the - inode_imagic_map bitmap, don't check to see if it is - disconnected from the inode tree (because it almost - certainly will be). Free inode_imagic_map at the end of - pass 4. - - * pass2.c (check_dir_block, check_filetype): If the FILETYPE - feature is set, check the directory entry's filetype - information field, and fix/set it if necessary. - (e2fsck_pass2): Free the inode_reg_map bitmap at the end - of pass 2. - - * pass1.c (e2fsck_pass1, alloc_imagic_map): Allocate and fill in - information for inode_reg_map and inode_imagic_map, which - indicates which inodes are regular files and AFS inodes, - respectively. - Since only the master superblock is written during a - restart, force that superblock to be used after a restart; - otherwise changes to the block group descriptors end up - getting ignored. - - * problem.c, problemP.h: If e2fsck is run -n, make def_yn variable - be 0 for "no". Add support for a new flag, PR_NO_NOMSG, - which supresses the problem message if e2fsck is run with - the -n option. - - * problem.c, problem.h (PR_2_SET_FILETYPE, PR_2_BAD_FILETYPE): Add - new problem codes. - - * message.c (expand_dirent_expression): Add support for %dt which - prints the dirent type information. - - * e2fsck.c (e2fsck_reset_context): Free new bitmaps (inode_reg_map - and inode_imagic_map). - - * e2fsck.h (e2fsck_t): Add new inode_reg_map and inode_magic_map - to the context structure. - -1999-09-24 <tytso@valinux.com> - - * unix.c (PRS), util.c (ask_yn): Add #ifdef's to make - e2fsprogs easier to port to non-Unix platforms. - -1999-09-07 <tytso@valinux.com> - - * pass3.c (adjust_inode_count): Fix bug where we didn't keep the - internal and external inode counts in sync when we - decremented an inode whose link count was already zero. - Now we skip incrementing or decrementing both link counts - if we would cause an overflow condition. - (expand_dir, expand_dir_proc): Change where we update the - inode block count and size files so that the block count - field is updated correctly when we create an indirect block. - -1999-08-05 <tytso@valinux.com> - - * super.c (check_super_block): Check to see whether the - inodes_per_group value in the superblock is insanely too - high. - -1999-08-02 <tytso@valinux.com> - - * pass1b.c (clone_file_block): Don't clear the dup_map flag if - the block also shares data with the fs metadata when - the count drops to 1, since the block should still be - cloned, as fs metadata isn't included in the count. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-07-19 <tytso@valinux.com> - - * unix.c (usage): Add minimalist emergency help to the usage - message. - -1999-07-18 <tytso@valinux.com> - - * unix.c: Add support for calculating a progress bar if the -C0 - option is given. The function e2fsck_clear_progbar() - clears the progress bar and must be called before any - message is issued. SIGUSR1 will enable the progress bar, - and SIGUSR2 will disable the progress bar. This is used - by fsck to handle parallel filesystem checks. Also, set - the device_name from the filesystem label if it is - available. - - * e2fsck.h: Add new flags E2F_FLAG_PROG_BAR and - E2F_FLAG_PROG_SUPRESS. Add new field in the e2fsck - structure which contains the last tenth of a percent - printed for the user. - - * message.c (print_e2fsck_message): Add call to - e2fsck_clear_progbar(). - - * pass1.c (e2fsck_pass1): - * pass2.c (e2fsck_pass2): - * pass3.c (e2fsck_pass3): - * pass4.c (e2fsck_pass4): - * pass5.c (e2fsck_pass5): Add call to e2fsck_clear_progbar when - printing the resource tracking information. - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): If there is - an error in the bitmaps, suppress printing the progress - bar using the suppression flag for the remainder of the - check, in order to clean up the display. - -1999-06-30 <tytso@valinux.com> - - * unix.c (check_mount): Clean up the abort message displayed when - the filesystem is mounted and either stdout or stdin isn't - a tty. - -1999-06-25 <tytso@valinux.com> - - * e2fsck.h: - * pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode, - pass1_check_directory, e2fsck_use_inode_shortcuts): Make - pass1_* be private static functions, and create new - function e2fsck_use_inode_shortcuts which sets and clears - the inode shortcut functions in the fs structure. - - * e2fsck.h: - * pass2.c (e2fsck_process_bad_inode): Make process_bad_inode() an - exported function. - - * pass4.c (e2fsck_pass4): Call e2fsck_process_bad_inode to check - if a disconnected inode has any problems before - connecting it to /lost+found. Bug and suggested fix by - Pavel Machek <pavel@bug.ucw.cz> - -1999-06-21 <tytso@valinux.com> - - * unix.c (main): Add missing space in the disk write-protected - message. - -1999-05-22 <tytso@rsts-11.mit.edu> - - * problem.c, problem.h (PR_0_INODE_COUNT_WRONG): Add new problem - code. - - * super.c (check_super_block): Add check to make sure the total - number of inodes is sane, since this can be calculated - from the number of groups times the number of inodes per - group. Offer to correct it if it is incorrect. - -1999-03-19 <tytso@rsts-11.mit.edu> - - * pass5.c (check_block_end): Fix fencepost condition where when - clearing the block padding we were missing the last position - in the bitmap. - -1999-05-17 <tytso@rsts-11.mit.edu> - - * unix.c (reserve_stdio_fds): Add safety check in case - reserve_stdio_fds couldn't open /dev/null. - -1999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * util.c (print_resource_track): Use mallinfo if present to get - more accurate malloc statistics. - - * pass3.c (get_lost_and_found): Check to see if lost+found is a - plain file; if so, offer to unlink it. - - * problem.c, problem.h (PR_3_LPF_NOTDIR): Add new problem code. - -1999-03-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * problem.c: Fix problem message for PR_1_BAD_GROUP_DESCRIPTORS so - that the block group number is printed. Add new prompt, - PROMPT_UNLINK. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * message.c (safe_print): New function which prints strings, - converting non-printable characters using the '^' and - M-notation. This function is now used to print directory - name entries and pathnames. - -Mon Jan 4 02:28:59 1999 Theodore Y. Ts'o <tytso@mit.edu> - - * unix.c (main): Reset the context before calling ext2fs_close(), - to avoid referencing already freed memory. - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass3.c (get_lost_and_found): If the filesystem is not opened - read-only, then force /lost+found to be created if it is - not present. - - * problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen - operation. - -1998-10-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (main): Move ext2fs_close() after e2fsck_free_context() - since e2fsck_free_context may reference data in ctx->fs. - - * e2fsck.c (e2fsck_reset_context): Make sure ctx->fs is non-NULL - before checking ctx->fs->dblist. - -1998-10-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (e2fsck_pass1): Use the device check subroutine on - FIFO's and Socket's, so that we catch bogus immutable inodes. - - * pass2.c (process_bad_inode): Process bad socket and fifo's. - - * problem.h, problem.c: Define new problem codes PR_2_BAD_FIFO and - PR_2_BAD_SOCKET. - -1998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * problem.c: Add PR_3_NO_DIRINFO error code. - - * super.c (check_super_value): Rename min and max to min_val and - max_val to avoid possible cpp macro conflicts. - - * pass4.c (e2fsck_pass4): Rename max to maxgroup, to avoid - possible cpp macro conflicts. - - * pass3.c (e2fsck_pass3): Rename max to maxdirs, to avoid possible - cpp macro conflicts. - (check_directory): Fix logic to avoid possible core dump - in the case of ext2fs_get_dir_info returning NULL. (By - the time we get here, it should never happen, but...). - Also simply/streamline the control flow of the function. - -1998-08-17 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (check_if_skip): Move the "not cleanly mounted" check - ahead of the maximal mount and too long since checked tests. - (reserve_stdio_fds): Make sure 0,1,2 file descriptors are - open, so that we don't open the filesystem using the same - file descriptor as stdout or stderr. - -1998-08-01 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass2.c (e2fsck_pass2): Fix the progress accounting so that we - get to 100%. - - * pass3.c (e2fsck_pass3): Change progress accounting to be - consistent with the other e2fsck passes. - - * e2fsck.c (e2fsck_run): At the end of each pass, call the - progress function with the pass number set to zero. - - * unix.c (e2fsck_update_progress): If the pass number is zero, - ignore the call, since that indicates that we just want to - deallocate any progress structures. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (main): Fix typo in checking the incompat feature set; it - should be checked against EXT2_LIB_FEATURE_INCOMPAT_SUPP. - -1998-07-07 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.c (test_disk): Don't clear the existing bad blocks - list when using e2fsck -c, since it may cause blocks with - marginal errors to be dropped from the bad blocks list. - -Mon Jul 6 10:32:11 1998 Theodre Ts'o <tytso@lurch.mit.edu> - - * pass1.c (e2fsck_pass1): Use ext2fs_sb structure for - compatibility with older kernels. - -1998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (e2fsck_update_progress): Remove unused variables. - -1998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c, problem.h: Change blkcnt_t to be e2_blkcnt_t to avoid - collision with LFS API. - - * pass1.c (e2fsck_pass1): Fix bug so that ext2_max_sizes is - properly initialized. - (e2fsck_pass1): Don't allow the the boot loader inode to - be a directory (clear the inode mode field if so). - -1998-05-07 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (PRS): Added new option -C, which causes e2fsck to print - progress updates so that callers can keep track of the - completion progress of e2fsck. Designed for use by - progress, except for -C 0, which prints a spinning report - which may be useful for some users. - - * pass5.c (e2fsck_pass5): Use a finer-grained progress reporting - scheme (useful for larger filesystems). - - * e2fsck.h: Add progress_fd and progress_pos, for use by the Unix - progress reporting functions. - -1998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (process_inode_cmp): Use EXT2_QSORT_TYPE to define the - appropriate return type for comparison functions for qsort. - - * e2fsck.h: Add #ifdef protection for unistd.h - - * super.c: Remove header files already included by e2fsck.h - -1998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dirinfo.c (e2fsck_add_dir_info): Update function to pass the old - size of the memory to be resized to ext2fs_resize_mem(). - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. Remove cat8dir from the installdirs target, - since modern man package don't necessarily put the cat - directory in /usr/man/cat?. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * super.c, e2fsck.h: Always declare e2fsck_get_device_size() as an - extern in e2fsck.h to prevent -Wall warnings. - - * pass4.c (e2fsck_pass4): Remove unused variable 'j'. - -1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * super.c (check_super_block): Fix broken superblock sanity check - when calculating blocks_per_group if s_log_frag_size != - s_log_block_size. Since we don't support fragments, this - isn't a bug deal, but it's good to get it fixed. - -1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c: Fix bug in check of feature set, to make sure we can - really fix this filesystem. - - * problem.h: Make blkcount type to be of type blkcnt_t. Make the - num field be a 64 bit type. Add the problem code - PR_1_FEATURE_LARGE_FILES - - * problem.c: Add table entry for the problem code - PR_1_FEATURE_LARGE_FILES. - - * pass1.c (e2fsck_pass1): A non-zero i_dir_acl field is only - a problem for directory inodes. (Since it is also - i_size_high now.) If there are no large_files, then - clear the LARGE_FLAG feature flag. If there are - large_files, but the LARGE_FLAG feature flag is not set, - complain and offer to fix it. - (check_blocks): Add support to deal with non-directory - inodes that have i_size_high set (i.e., large_files). - Don't give an error if a directory has preallocated - blocks, to support the DIR_PREALLOC feature. - (process_block, process_bad_block): The blockcnt variable - is a type of blkcnt_t, for conversion to the new - block_iterate2. - - * pass2.c (process_bad_inode): A non-zero i_dir_acl field is only - a problem for directory inodes. (Since it is also - i_size_high now.) - - * message.c (expand_inode_expression): Print a 64-bits of the - inode size for non-directory inodes. (Directory inodes - can only use a 32-bit directory acl size, since - i_size_high is shared with i_dir_acl.) Add sanity check - so that trying to print out the directory acl on a - non-directory inode will print zero. - (expand_percent_expression): %B and %N, which print - pctx->blkcount and pctx->num, can now be 64 bit - variables. Print them using the "%lld" format if - EXT2_NO_64_TYPE is not defined. - - * e2fsck.h: Add the large_flagsfield to the e2fsck context. - - * e2fsck.c (e2fsck_reset_context): Clear the large_flags - field. - -Sun Mar 8 23:08:08 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass3.c (fix_dotdot_proc): - * pass2.c (check_dot, check_dotdot, check_name, check_dir_block): - * message.c (expand_dirent_expression): Mask off the high eight - bits of the directory entry's name_len field, so that it - can be used for other purposes. - -Fri Feb 27 00:01:39 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (e2fsck_run): Since E2F_FLAG_SIGNAL_MASK doesn't - include EXT2_FLAG_RESTART anymore, we need to adjust this - routine so that it *does* return in the case of it seeing - EXT2_FLAG_RESTART. - - * pass1.c (e2fsck_pass1): ext2_get_next_inode() may call the group - done callback function, which may set context abort - flags. So we need to test the context abort flags after - we call ext2_get_next_inode(). - (process_inodes): If we abort due out of process_inodes, - do a clean exit by breaking out of the for loop instead of - just returning. - - * e2fsck.h (E2F_FLAG_SIGNAL_MASK): EXT2_FLAG_RESTART shouldn't be - considered a SIGNAL mask (i.e., requiring an immediate - abort of processing to restart). FLAG_RESTART just means - that we want to restart once pass 1 is complete. - -Tue Feb 24 15:19:40 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Change the progress function to return an integer; if returns 1, - then the progress function is expected to have set the - e2fsck context flag signalling a user abort, and the - caller should also initiate a user abort. - -Tue Feb 17 19:03:44 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): Don't call - end_problem_latch() unless there was actually a problem - latched. Simplifies semantics of the latch processing. - -Mon Feb 16 17:31:44 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.h: Add new field, priv_data to the e2fsck context - structure. It should be used by callers of the e2fsck - functions only, and not by anything in e2fsck itself. - -Mon Feb 7 17:31:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * super.c: Instead of call ext2fs_get_device_size(), define and call - e2fsck_get_device_size(). (This function may be stubbed - out in special versions of e2fsck.) - - * pass3.c, pass4.c: Remove extra calls to the progress function - that weren't needed. - - * mke2fs.8.in: Update man page to note that the format of the bad - block file is the same as the one generated by badblocks. - -Sun Feb 1 07:57:14 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dirinfo.c, e2fsck.c: Don't include com_err.h; it isn't needed. - - * e2fsck.h: Include <time.h> since it is needed - - * super.c: If EXT2_SKIP_UUID is defined, then skip the UUID - processing. - -Tue Jan 20 15:37:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (main): In the case where the filesystem revision is too - high, print the message about the superblock possibly - being corrupt. - - * e2fsck.8.in: Add expanded comments about how the -b option - works. - -Sat Jan 17 13:02:16 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.h: If EXT2_FLAT_INCLUDES is defined, then assume all of - the ext2-specific header files are in a flat directory. - - * dirinfo.c, ehandler.c, pass1.c, pass1b.c, pass2.c, pass5.c, - super.c, swapfs.c, unix.c: Explicitly cast all assignments - from void * to be compatible with C++. - -Tue Jan 6 11:30:24 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (sync_disk): Remove sync_disk and calls to that function, - since ext2fs_close() now takes care of this. - -Mon Dec 29 14:45:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c, pass1b.c, pass2.c, pass3.c, swapfs, badblocks.c, - ehandler.c, unix.c: Change use of private to be priv_data, - to avoid C++ reserved name clash. - -Fri Nov 28 09:30:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dirinfo.c (e2fsck_add_dir_info): Use ext2fs_get_num_dirs instead - of e2fsck_get_num_dirs, which has been removed. - -Tue Nov 25 15:54:35 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (PROGS): Remove @EXTRA_PROGS@, since we don't want - to compile and install flushb. - -Mon Nov 24 06:48:00 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (e2fsck_pass1_check_device_inode): For now, only check - to make sure the extra i_blocks in a device are cleared if - the immutable flag is set. - - * util.c (print_resource_track): Fix typo which caused the - time/resource tracking to print "Pass 1 :" instead of - "Pass 1: ". - -Thu Nov 20 16:02:23 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass3.c (expand_directory): Fix bug which could cause core dump - when expanding the directory, and the bitmaps hadn't yet - been read in. Also, only use ext2fs_write_dir_block when - writing a directory block, not when writing out a fresh - indirect block. - -Wed Nov 19 16:15:44 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (process_bad_block): Fix bug where first_block wasn't - getting incremented, which caused user to get a - "Programming error?" warning if there was a bad block in a - non-primary superblock/group_descriptor. Also fixed - another bug so that ext2fs_bg_has_super() is consulted, to - avoid problems when using a filesystem with the - sparse_groups option set and there are bad blocks at the - beginning of a group which doesn't have a superblock. - -Thu Nov 6 16:10:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c, pass2.c, pass3.c, pass4.c, pass5.c: Add calls to the - progress indicator function. - - * pass1.c (scan_callback): Add call to the progress feedback - function (if it exists). - -Tue Nov 4 09:45:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * super.c (check_super_block): Skip the device size check if the - get_device_size returns EXT2_EXT_UNIMPLEMENTED. - - * iscan.c (main): Don't use fatal_error() anymore. - - * pass1b.c, swapfs.c, badblocks.c: Set E2F_FLAG_ABORT instead of - calling fatal_error(0). - - * problem.c, pass3.c (PR_3_ROOT_NOT_DIR_ABORT, - PR_3_NO_ROOT_INODE_ABORT): New problem codes. - - * problem.c, pass2.c (PR_2_SPLIT_DOT): New problem code. - - * problem.c, pass1.c (PR_1_SUPPRESS_MESSAGES): New problem code. - - * problemP.h: New file which separates out the private fix_problem - data structures. - - * util.c, dirinfo.c, pass1.c, pass1b.c, pass2.c, pass5.c, super.c, - swapfs.c util.c: allocate_memory() now takes a e2fsck - context as its first argument, and rename it to be - e2fsck_allocate_memory(). - -Mon Nov 3 14:35:29 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (main): Add a special case check for the error code EROFS - and display an appropriate error message for this case. - - * [lots of files]: Change ext2fs_read_inode, ext2fs_write_inode - to take the e2fsck context as their first argument. - Change dir_info.c routines to take an e2fsck_context, - renamed them to start with e2fsck_ to avoid namespace - issues, and changed them to store the directory - information inside the e2fsck context. - Added e2fsck_run() which calls all of the e2fsck passes in - the correct order, and which handles the return of abort - codes. Added abort processing, both via setjmp/longjmp - and via flags in the e2fsck context. Use a flag in the - e2fsck context instead of the restart_e2fsck global - variable. Change uses of free and malloc to - ext2fs_free_mem and ext2fs_get_mem. - -Fri Oct 31 01:12:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c, pass3.c: Rename new error codes to _ET_ in them for - consistency. - -Sat Oct 25 00:10:58 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass3.c (get_lost_and_found): Check error return of - EXT2_FILE_NOT_FOUND instead of ENOTDIR - - * pass1.c (pass1_check_directory): Return EXT2_NO_DIRECTORY - instead of ENOTDIR - -Fri Oct 24 00:12:39 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix.c (PRS): Make the variable which getopt returns into be - an int, so that it won't lose on platforms where char is - unsigned. - - * pass1b.c (clone_file): Fix bug in error reporting in the case - where cs.errcode is non-zero. - -Sun Oct 19 21:12:11 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass*.c, super.c, unix.c, util.c, e2fsck.h: Place #ifdef - RESOURCE_TRACK around code which uses init_resource_track - and print_resource_track. (Not all systems have timeval) - - * super.c: Remove excess #includes which are not necessary. - - * e2fsck.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H - -Fri Oct 3 13:40:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass*.c, super.c: Massive changes to avoid using printf and - com_err routines. All diagnostic messages are now routed - through the fix_problem interface. - -Sat Sep 6 17:13:28 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass2.c (check_dir_block): Check for duplicate '.' and '..' - entries. - - * problem.c, problem.h: Add new problem codes PR_2_DUP_DOT and - PR_2_DUP_DOT_DOT. - -Tue Sep 2 09:04:51 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * problem.c: Added new problem codes for some of the - superblock corruption checks, and for the pass header - messages. ("Pass 1: xxxxx") - - * util.c (print_resource_track): Now takes a description - argument. - -Mon Aug 25 10:23:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * super.c, unix.c, e2fsck.c: New files to separate out the - operating-specific operations out from e2fsck.c. - e2fsck.c now contains the global e2fsck context management - routines, and super.c contains the "pass 0" initial - validation of the superblock and global block group - descriptors. - - * pass1.c, pass2.c, pass3.c, pass4.c, pass5.c, util.c: Eliminate - (nearly) all global variables and moved them to the e2fsck - context structure. - - * problem.c, problem.h: Added new problem codes PR_0_SB_CORRUPT, - PR_0_FS_SIZE_WRONG, PR_0_NO_FRAGMENTS, - PR_0_BLOCKS_PER_GROUP, PR_0_FIRST_DATA_BLOCK - -Thu Aug 14 10:55:21 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * message.c: Add compression for the word "Illegal" - - * problem.c: Added entries for PR_2_BAD_CHAR_DEV and - PR_2_BAD_BLOCK_DEV - -Wed Aug 13 09:55:57 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (pass1, check_device_inode), pass2.c - (process_bad_inode): Use a more stringent test for a valid - device. - -Sun Aug 10 18:58:02 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_mount): Add stronger warning message about the - perils of running e2fsck on a mounted filesystem. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Jun 12 00:25:31 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (mark_table_blocks): Mark the superblock and group - descriptor blocks first, so that any conflicts between - these and the bitmap or inode table blocks is noticed. - - * problem.c: Fix message printed out when a block or inode bitmap - conflicts with other fs data, has the correct group number - in it. - -Tue Jun 10 12:07:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass2.c (pass2): Check the error return from ext2fs_dblist_iterate. - -Thu May 8 22:45:27 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.8.in: Fix minor typos and grammer oops found by Bill - Hawes (whawes@star.net). - - * badblocks.c (read_bad_blocks_file): Pass the blocksize to the - bad blocks command so that all of the filesystem gets - tested in the case where the blocksize 2048 or 4096. - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Mon Apr 21 22:43:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1b.c (pass1b): While scanning for inodes, simply skip inodes - where ext2fs_get_next_inode returns the - EXT2_ET_BAD_BLOCK_IN_INODE_TABLE error. - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Thu Apr 10 13:51:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1b.c (clone_file_block): If we clone a directory, we need to - update the dblist entry so that we check (and correct) the - right directory block. - -Sun Apr 6 09:13:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (process_block): Don't clear blocks references to - filesystem metadata; let pass 1B handle this case. - - * problem.c, problem.h: Add new problem, PR_1B_SHARE_METADATA. - - * pass1b.c (pass1d): Deal with a block which is shared with - filesystem metadata. - - * e2fsck.h: Make block_illegal_map be a global variable - -Sat Apr 5 11:51:58 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c, pass1.c (mark_table_blocks): Support the sparse_super - feature. - (get_backup_sb): New function which attempts to obtain the - correct backup superblock (if possible). - -Fri Apr 4 10:46:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (main): Check the version of the library, and warn if - the library is out of date; this happens generally due to - users who manually install e2fsprogs. - - * pass1.c (pass1_get_blocks): If the passed in inode number for - get_blocks isn't what we're expecting pass back - EXT2_ET_CALLBACK_NOT_HANDLED. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Tue Mar 11 10:31:47 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * icount.c: New file which implements an inode count abstraction. - This significantly reduces amount of memory needed to - check really large filesystems. - - * pass1.c, pass2.c, pass3.c, pass4.c: Modified to use the icount - abstraction. - -Fri Mar 7 08:28:55 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dirinfo.c (dir_info_iter): New function which allows iteration - over the directories in the dir_info map. - - * pass3.c (pass3, check_directory): Speed up pass 3 by iterating - over all directories in the dir_info structure, instead of - iterating all inodes looking for directories, and then - looking up the directories using get_dir_info(). - -Sat Feb 1 11:33:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (pass1, process_block): - * pass2.c (pass2): Use the ext2_dblist abstraction instead of - manual code to manage the directory block list information. - - * pass1.c (check_blocks), pass1b.c (pass1b), pass2.c - (deallocate_inode): Call the ext2 library routine - ext2_inode_has_valid_blocks() instead of - inode_has_valid_blocks(). - - * swapfs.c (swap_inodes): Add check so that we don't try to call - swap_inode_blocks unless the inode has valid blocks. - (Otherwise a long fast symlink might cause - swap_inode_blocks to erroneously get called.) - -Wed Jan 22 14:42:53 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * problem.c, problem.h: Added entries for PR_2_DOT_NULL_TERM and - PR_2_DOT_DOT_NULL_TERM. - - * pass2.c (check_dot, check_dot_dot): Make sure the new . and - .. entries are null-terminated, since the 2.0 kernel - requires this (for no good reason). - -Mon Jan 20 20:05:11 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (pass1): Set the EXT2_SF_SKIP_MISSING_ITABLE flag so - that we can recover from missing inode tables. - - * dirinfo.c (get_dir_info): If there are no directories in the - dir_info abstraction, don't core dump (because dir_info is - NULL). - - * e2fsck.c (main): Don't try using the backup superblocks if there - aren't any. - (check_super_block): If there are illegal inode table or - bitmaps, set the filesystem as being in error. - -Wed Jan 15 11:32:01 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass2.c (check_dir_block): Added check to make sure that rec_len - is a a multiple of 4 (so that the directory entries are - 4-byte aligned). - -Sat Dec 28 12:16:32 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (uninstall): Uninstall all programs in the PROGS - line. - (PROGS): Don't build and install the extend program by - default. - - -Sat Dec 7 16:41:02 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (process_inodes): Make sure the stashed_ino variable is - saved and restored as well. - (pass1): For fast sym links, skip the check_blocks - processing step altogether. - -Mon Dec 2 09:28:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * problem.c, message.c: New files, to completely refurbish how - filesystem problems are reported to the user. The - diagnostic messages are now encoded out in an easily - customizable, extensible format. The messages printed out - in preen mode are all on one line, and contain the device - name. - -Fri Nov 29 20:26:08 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * swapfs.c (swap_inodes): When swapping a filesystem, ignore - deleted files. - - * pass1.c (pass1): Ignore missing inode table errors during the - scan, and just skip past those inodes. - - * pass3.c (check_root): Remove root_ino argument, and assume that - the root inode must be EXT2_ROOT_INO. Move responsibility - of setting the parent of the root inode in the directory - inode structure to pass2(). - - * pass2.c (check_dir_block): Don't allow links to the root - directory. - - * dirinfo.c (add_dir_info): Remove last argument to add_dir_info, - since the inode is no longer used. - -Tue Oct 15 00:06:49 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (main): If the superblock magic number is wrong, or the - block group fails a sanity check, then automatically - restart trying to use the backup superblocks. - - * pass1.c (mark_table_blocks): Make the inode tables ahead of - everything else; in the case where a bitmap block overlays - the inode table, the inode table should take precedence. - - * pass2.c (maybe_clear_entry): Make the deleted/unused error - message fit on one line, since the error can happen during - a preen pass. (We eventually need to revamp the whole - e2fsck error reporting and prompting system, but that's a - job for another day.) - -Mon Oct 14 22:29:49 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (main): Read in the list badblocks into fs->badblocks - for the benefit of the inode scan functions. - - * pass1.c (pass1): If ext2fs_get_next_inode() returns an error - indicating that an inode is in a bad block, mark that - inode as being used, as well as in the inode "bb" map. - - * pass2.c (maybe_clear_entry): New function which generalizes the - error cases when a directory entry needs to be cleared. - (check_dir_block): If an inode is in the "bb" map, offer - to clear the directory entry, since the inode is in a bad - block. - - * pass4.c (pass4): If an inode is marked as used, but is is marked - in the "bb" map, don't process it as a disconnected inode. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Mon Oct 7 00:45:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (main): Print out the version number of the shared - library when using the -V option. - - * swapfs.c (swap_filesys): Change EXT2_SWAP to EXT2_FLAG_SWAP for - consistency's sake. - - * e2fsck.c (main): By setting EXT2_FLAG_MASTER_SB_ONLY, only write - out the backup superblocks when we know we have a valid - filesystem. - -Tue Oct 1 22:00:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * util.c (preenhalt): Make it explicit on preenhalt that running - e2fsck manually means without the -a or -p flag. - -Fri Sep 27 14:41:08 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (pass1): Add support for the EXT2_BOOT_LOADER inode. - (Linux/FT actually sets the mode bits, so we have to - handle it specially.) - - * e2fsck.c (check_if_skip): Print a message if the filesystem is - just dirty, so that the user knows that it's about to be - checked (since this will take a while). - -Mon Sep 16 17:00:01 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass4.c: If a disconnected inode is zero-length, prompt to - delete it instead of connecting it to lost+found. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Fri Aug 30 20:24:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass4.c (pass4): If the user refuses to connect an unattached - inode to lost+found, don't try to set i_links_count. This - is bad, since if the user says yes, the inode will be - marked as unused, which is not necessarily the right - thing, especially since the rest of the cleanup doesn't - happen here. - - * pass2.c (deallocate_inode): Set inode_link_info[ino] when - dellocating an inode. (Not strictly necessary, but...) - - * pass4.c (pass4): Add "bonehead" explanation to the "programming - error" message. - -Tue Aug 27 11:26:32 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (PRS,main): Added new options -s and -S. -s will - byte-swap the filesystem so that it is normalized. -S - will byte-swap the filesystem regardless of its current - byte-order. - - * swapfs.c: New file, which will byte-swap a filesystem. - -Tue Aug 20 09:41:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (pass1): Change handling on files with non-zero dtime - and non-zero i_link_count; before we treated them as - deleted file per botched ext2 0.3c kernel behavior. We - now clear dtime instead. - -Mon Aug 19 23:33:57 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (main): If e2fsck sets the clean bit, even if - nothing else is changed, make sure FSCK_NONDESTRUCT is - set (since after all having the filesystem set to - invalid is an error. :-) - -Fri Aug 9 10:25:13 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pass1.c (process_block): Make sure that meta data doesn't get - accidentally set in the dir_blocks array (which could - happen in some error condtions). - - * pass1.c (pass1): - * pass2.c (process_bad_inode): Check for fragments in a - OS-independent fashion. - -Thu Aug 8 15:20:54 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_if_skip): Close the filesystem when skipping the - cleanup for the filesystem. - -Mon Jul 22 22:03:28 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c: Improve corrupt_msg, so that it's less confusing. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed May 15 21:41:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2fsck.c (relocate_hint): Issue a hint that the user may wish to - try "e2fsck -b 8193" before allowing e2fsck to relocate - inode table blocks. - - * Makefile.in (e2fsck): Build e2fsck statically or dynamically - depending on the option to configure. Added targets for - e2fsck.static and e2fsck.shared for people who want to - build a static or shared variant manually. - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Tue Mar 26 12:03:42 1996 <tytso@rsts-11.mit.edu> - - * e2fsck.c (show_stats): Don't use floating point to display - percentage of non-contiguous files, as different libc - handle result truncation differently, and this causes the - test suite to bomb out depending on which libc you are - using. - - * util.c (allocate_memory): Fix error message to omit extraneous - %%s. - -Tue Mar 5 03:50:40 1996 <tytso@rsts-11.mit.edu> - - * pass4.c (pass4): - * pass2.c (check_dir_block): - * pass1.c (pass1): Add support for dynamic first inode revision. - -Wed Feb 14 16:27:30 1996 <tytso@rsts-11.mit.edu> - - * pass3.c (check_root): Fix spelling typo - -Mon Feb 5 22:30:30 1996 <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_super_block): If the superblock fails certain - internal consistency checks, exit with a fatal error after - printing the "superblock is corrupt message". - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Wed Dec 15 21:24:26 1996 <tytso@rsts-11.mit.edu> - - * pass1.c (process_block): Check to see if a file is "fragmented". - i.e., non-contiguous. Note that any file which is larger - than the block group is guaranteed to be non-contiguous. - We may want to use a different hueristic for deciding - whether or not a file is "fragmented". - - * e2fsck.c (show_stats): Print statistics of how many - non-contiguous files are on the system. - -Fri Dec 15 19:19:47 1995 <tytso@rsts-11.mit.edu> - - * badblocks.c (read_bad_blocks_file, test_disk): Fold - functionality of test_disk() (which runs badblocks) into - read_bad_blocks_file(); test_disk() now calls - read_bad_blocks_file() with a NULL bad_blocks_file - argument. - -Mon Nov 20 18:30:10 1995 <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_mount): Use #if defined(__linux__) instead of - #if defined(linux). The latter won't work if we're - compiling -ansi. - -Mon Oct 30 20:31:17 1995 <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_mount): For Linux systems, the check to see if - the root is mounted read-only has to be done for all - filesystems, not just for the root filesystem, due to the - way that some /etc/rc scripts are set up. - -Thu Oct 26 12:05:30 1995 <tytso@rsts-11.mit.edu> - - * Makefile.in (install): Strip programs when they are installed. - (e2fsck): Build e2fsck statically. - -Wed Oct 25 21:18:16 1995 <tytso@rsts-11.mit.edu> - - * util.c (preenhalt): Preenhalt now takes an argument, which is an - ext2fs_filsys; this allows it to set the EXT2_ERROR_FS - flag in the superblock in cases where preenhalt is called. - All calls to preenhalt() were changed to either - preenhalt(fs) or preenhalt(NULL) in a few cases where the - fs pointer was not available. (Most notable, for block - read/write errors.) - -Mon Sep 4 21:41:03 1995 Remy Card <card@bbj> - - * ehandler.c: - util.c: Include <sys/time.h> before <sys/resource.h>. BSD needs it. - -Mon Sep 4 10:14:49 1995 <tytso@rsts-11.mit.edu> - - * e2fsck.c (show_stats): Show statistics about how many inodes - have indirect, doubly indirect, and triply indirect - blocks. Allow up to 8 digits for statistics, instead of - merely 6, so things look pretty for large filesystems. - - * pass1.c (pass1): Keep statistics about indirect, doubly - indirect, and triply indirect blocks. - - * pass1.c (unwind_pass1): Clear the above statistics when unwinding - pass 1. - -Fri Aug 18 15:17:10 1995 Theodore Y. Ts'o <tytso@dcl> - - * util.c, ehandler.c: Move #include of <sys/resource.h> after - #include of "e2fsck.h", since sys/resource.h may depend on - sys/time.h, which is #included in e2fsck.h. - -Thu Aug 17 22:33:37 1995 <tytso@rsts-11.mit.edu> - - * e2fsck.c (check_mount): Use the new ext2fs_check_if_mounted() - function to determine if the device is mounted. - - * e2fsck.c (main): Add better error messages if ext2fs_open() - fails. - -Wed Aug 16 16:25:02 1995 <tytso@rsts-11.mit.edu> - - * pass1.c (check_blocks): If we're clearing a directory, clear - pb.is_dir so we don't do the following check of making - sure the directory size matches; this is pointless, since - we've already cleared the inode. - -Fri Aug 11 09:08:54 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * pass1.c (bad_primary_block): New function, called by - process_bad_block, which explains the facts of life to the - user when a block in the primary superblock or primary - group descriptors is bad. - - * pass2.c (check_dot): Handle the case where the first directory - entry is used, but not ".". - - * pass2.c (check_dotdot): Handle the case where the second directory - entry is used, but is not "..". - -Thu Aug 10 10:05:10 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * e2fsck.c (check_super_block): Get the size of the physical - device and if it is smaller than the reported size of the - filesystem, report an error. - -Sat Aug 12 03:39:18 1995 Remy Card <card@bbj> - - * e2fsck.c (check_if_skip): Print the number of allocated files and - blocks on clean filesystems. - -Fri Aug 11 14:15:36 1995 Remy Card <card@bbj> - - * e2fsck.8: Updated date and version number. - -Thu Aug 10 14:26:01 1995 Remy Card <card@bbj> - - * pass1.c (check_blocks): Check that directory size matches *exactly* - the count of allocated blocks. - -Wed Aug 9 21:21:24 1995 Theodore Y. Ts'o <tytso@dcl> - - * pass1b.c (pass1d): Free the shared[] array when we're done with - it to avoid a memory leak. - - * pass1.c (unwind_pass1): Use ext2fs_free_block_bitmap to free the - block_dup_map. - - * pass2.c (process_bad_inode): When clearing the inode, make sure - the pathname is freed, to prevent a memory leak. - - * pass5.c (check_inode_bitmaps): Free free_array and dir_array - when we're finished with them. - (check_block_bitmaps): Free free_array when we're finished - with them. - - * Makefile.in (e2fsck, flushb): Use $(LD) instead of $(CC) when - linking the executable. - - * pass2.c (process_bad_inode): Even on OS's that don't support the - fragment fields, make sure the Linux equivalent fields are - set to zero. If an OS wants to reuse these fields, which - is probably a bad idea (although we may get desperate in - the future) this code will have to be changed. - - * pass1.c (dir_block_cmp): If the block numbers are equal, compare - on the inode field, and then blockcnt field. This is just - to keep the ordering of dir_blocks the same on all - platforms when there are more than on missing directory - blocks, which are indicated directories with holes, which - are indicated with the block number being set to zero. - -Sun Aug 6 15:40:58 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * pass1.c (check_blocks, process_block): check_blocks() modified - to call the ext2fs_block_iterate() with BLOCK_FLAG_HOLE if - the inode is a directory. process_block() now checks to - see if a directory has a "hole", or missing block. If so, - this fact is recorded in the directory block list so that - the problem can be resolved in pass #2. - - * pass2.c (allocate_dir_block): Added allocate_dir_block() to - allocate new blocks for directories with "holes". Called - out of check_dir_block if a block in the directory block - list is zero. - - * pass3.c (get_lost_and_found): Move location of free(block) to - prevent possible memory leak. - -Sat Aug 5 12:42:22 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * pass2.c (check_dir_block): Use a automatic, fixed-saize array - instead of alloca() --- alloca is not portable! Check to - make sure the filename is not longer than EXT2_NAME_LEN, - and offer to fix it by truncating it, since it should - never happen. - - * e2fsck.c (PRS): Use malloc() instead of alloca() --- alloca() is - not portable!! In any case putenv() in some systems must - take a static character array or malloc()'ed memory; - passing memory allocated using alloca() to putenv() is not - advisable. - - * pass2.c (check_dot, check_dotdot): Use malloc() instead of - alloca() --- alloca() is not portable!!! - -Tue Jul 18 20:04:02 1995 <tytso@rsx-11.mit.edu> - - * pass1b.c (pass1c): - * pass3.c (check_root, get_lost_and_found): - * pass2.c (check_dir_block): Use ext2fs_{read,write}_dir_block - to read/write the directory block. - -Mon Jul 17 04:00:56 1995 <tytso@rsx-11.mit.edu> - - * util.c (ask_yn): Apply patch supplied by Peter A. Zaitcev to - make sure VMIN and VTIME are set correct. - -Fri Jul 14 19:26:29 1995 <tytso@rsx-11.mit.edu> - - * pass1.c (mark_block_used): Change to be an inline function. - Assume that the block validity checks are already done, - and use the fast variant of the bitmap functions. - -Thu Jul 13 08:10:55 1995 <tytso@rsx-11.mit.edu> - - * pass5.c (check_block_bitmaps, check_inode_bitmaps): Check the - bounds of the bitmaps in advance, and then use the fast - variant of e2fs_test_{block,inode}_bitmap. - - * pass1.c (mark_block_used): Use ext2_fast_mark_block_bitmap since - the bounds checking has already been done earlier. - -Wed Jul 12 02:22:46 1995 <tytso@rsx-11.mit.edu> - - * pass1.c (pass1): Allocate and free the block_illegal_map, which - is used for shortcut processing in process_block. - (mark_table_blocks): Initialize block_illegal_map with the - filesystem blocks. - (describe_illegal_block): New helper function that - describes why a block is illegal. - (process_block): Use block_illegal_map as a shortcut - to determine whether a block is bad. Use - describe_illegal_block to print out why the block is illegal. - -Mon Jun 12 19:11:06 1995 Theodore Y. Ts'o (tytso@dcl) - - * flushb.c: Don't include <linux/fs.h> if it doesn't exist. - - * scantest.c: Don't include <linux/fs.h>, <getopt.h>, or - <mntent.h> if they don't exist. (Mostly so that "make - depend" works.) - - * pass1.c, pass1b.c, pass3.c, badblocks.c: Include <errno.h> (if - it exists). - - * e2fsck.c, scantest.c: Don't include <getopt.h> if it doesn't - exist. - -Mon Jun 12 08:37:49 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * pass2.c (process_bad_inode, check_for_zero_long, - check_for_zero_char): Change long to u32, and char to u8. - -Sun Jun 11 15:05:57 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * util.c (inode_has_valid_blocks): - * pass2.c (process_bad_inode): - * pass1.c (pass1, check_blocks, pass1_check_directory): Use - LINUX_S_IS* instead of S_IS*. - - * e2fsck.h: Don't #include <sys/stat.h> - - * flushb.c (main): Add #ifdef BLKFLSBUF around ioctl. (Although - this program is pretty much useless if BLKFLSBUF isn't - supported.) - - * e2fsck.c, badblocks.c: Add #include <errno.h>, since errno is - used. - -Thu Jun 8 12:31:19 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * pass2.c (check_dot, check_dotdot, check_dir_block): Use alloca - to allocate space for file names instead of using fixed size buffers. - (process_bad_inode): Only check inode frag fields if - HAVE_EXT2_FRAGS is defined (by configure). - * pass1.c (pass1): Only check the inode frag fields if - HAVE_EXT2_FRAGS is defined (by configure). - - * e2fsck.c (check_mount): Only check for a mounted filesystem if - HAVE_MNTENT_H is defined (by configure). - (PRS): Use alloca to allocate the new path string, instead of - having a fixed size buffer (which was the wrong size anyway). - (PRS): Only support the -F (flush) option if the BLKFLSBUF ioctl - is defined. - - * e2fsck.h: Only include <linux/fs.h> if HAVE_LINUX_FS_H is - defined (by configure). - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - -Thu Apr 6 15:04:36 1995 Remy Card <card@bbj.ibp.fr> - - * pass1.c (pass1): Test the mode in reserved inodes (must be zero). - -Sat Mar 11 13:12:16 1995 Theodore Y. Ts'o <tytso@localhost> - - * pass1.c (unwind_pass1): Clear the file type statistics counter - when pass 1 needs to be restarted from scratch. - - * pass1.c (handle_fs_bad_blocks): Fix bug where bitmap blocks were - being reallocated to blocks in the next block group, - instead of the current block grup. - - * pass1.c (pass1, check_blocks): Set inode_link_info[ino] whenever - inode.i_links_count is set. - -Tue Feb 14 01:38:04 1995 Theodore Y. Ts'o (tytso@rt-11) - - * pass1.c (process_block): Add checks for if the block is - trepassing on a superblock or group descriptor table. - -Sat Dec 31 00:52:11 1994 <tytso@rsx-11.mit.edu> - - * main.c (corrupt_msg): Extend the message which is printed out - when the superblock is corrupt, to include the suggestion - of using the -b option to specify an alternate superblock. - -Thu Nov 24 09:29:58 1994 Theodore Y. Ts'o (tytso@rt-11) - - * badblocks.c (read_bad_blocks_file): If we are adding or - replacing bad blocks in the bad blocks inode, sanity check - the bad block inode first, and clear out any illegal blocks. - - * pass2.c (check_name): Don't bomb out if the attempt to get the - pathname of the containing directory returns an error; the - directory may be too badly damaged to expect that - ext2fs_get_pathname will always succeed. Use "???" if the - pathname can't be obtained (it's only for a printf to the - user anyway). - - The name of the containing directory and the bad filename - were incorrectly interchanged in the user message. Fixed. - - * pass2.c (check_name, check_dir_block): Use a common static - string for the unknown pathname. - -Mon Nov 7 22:30:54 1994 Remy Card <card@bbj> - - * Fixed lots of printf formats to make sure that block and inode - numbers are printed as unsigned integers. - -Mon Oct 24 14:10:46 1994 (tytso@rsx-11) - - * pass5.c (check_block_end): Fix calculation of how the last block - in the block bitmap should be calculated. - -Wed Sep 7 10:01:13 1994 (tytso@rsx-11) - - * pass1b.c (pass1_dupblocks): Fix declaration of dup_inode_map to - be an ext2fs_inode_bitmap, and free it properly. - - * e2fsck.h - * e2fsck.c (main): Folded in Remy Card's changes to add a revision - level to the superblock. - -Wed Aug 17 22:00:20 1994 Remy Card (card@bbj) - - * e2fsck.c (usage): Fixed bogus usage message. - -Wed Aug 17 11:21:45 1994 Theodore Y. Ts'o (tytso@rt-11) - - * pass1.c (process_bad_block): Fixed bug so that blocks in the - backup superblocks and group descriptors are handled gracefully. - diff --git a/ext2ed/ChangeLog b/ext2ed/ChangeLog deleted file mode 100644 index d4fe35a8..00000000 --- a/ext2ed/ChangeLog +++ /dev/null @@ -1,131 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * init.c (div_ceil, set_file_system_info): Fix potential overflow - for really big filesystems. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * ext2ed.h: Use the ext2_fs.h header file from libext2fs, instead - from the kernel header files. - - * Makefile.in: Update the modtime even if subst doesn't need to - update the ext2ed man page and conbfiguration, to avoid - always re-running subst, especially since there are no - dependencies on these generated files. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-09-30 Theodore Ts'o <tytso@mit.edu> - - * dir_com.c (search_dir_entries): If there is a directory entry of - length 0, go to the next block, so we don't end up looping - forever. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-05-12 <tytso@mit.edu> - - * README: Add warning about shortcomings in ext2ed. Please don't - include this in distributions --- it's too buggy for that. - - * init.c (signal_SIGWINCH_handler): Reinstall signal handler after - it is activated. - - * main.c: Make use of readline library optional (currently - disabled). Allow the filesystem/device which is to be - examined/edited to be specified on the command line, with - the -w option indicating that the filesystem should be - opened read/write. Use the ncurses functions to read from - the keyboard, and use the pgdn and pgup keys to activate - the relavant commands. Also poll the keyboard with a - timeout of .1 second, so that window-size changes can be - dealt with automatically. - - * Makefile.in: Remove ncurses library from link line. - - * win.c: Rewrite redraw function so that it changes the all of the - ncurses's windows, instead of destroying all of the - windows and recreating them all. (This assumes requires - some ncurses-specific functions, and isn't quite as - portable, but that's OK.) Create two new windows and - force the lines above and below the showpad area to be - empty. - - * general_com.c: Remove e-mail address for Gadi Oxman, since it - doesn't work anymore, and I've made enough changes that - Gadi shouldn't get any complaints or bug reports for this - version. - -2002-05-11 <tytso@mit.edu> - - * win.c, main.c, general_com.c: Use e2fsprogs's version - information for the program banner. - - * ext2ed.h, init.c, general_com.c: Add a field_type parameter, and - use specialized routines for showing and setting ints, uints, - and characeter strings. - - * ext2.descriptors: Updated with newer superblock descriptor; use - __u32 and __u16 instead of unsigned long and unsigned - short. Add data structures for direcctory indexing code. - - * Makefile.in: Added make depend logic. - -2002-05-11 <tytso@mit.edu> - - * ext2ed.h: Remove VAR_DIR, and replace it with ETC_DIR. - (/var/lib is no longer a politically correct location for - application files according to the FHS). Change include - file location of ncurses.h to be /usr/include/ncurses.h. - - * init.c: Look for the configuration file in ETC_DIR/ext2ed.conf - - * Makefile.in: Integrate into the e2fsprogs makefile structure - - * ext2ed.conf.in, ext2ed.8.in: Change to be generated files, so - that the pathnames in the man page and config file match - the values chosen by the configure script. diff --git a/ext2ed/doc/ChangeLog b/ext2ed/doc/ChangeLog deleted file mode 100644 index 2141d253..00000000 --- a/ext2ed/doc/ChangeLog +++ /dev/null @@ -1,52 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-05-11 <tytso@snap.thunk.org> - - * ext2fs-overview.sgml, ext2ed-design.sgml, user-guide.sgml: - Convert from LinuxDoc to DocBook. diff --git a/include/nonunix/ChangeLog b/include/nonunix/ChangeLog deleted file mode 100644 index 0c186834..00000000 --- a/include/nonunix/ChangeLog +++ /dev/null @@ -1,99 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-25 <tytso@valinux.com> - - * config.h: Add #define's for strcasecmp and strncasecmp diff --git a/install-utils/ChangeLog b/install-utils/ChangeLog deleted file mode 100644 index e986bde4..00000000 --- a/install-utils/ChangeLog +++ /dev/null @@ -1,170 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * convfstab: Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-04-02 Theodore Ts'o <tytso@valinux.com> - - * Add e2label.8 to the remove_preformat_manpages script. - (Probably isn't being used any more, but...) - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Sat Mar 11 18:26:33 1995 Theodore Y. Ts'o <tytso@localhost> - - * compile_manpages: Include an exit 0 at the end because some - implementations of man exit with a status of 1. diff --git a/intl/ChangeLog b/intl/ChangeLog deleted file mode 100644 index e2fecf9d..00000000 --- a/intl/ChangeLog +++ /dev/null @@ -1,114 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * Makefile.in: Add datarootdir definition for compatibility with - autoconf 2.60. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (uninstall-shlibs): Fix "make uninstall" by adding - an uninstall-shlibs target. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Add install-shlibs-strip target. Update Makefile.in to version - from gettext 0.14.1 - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Update to gettext version 0.14.1 - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add dummy install-shlibs target so that the - top-level "make install" is happy. - - * Update to use gettext version 0.11.5 (released 2002-08-06) - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - diff --git a/lib/ChangeLog b/lib/ChangeLog deleted file mode 100644 index c8492130..00000000 --- a/lib/ChangeLog +++ /dev/null @@ -1,306 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-06-28 Andreas Dilger <adilger@clusterfs.com> - - * e2fsck.h, ext2_ext_attr.h: Protect header files from multiple - inclusion. - -2006-03-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.library (real-subdirs): Add real-subdirs:: target so - that e2fsprogs builds correctly without any - --enable-*libs configuration options. - -2006-03-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.bsd-lib, Makefile.checker, Makefile.darwin-lib, - Makefile.elf-lib, Makefile.library, Makefile.profile, - Makefile.solaris-lib: Fix the subdirs logic so it works - with GNU make 3.80 (as well as GNU make 3.81). - -2005-12-29 Theodore Ts'o <tytso@mit.edu> - - * Makefile.bsd-lib, Makefile.checker, Makefile.darwin-lib, - Makefile.elf-lib, Makefile.library, Makefile.profile, - Makefile.solaris-lib: Revamp subdirs target so to avoid - needless recompilation of library object files. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.elf-lib, Makefile.solaris-lib: Add $(LDFLAGS) to the - command line argument when generating the shared library, - to allow cross-compile and other builds that might need to - specify -L paths to needed libraries. (Addresses - Sourceforge Bug #1261549) - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * Makefile.library (uninstall-shlibs): Fix "make uninstall" - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.elf-lib, Makefile.solaris-lib, Makefile.profile, - Makefile.darwin-lib: Use Linux-kernel-style makefile - output for "make install". - - * Makefile.elf-lib, Makefile.solaris-lib: Move strip command to - install-strip and install-shlibs-strip. - - * Makefile.elf-lib (installdirs-elf-lib), - Makefile.solaris-lib (installdirs-elf-lib): Use $(MKINSTALLDIRS) - macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.elf-lib, Makefile.library, Makefile.profile, - Makefile.solaris, Makefile.darwin-lib, Makefile.checker: - Use Linux-kernel-style makefile output to make it easier - to see errors/warnings. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.dll-lib (jump): Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.bsd-lib, Makefile.darwin-lib: Define BSDLIB_PIC_FLAG - since Darwin requires -fPIC while NetBSD, FreeBSD, - et. al. requires -fpic. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.darwin-lib: Fix Apple Darwin port. - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.darwin-lib: New file to provide support for e2fsprogs - on Apple Darwin. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-19 Theodore Tso <tytso@valinux.com> - - * Makefile.bsd-lib, Makefile.dll-lib, Makefile.elf-lib, - Makefile.solaris-lib: Use $(LDCONFIG) instead of -ldconfig. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.bsd-lib, Makefile.dll-lib, Makefile.elf-lib, - Makefile.profile: Change to use new installation directory - variables convention. Add uninstall rules. - -1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.elf-lib (installdirs): Change use of DLL_INSTALL_DIR to - ELF_INSTALL_DIR. (Doesn't make a difference currently, - but it's correct this way.) - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Sat Mar 8 13:23:43 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.elf-lib (image): Allow Makefile.in files to specify - a list of libraries which the shared library depends upon. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 -Wed Aug 28 15:20:26 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile.elf-lib (installdirs-elf-lib): Renamed from installdirs - to avoid making random directories only neeeded when installing - normal libraries. - (install-shlibs): Use installdirs-elf-lib instead of installdirs. - -Thu May 23 12:40:12 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.elf-lib: Install the .so files in /usr/lib, since the - .a files are stored there. (We were installing the .so - files in the wrong place before.) - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed May 15 22:59:06 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.profile (install): Add an install production so that - the profiling libraries are installed. - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Mon Oct 30 21:11:47 1995 <tytso@rsts-11.mit.edu> - - * Makefile.elf-lib: Changes to pass -soname to the linker, so that - ld.so knows which version of the library to load when - there's more than one major version of the shared library. - -Mon Sep 4 21:42:46 1995 Remy Card <card@bbj> - - * Makefile.bsd-lib: New file containing support for BSD shared - libraries. - -Sat Aug 5 11:43:05 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * Makefile.dll-lib: Added new target install-shlibs, which just - installs the shared libraries. - - * Makefile.elf-lib: Added new target install-shlibs, which just - installs the shared libraries. - -Tue Jul 18 21:24:13 1995 <tytso@rsx-11.mit.edu> - - * Makefile.dll-lib (jump): For each of the libraries jump/jump.* - files are now in in dll/jump.*; now the subdirs target - takes care of creating the jump directory, and then copy - the jump.* files from the dll directory to the jump - directory. This allows dll libraries to be built where - the build directory is not equal to the source directory. - -Tue Jul 11 22:05:56 1995 <tytso@rsx-11.mit.edu> - - * Makefile.checker,Makefile.elf-lib,Makefile.dll-lib, - Makefile.profile: Add rule to mkdir the appropriate object - subdirectory (checker, elfshared, jump, profiled, etc.) - diff --git a/lib/blkid/ChangeLog b/lib/blkid/ChangeLog deleted file mode 100644 index 567bf0fc..00000000 --- a/lib/blkid/ChangeLog +++ /dev/null @@ -1,693 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-05-22 Karsten Hopp <karsten@redhat.com> - - * probe.c (probe_luks): Add support for cryptsetup-luks partitions - -2007-06-19 Theodore Tso <tytso@mit.edu> - - * probe.c (probe_ntfs): Add probe function which is more paranoid - about checking for a valid NTFS partition, and which sets - the UUID and LABEL information. (Addresses Launchpad Bug - #110138) - -2007-05-23 Theodore Tso <tytso@mit.edu> - - * getsize.c (main), read.c (parse_dev), tst_types.c (main): Fix - gcc -Wall warnings on 64-bit systems. - -2007-05-18 Theodore Tso <tytso@mit.edu> - - * tag.c (blkid_set_tag): Fix bug where bid_type, bid_label, and - bid_uuid could get corrupted if their corresponding tag is - set to its original value using blkid_set_tag(). - -2007-05-17 Theodore Tso <tytso@mit.edu> - - * cache.c (blkid_gc_cache): New function which removes any devices - from the blkid cache if the device node does not exist. - -2007-03-23 Theodore Tso <tytso@mit.edu> - - * read.c (parse_dev): Fix memory leak on error path. - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * resolve.c (blkid_get_devname): Fix memory leak. - -2007-03-18 Theodore Tso <tytso@mit.edu> - - * tag.c (blkid_dev_has_tag): Allow value to be NULL, in which case - blkid_dev_has_tag() will return TRUE if the passed-in tag - exists --- reasonable functionality given the function name. - -2007-03-06 Theodore Tso <tytso@mit.edu> - - * devname.c (dm_probe_all), probe.c (blkid_verify): Fix memory - leak. (Addresses Debian Bug #413661) - -2006-09-24 Theodore Tso <tytso@mit.edu> - - * devno.c (scan_dir): Don't follow symlinks when recursively - searching directories under /dev. - -2006-09-17 Karel Zak <kzak@redhat.com> - - * probe.c (probe_fat): Fix problem with empty FAT label. - -2006-09-17 Karel Zak <kzak@redhat.com> - - * probe.c (probe_gfs, _gfs2), probe.h: Add support for GFS/GFS2 - -2006-09-12 Theodore Tso <tytso@mit.edu> - - * devname.c (dm_probe_all): probe_one expects device names passed - to it w/o the leading "/dev". - -2006-08-19 Andreas Dilger <adilger@clusterfs.com> - - * blkid.8.in: Make the description of the -l option more accurate. - - * Makefile.in (clean): Avoid removing the tst_*.c files, but - instead list each of the tst_* binaries explicitly. - -2006-05-14 Theodore Tso <tytso@mit.edu> - - * probe.c (probe_udf): Fix signed vs. unsigned lint warning; - better to use memcmp() rather than strncmp() anyway. - -2006-04-09 Theodore Ts'o <tytso@mit.edu> - - * blkid_types.h.in, Makefile.in, tst_types.c: Use the asm_types.h - file to define the __[us]{8,16,32,64} types. Add a - tst_types program to make sure the types are correct. - -2006-03-23 Theodore Ts'o <tytso@mit.edu> - - * probe.c (blkid_verify): Fix file descriptor leak on error. - -2006-03-19 Theodore Ts'o <tytso@mit.edu> - - * devname.c (dm_probe_all, dm_device_is_leaf): Make the - libdevmapper fail quietly if blkid is called without root - privileges or the kernel does not include device mapper - support. (What is the device mapper _library_ doing - writing to stderr, anyway?) - -2006-03-12 Theodore Ts'o <tytso@mit.edu> - - * probe.c (blkid_verify): Fix the bid_time sanity checking logic, - so that if last verification time is more recent than the - current time, or the comparison between the last - verification time and the current time causes an overflow, - a device verification will take place. - - * devname.c (blkid_get_dev): Set the initial bid_time to be - INT_MIN, to guarantee that blkid_verify will always be run - even when the system clock is insane. - - * dev.c (blkid_debug_dump_dev), read.c (debug_dump_dev), - save.c (save_dev): Fix the printf format for dev->bid_time - to match the fact that it is an signed type. - -2006-03-10 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_ext3): If the filesystem has an external journal, - store the UUID of the external journal in the tag - EXT_JOURNAL. - (blkid_verify): If the filesystem type has changed, clear - all the tags on the device, not just a preset list of - LABEL, UUID, TYPE, and SEC_TYPE. - - * tag.c (blkid_set_tag): Fix a bug so that blkid_set_tag will work - correctly when freeing a tag when the input name parameter - comes from the tag that we are freeing. - -2005-12-29 Theodore Ts'o <tytso@mit.edu> - - * tag.c (main): Add missing parameter in error-handling printf of - the blkid test program tst_tag. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2005-09-10 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_fat): Search the root directory of FAT - filesystems for the label information. - - * probe.c, probe.h: Change superblock and generic i/o functions to - be more generic. Clean up interface to the probe - function. Fix memory leak. - - * probe.c, probe.h: Extract basic iso9660 label information. - - * probe.c, probe.h: Add support for resier4 filesystem. - -2005-09-07 Theodore Ts'o <tytso@mit.edu> - - * probe.c: Collapse vfat and fat code and make it more paranoid - when probing for vat/fat filesystems. - - * resolve.c: Remove unneeded probe.h header file. - -2005-09-05 Karel Zak <kzak@redhat.com> - - * probe.c (probe_vfat_nomagic): Add support for detecting VFAT - filesystems even when the magic string isn't in the FAT - super block. - - * probe.c: Add support for detecting software suspend partitions - - * probe.c (probe_ext2): Check to see if a journal has been added - to an ext2 filesystem when revalidating cached information - about an ext2 device. - -2005-07-25 Theodore Ts'o <tytso@mit.edu> - - * cache.c (safe_getenv): Pass in zero to the unusued arguments of - prctl(PR_GET_DUMPABLE) to avoid false positives from - valgrind. - -2005-07-09 Andreas Dilger <adilger@clusterfs.com> - - * getsize.c (blkid_get_dev_size): Use fstat/fstat64 to get size of - regular files. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-27 Theodore Ts'o <tytso@mit.edu> - - * read.c, dev.c: Fix the debugging/TEST_PROGRAM code so that it is - sufficiently standalone that "make check" will compile - without errors even when configure "--enable-blkid-debug" - is not specified. - -2005-05-07 Theodore Ts'o <tytso@mit.edu> - - * tag.c (blkid_find_dev_with_tag): If a device can't be found with - the specified search arguments, probe all new devices - before trying to verify existing devices, as a speed - optimization. - - * devname.c (blkid_probe_all_new): New function which only probes - devices are not known in the blkid cache. This takes - much less time than a full probe of all devices. - - * cache.c, dev.c, devno.c, probe.c, probe.h: Fix gcc -Wall nits. - - * blkidP.h, cache.c, dev.c, read.c, tag.c: Clean up the debugging - code so that we don't use the inline functions DEB_DUMP_* - and instead use the private functions blkid_debug_dump_*(). - - * tag.c (blkid_dev_has_tag): New function which returns 1 if a tag - has a particular type and possibly value. - - * blkid.h, dev.c (blkid_dev_set_search, blkid_dev_next): Added new - function, blkid_dev_set_search(), which filters the - devices returned by the blkid_dev_next() iterator. - - * tag.c, dev.c, Makefile.in: Add debugging test program code. - -2005-05-05 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_cramfs), probe.h: Fix magic number recognition - for the cramfs filesystem, and add support to pull out the - label for cramfs filesystems. Thanks to Karel Zak (kzak - at redhat.com) for the patch. - -2005-03-31 Theodore Ts'o <tytso@mit.edu> - - * cache.c (blkid_get_cache): Use a much more paranoid - safe_getenv() function which will ignore the BLKID_FILE - environment varaible if the application program is setgid - or on a Linux system, if kernel doesn't think the process - is eligible to create a core dump. Also if glibc has - __secure_getenv(), then use it. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * cache.c (blkid_get_cache): Ignore the BLKID_FILE environment - variable if blkid_get_cache() is called from a setuid - program. - -2005-03-16 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (blkid_get_dev_size): Fix compilation problem on - Darwin systems. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove blkid.pc on a "make distclean" - -2005-01-27 Theodore Ts'o <tytso@mit.edu> - - * blkid.h, blkidP.h: Rename blkid_verify_devname() to be - blkid_verify(), and make it be a publically exported - function. - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * version.c: Add functions to query the version of the blkid library. - - * blkid.pc.in: Add pkg-config files. - -2005-01-25 Theodore Ts'o <tytso@mit.edu> - - * probe.c: Windows can perform a "quick format" that doesn't clear - enough of the partition that the blkid probes can get - confused. Do the NTFS test first to deal with this - Windows misfeature. (Addresses Debian Bug #291990) - -2005-01-21 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_oracleasm): Add support for recognizing Oracle - ASM volumes. Thanks to Manish Singh (manish.singh at - oracle.com) for supplying this patch. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix the kernel compile-time echo commands to be - consistent and portable - -2005-01-13 Matthias Andree <matthias.andree@gmx.de> - - * getsize.c: Move #include "blkidP.h" before <sys/queues.h> to avoid a - clash with the LIST_HEAD in the latter file. - -2005-01-10 Theodore Ts'o <tytso@mit.edu> - - * probe.c: Integrate and fix up Janos Farkas's patch. Version 0 - swap headers won't ever have uuid/labels. Also, if the - swap partition is recreated without a label, make sure - label in the blkid file gets freed. - (get_ext2_info, probe_vfat, probe_msdos, probe_reiserfs): - Make sure the label is cleared from the blkid file if the - label gets cleared from the filesystem. - (probe_romfs): Avoid dereferencing a null pointer of the - label is not present. - -2005-01-10 Janos Farkas <chexum+dev@gmail.com> - - * probe.h: Define linux swap format. - - * probe.c: Fetch uuid/label from swap headers if present. Mark - swap types as needing extra probe. - -2005-01-05 Theodore Ts'o <tytso@mit.edu> - - * save.c (save_dev): Don't save relative pathnames since they - won't be useful to another process. - - * devname.c (probe_one): Make sure the device is a block device - before checking st_rdev. - - * probe.c (probe_msdos): Mark msdos filesystems as type vfat, with - a SEC_TYPE of msdos, so that mount will use vfat to mount - msdos filesystems. (Addresses Debian bug #287455) - (probe_ext3): For ext3 filesystems, return a type of ext3 - and a SEC_TYPE of ext2, for similar reasons as above. - (blkid_verify_devname): Allow non-block devices to be - verified, for testing purposes. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * probe.c, probe.h: Avoid using uint and uchar types, to allow - compilation using dietlibc. - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-19 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1" - was being passed to blkid_set_tag(). Thanks to Andrea - Dilger for pointing this out. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * probe.c, probe.h: Add support for ocfs2 detection, courtesy of - manish.singh@oracle.com - - * getsize.c: Clean up header #include's. Include sys/disk.h if - present since this is the new place where the - DIOCGMEDIASIZE ioctl is defined on FreeBSD systems. - (Addresses Debian bug #264630) - - * llseek.c (blkid_llseek): On non-linux systems, use lseek64() if - it is present. (Addresses Debian bug #269044) - -2004-05-12 Theodore Ts'o <tytso@mit.edu> - - * read.c (blkid_read_cache): Add missing fclose() which was - causing a memory and file descriptor leak. Thanks to - magnus.fromreide at teligent.se. - -2004-04-19 Theodore Ts'o <tytso@mit.edu> - - * probe.c (blkid_verify_devname): If the time is earlier than the - last modified time of the device, then force a reverify; - it means the system time may not be trustworthy. - -2004-04-12 Theodore Ts'o <tytso@mit.edu> - - * cache.c (blkid_get_cache): If the BLKID_FILE environment - variable is set, use it to find the blkid.tab file if the - calling application did not supply a filename. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the libblkid man page, to avoid always re-running - subst, especially since there are no dependencies on the - man page. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * blkid_types.h.in: Remove check for _UUID_TYPES since uuid_types.h - is no longer used. - -2004-03-21 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (blkid_get_dev_size): Don't close the file descriptor - when determining the size. This bug was introduced in the - previous getsize changes, and was screwing up the blkid - library probe functions. (Addresses Debian Bug #239191) - -2004-03-08 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (blkid_get_dev_size): Only use the BLKGETSIZE64 ioctl - on Linux 2.6 since it is unreliable in Linux 2.4.. - (Addresses Debian Bug #236528) Fix typo in the ioctl used - for Mac OS X. - -2004-03-04 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_ocfs), probe.h: Add support for the Oracle - Cluster Filesystem (ocfs). Patches courtesy of Rusty - Lynch (rusty@linux.co.intel.com). - -2004-03-02 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (blkid_get_dev_size): Update getsize functions to use - Apple Darwin and Linux 64-bit ioctl's - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * probe.c, read.c, blkidP.h: Fix gcc -Wall nitpicks. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-22 Theodore Ts'o <tytso@mit.edu> - - * probe.c (probe_udf): Add specific UDF probing code, and probe - UDF before checking for ISO9660 filesystems. - -2003-07-21 Theodore Ts'o <tytso@mit.edu> - - * probe.c (blkid_known_fstype): New function which returns true if - the filesystem type is one which this blkid library supports. - -2003-07-20 Theodore Ts'o <tytso@mit.edu> - - * probe.c: When revalidating a filesystem, delete the LABEL tag if - the filesystem no longer has a label. - -2003-07-18 Theodore Ts'o <tytso@mit.edu> - - * tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an - error, then reflect that error upwards; don't try again - (forever). This prevents an infinite loop when /proc and - the /etc/blkid.tab file are not present. - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * blkid_types.h.in: Fix gcc -Wall nitpicks (don't use #elsif) - - * cache.c: Fix gcc -Wall nitpicks (missing #include <string.h>) - - * probe.h: Fix gcc -Wall nitpicks (missing casts) - -2003-05-21 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the - uuid library. (Addresses Debian bug: #194094) - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-19 Theodore Ts'o <tytso@mit.edu> - - * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of - inline. - -2003-04-02 Theodore Ts'o <tytso@mit.edu> - - * probe.c, probe.h: Fix XFS superblock definition. Add support to - extract UUID and labels for JFS and romfs. (Thanks to - Janos Farkas <chexum+dev@gmail.com>.) - -2003-03-30 Theodore Ts'o <tytso@mit.edu> - - * getsize.c: #include stat.h for the Apple Darwin port - -2003-03-17 Theodore Ts'o <tytso@mit.edu> - - * cache.c: Initialize blkid_debug_mask to zero since some - operating systems can't deal with variables in the common - section in shared libraries. - - * getsize.c (blkid_get_dev_size): Fix Apple Darwin port. - -2003-03-06 <tytso@mit.edu> - - * devname.c (probe_one): Fix bug; if a partition has no known - type, don't derference a null pointer and crash. - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * blkid_types.h.in: Don't redefine types if other e2fsprogs - *_types.h files have been included already. - - * list.h, probe.h: Use static inline instead of extern inline to - comply with C99 inline support. - - * devname.c (blkid_probe_all): Avoid GCC extension; don't - initialize an array with the address of an automatic - variable. - - * Makefile.in: Eliminate -Wall as a C compiler option by default; - it's not portable. - -2003-03-02 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Don't install list.h, since it's not used by the - public blkid.h file. - - * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H - -2003-03-01 Theodore Ts'o <tytso@mit.edu> - - * tag.c (blkid_set_tag): Fix bug; don't return an error when - deleting a tag by setting the value to NULL. This - caused a failed device verification to loop forever in - blkid_verify_devname(). - - * resolve.c (main): Update debugging test program so that it - compiles with the latest blkid API changes. - - * libblkid.3.in: Update manual page to reflect recent API changes. - - * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL, - then get and release a temporary cache as a convenience to - the calling application. - (blkid_get_devname): If the passed in token does not - contain an '=', and value is NULL, then return the passed - in token. - - * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache - now returns void. - - * blkid.h: Add include of sys/types.h, since we use dev_t - -2003-02-27 Theodore Ts'o <tytso@mit.edu> - - * resolve.c (blkid_get_tag_value): Rename function (used to be - blkid_get_tagname_devname) - -2003-02-22 Theodore Ts'o <tytso@mit.edu> - - * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag): - Call blkid_read_cache to make sure the in-core version of - the data structure is the latest. After probing all of - the devices in blkid_probe_all() force the cache file to - be written out, the probe_all represents a lot of effort - that shouldn't be lost. - - * tag.c (blkid_set_tag): Always replace an existing tag with the - new value; we no longer suppor multiple tags with the same - value attached to a device, as this was never really - supported well, and significantly increased the code - complexity. - - * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems. - Ext3 filesystems are now always treated as ext2 - filesystems, with a special SEC_TYPE tag set to ext3. - This was necessary because we now longer support multiple - tags with the same name attached to a device. - - * save.c (save_dev): Don't special case the TYPE tag; just write - it out along with all of the normal tags. - (blkid_flush_cache): Eliminate special case code for stdout. - - * cache.c (blkid_new_cache, blkid_get_cache): Eliminate - blkid_new_cache and fold into blkid_get_cache (moved to - cache.c) - - * read.c (blkid_read_cache): New function created from - blkid_get_cache which used to be in read.c that only - updates the in-core cache data structure from the file. - Uses the file modification time of the cache file to - determine whether the cache file needs to be re-read. - - * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c, - save.c, tag.c, blkidP.h: Add dynamic debugging - capabilities, controlled by the environment variable - BLKID_DEBUG. - -2003-02-16 Theodore Ts'o <tytso@mit.edu> - - * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename - blkid_get_devname() to blkid_get_dev(). Also rename - blkid_get_token() to blkid_get_devname(). This more - accurately describes what these functions do. - -2003-02-14 Theodore Ts'o <tytso@mit.edu> - - * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag), - save.c (save_dev): Remove bid_id, as it is not used for - anything. - - * Makefile.in (blkid): When building the blkid, don't link against - the shared blkid library; link only against the static - blkid library. - - * blkidP.h (struct blkid_struct_dev): Remove bid_size and - bid_devsize (since they aren't used any more) and add - bid_pri to the device structure. - - * devname.c (probe_one, lvm_probe_all, evms_probe_all, - blkid_probe_all): Set the bid_pri filed in the device - structure depending on type of device so that EVMS, LVM, - and MD devices get priority over normal devices. - - * tag.c (blkid_find_dev_with_tag): When looking for a device that - matches the search criteria, return the one with the - largest priority (bid_pri). - - * save.c (save_dev): Write out the PRI tag from bid_pri. - - * read.c (parse_tag): Parse the PRI tag and store its value in - bid_pri. - - * probe.c (blkid_verify_devname): If the device does not exist - (open returns ENOENT), treat this as a fatal error and - release the device. After verifying the device, set the - cache as being modified so the changes are written out. - - * resolve.c (main): Change the test driver to get a blkid cache - and pass it to blkid_get_tagname_devname and - blkid_get_token, as the cache is no longer optional. - -2003-02-12 Theodore Ts'o <tytso@mit.edu> - - * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c, - probe.h, read.c, resolve.c, save.c, tag.c: Wholesale - changes to library to simplify the implementation and - shrink its size. Change library version to be 1.0. - -2003-01-27 Theodore Ts'o <tytso@mit.edu> - - * read.c (parse_tag): Do not return that blkid_tag when parsing - the blkid.tag file. - - * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in - code from removed functions - - * tag.c (blkid_create_tag): Don't return the newly tag strcture - any more, as it's not needed. - (blkid_find_tag_cache, blkid_get_tag_cache, - blkid_token_to_tag, blkid_find_tv_tags): Remove these - functions, as they are either only used once or have - interfaces that should be deprecated. - (blkid_find_tag_dev, blkid_find_head_cache): Replace use - of blkid_tag with one or two const char * type/value - arguments. - (blkid_find_dev_with_tag): Fold in code from removed functions - - * probe.h, probe.c: Use a more sophisticated set of byte-swapping - routines which are more compact and efficient. Drop - calculation of bid_free, since it's unnecessary. Avoid - - * save.c (blkid_save_cache): Set the permissions on the blkid - cache file to 644. - -2003-01-25 Theodore Ts'o <tytso@mit.edu> - - * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c, - probe.c, probe.h, read.c, resolve.c, save.c, tag.c, - blkid.h, blkidP.h: Separate public and private - interfaces into separate header files. Start - separating internal implementation details from the - publically exported interface. - - * devname.c: Add support for EVMS - - * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h, - read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits. - -2003-01-24 Theodore Ts'o <tytso@mit.edu> - - * save.c (blkid_save_cache): Use mkstemp() instead mktemp(). - -2002-10-04 Jordan Breeding <jordan.breeding@attbi.com> - - * Forward port to e2fsprogs 1.30 - -2001-09-20 Andreas Dilger <adilger@turbolinux.com> - - * Initial release of libblkid. diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog deleted file mode 100644 index 9f3ba25c..00000000 --- a/lib/e2p/ChangeLog +++ /dev/null @@ -1,719 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-04-02 Theodore Tso <tytso@mit.edu> - - * parse_num.c (parse_num_blocks): When parsing the 's' prefix, - take into account the filesystem blocksize so we return - the correct answer for non-1k blocksize filesystems. - (Addresses Debian Bug: #408298) - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * feature.c (e2p_edit_feature), mntopts.c (e2p_edit_mntopts): Fix - memory leak. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * feature.c: Add support for printing the huge_file, gdt_checksum, - dir_nlink, extra_isize, extent, and 64bit features. - -2006-11-11 Theodore Tso <tytso@mit.edu> - - * ls.c (print_super_flags, list_super2): Print the signed/unsigned - dirhash information from the superblock flags field. - -2006-09-29 Theodore Tso <tytso@mit.edu> - - * percent.c (e2p_percent): Fix bug which caused e2p_percent to - crash if the percentage was zero. - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * percent.c (e2p_percent): Add a new function which accurate and - without risk of overflow calculates a percentage of a base - number. - -2006-08-05 Theodore Tso <tytso@mit.edu> - - * pf.c: Add support for EXT4_EXTENTS_FL flag. - -2006-05-08 Theodore Tso <tytso@mit.edu> - - * feature.c: Add support for EXT2_FEATURE_COMPAT_LAZY_BG feature. - -2006-04-18 Theodore Ts'o <tytso@mit.edu> - - * uuid.c (e2p_is_null_uuid): Fix really stupid bug which could - cause dumpe2fs to fail to display a the journal or hash - seed UUID. (Thanks to Guillaume Chambraud for pointing - this out.) - -2006-03-23 Theodore Ts'o <tytso@mit.edu> - - * feature.c (e2p_edit_feature): If the pseudo-feature "none" or - "clear" is specified, then zero out all of the feature - masks. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-16 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add an include path specifier when building - tst_ostype so that "make check" will build correctly on - systems without the include files from e2fsprogs installed - in the system include directory. - -2005-05-06 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (tst_ostype): Add $(ALL_CFLAGS) to the tst_ostype - rule so it can find the header files. (Addresses - Sourceforge Bug: #1180572) - -2005-04-09 Theodore Ts'o <tytso@mit.edu> - - * ls.c: Add stdlib.h header file since list_super2() uses the - free() function. - -2005-03-30 Theodore Ts'o <tytso@mit.edu> - - * ostype.c (e2p_os2string): Check to make sure malloc() is - successful before attempting to copy into it. Add - #include of stdlib.h to fix a core dump bug on the IA64 - architecture. (Addresses Debian Bug #302200) - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-19 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Use the new e2p_os2string() function - - * ostype.c: New file which converts between an integer os_type and - a string. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove e2p.pc on a "make distclean" - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * e2p.pc.in: Add pkg-config files. - -2005-01-19 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Interpret OS Creator values for FreeBSD and - Lites. - -2005-01-05 Theodore Ts'o <tytso@mit.edu> - - * parse_num.c (parse_num_blocks): New file which adds a standard - function for parsing the number of blocks by programs such - as mke2fs and resize2fs. - -2004-12-23 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Print the s_reserved_gdt_blocks field if it - is non-zero. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-29 Theodore Ts'o <tytso@mit.edu> - - * feature.c: Add support for the extents filesystem feature. - -2004-06-04 Theodore Ts'o <tytso@mit.edu> - - * setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS - to deal with lame glibc's that define this function - without actually implementing it. Can you say "attractive - nuisance", boys and girls? I knew you could! (Thanks to - Pavel Troller for reporting this braindamage.) - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-01-31 Theodore Ts'o <tytso@mit.edu> - - * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c: Apply - patch from Brian Bergstrand to support ext2_ioctl() in - Darwin. This is implemented via the fsctl system call. - -2003-08-20 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Display the journal backup type. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * iod.c: Fix gcc -Wall nitpicks (missing #include <string.h>) - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-19 Theodore Ts'o <tytso@mit.edu> - - * fgetflags.c (fgetflags), fsetflags.c (fsetflags): Remove unused - and useless close(fd). - - * hashstr.c (e2p_hash2string): Remove unused variables. - - * iod.c: Fix gcc -Wall warnings by including stdlib.h. - -2003-04-12 Theodore Ts'o <tytso@mit.edu> - - * iod.c (iterate_on_dir): Support systems that don't have d_reclen - in struct dirent. - -2003-04-11 Theodore Ts'o <tytso@mit.edu> - - * feature.c: Remove support for EXT2_FEATURE_RO_COMPAT_BTREE_DIR, - since it's not actually used, and may confuse people who - are looking for EXT2_FEATURE_COMPAT_DIR_INDEX, which is in - use. - -2003-03-17 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Display the superblock fields even if the - journal or the dir index feature is not enabled. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * pf.c: Print the indexed directory flag if present. Don't - display all of the compression flags unless compression - is enabled. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-11-01 Theodore Ts'o <tytso@mit.edu> - - * pf.c: Add support for a new inode flag, which is to be used for - indicating the top of directory hierarchies for the Orlov - block allocator. - -2002-10-25 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Print the s_mkfs_time field if it is - present. If the last mount time (s_mtime) is zero, print - "n/a". - -2002-10-20 Theodore Ts'o <tytso@valinux.com> - - * e2p.h (e2p_string2mntopt), mntopts.c, ls.c (print_mntopts): - Remove unneeded "compat" argument to e2p_string2mntopt(). - Add mount options for the journal data mode (journaled, - ordered, writeback). - - * feature.c, ls.c (list_super2): Add support for the - meta_blockgroup filesystem format. - -2002-10-15 <tytso@snap.thunk.org> - - * ls.c (print_mntopts, list_super2): Print any default mount - options which the filesystem might have. - - * e2p.h, mntopts.c: New function which converts back and forth - between strings and default mount options. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-23 Theodore Ts'o <tytso@mit.edu> - - * ls.c (list_super2): Print the default hash version and the hash - seed for the directory indexing. Use the new e2p_uuid2str - function to factor out common code. - - * uuid.c (e2p_uuid2str), e2p.h: New utility function which factors - out some common code. - - * hashstr.c (e2p_hash2string, e2p_string2hash): New functions - which convert the hash algorithm name to and from a string. - -2002-08-17 Theodore Ts'o <tytso@mit.edu> - - * fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c - (setflags), getflags.c (getflags): Check to make sure the - file is a regular file or a directory before attempting to - use the ext2 ioctls. Otherwise, return EOPNOTSUPP. - (Addresses Debian Bug #152029). - -2002-07-14 Theodore Ts'o <tytso@mit.edu> - - * fsetflags.c (fsetflags), fgetflags.c (fgetflags, - fsetversion.c (fsetversion), fgetversion.c, - fgetversion.c: Save errno if the ioctl fails, and - restore it just before we return. - - * iod.c (iterate_on_dir): Rewrite function to make it more - portable. We now make much fewer assumptions about nature - and layout of struct dirent, which will hopefully help - things on the Hurd. - -2002-06-15 Theodore Ts'o <tytso@mit.edu> - - * pf.c: Changed "compressed dirty flag" from 'D' to 'Z'. Add - dirsync flag and assign it 'D'. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * pf.c: Add const to struct flags_name to avoid -Wall complaints. - -2001-11-05 Theodore Tso <tytso@mit.edu> - - * pf.c: Add a new file attribute, EXT2_NOTAIL_FL - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * feature.c: Add entry in feature table to interpret - EXT2_FEATURE_COMPAT_EXT_ATTR. - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in, uuid.c: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-20 Theodore Tso <tytso@valinux.com> - - * e2p.h: #include <> instead of "" for ext2fs and et header files, - since they will be installed in /usr/include - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h - -2001-05-11 Andreas Dilger <adilger@turbolinux.com> - - * feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features - -2001-05-13 Theodore Tso <tytso@valinux.com> - - * ls.c (print_features): Added missing space when printing (none) - as the filesystem feature. - (list_super2): If the filesystem revision is unknown, say so. - -2001-01-15 Theodore Ts'o <tytso@valinux.com> - - * ls.c (list_super2): Fix bug where we were printing the - filesystem UUID instead of journal UUID when trying to - display the journal UUID. - -2001-01-14 Theodore Ts'o <tytso@valinux.com> - - * feature.c: Remove backward compatibility #ifdef's for old - ext2_fs.h header files. - - * feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV - -2001-01-11 Theodore Ts'o <tytso@valinux.com> - - * pf.c: Clarified name of the Compression_Raw_Access flag, and - capitalized Journaled_Data. - -2001-01-01 <tytso@snap.thunk.org> - - * ls.c: Remove our own internal definition of struct ext2fs_sb. - We can assume that ext2_super_block is always up to date. - -2000-12-31 <tytso@snap.thunk.org> - - * pf.c: Add code to print out the journalled data flag. - -2000-12-02 <tytso@snap.thunk.org> - - * fgetflags.c (fgetflags): - * fgetversion.c (fgetversion): - * fsetflags.c (fsetflags): - * fsetversion.c (fsetversion): Use the LFS API if available so - that the files are opened with O_LARGEFILE. Addresses - Debian bug #72690. - -2000-08-14 <tytso@valinux.com> - - * ls.c (list_super): Use better description of s_last_orphan - - * ls.c (list_super, list_super2): Added new API function which - takes a FILE * so that the output can be redirected to a - stream. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-06 Theodore Ts'o <tytso@valinux.com> - - * ls.c (list_super): Display the journal information fields in the - superblock if the filesystem has a journal. - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Remove explicit link of -lc in the shared library. - (It shouldn't be necessary, and is harmful in some cases). - -2000-05-08 Theodore Ts'o <tytso@valinux.com> - - * ls.c (list_super): Change the string displayed for the Hurd to - be GNU/Hurd, instead of just "GNU". - -Thu Apr 6 17:38:00 2000 Theodore Y. Ts'o <tytso@signal.thunk.org> - - * feature.c: Make feature_list static; it shouldn't be exported. - - * dll/jump.funcs: Update a.out shared library control file. - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * pf.c (print_flags): Rename EXT2_NOCOMP_FL to EXT2_NOCOMPR_FL. - - * Makefile.in: Add "set -e" so that any errors in installing - header files causes an immediate exit. - -2000-02-10 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Install the e2p.h header. - - * e2p.h, pf.c (print_flags): Change the third parameter of - print_flags() to be an option parameter, although we only - support one option at this point. - - * pf.c (print_flags): Updated to use a more generic structure for - storing the ext2 inode flags. Add support for the - (current) set of compression flags. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * feature.c: Fix GCC warnings; add const to the char * types in - the function prototypes for e2p_feature2string and - e2p_edit_feature. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-22 <tytso@valinux.com> - - * feature.c (e2p_edit_feature), e2p.h: Add a new argument which - allows the calling application to limit what features the - user is allowed to set or clear using this function. - Also add support for comma separated lists. - -1999-09-07 <tytso@valinux.com> - - * Makefile.in, feature.c, e2p.h: New file which is used for - displaying and editing superblock feature sets. - - * ls.c (print_features, list_super): Add new function - print_features which is used to display the feature - bits in the superblock. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -Mon Jan 4 02:34:53 1999 Theodore Y. Ts'o <tytso@mit.edu> - - * uuid.c: Use asm/types.h instead of linux/types.h, to be - consistent with other locations where we've had to do this - to work around glibc. - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-02 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * getversion.c (getversion): Return 0 if there's no error. - - * fgetversion.c (fgetversion): Pass the address of the temporary - variable instead of the unitialized variable to the - EXT2_IOC_GETVERSION ioctl. - -Mon Mar 9 08:05:30 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c, - getflags.c, getversion.c, setflags.c, setversion.c: - The ext2 version and flags ioctl's take an int *, not a - long *. Fix library to use the correct type, so we don't - have problems on the Alpha. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Wed Apr 23 22:41:55 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * ls.c (list_super): Add #ifdef's so it will compile under 1.2.13 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Sat Apr 5 11:48:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c (list_super): Display the filesystem revision and any - features that might be implemented. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Thu Jan 2 00:06:29 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * uuid.c: Include string.h, since we use memcpy(). - -Wed Jan 1 23:47:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c (list_super): Copy times from the superblock to a time_t - variable. (The alpha has different sizes for time_t and - the time in the superblock.) - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Sun Sep 22 16:20:12 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * pf.c: Add support for the 'A' (no atime) flag. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Sat Sep 7 14:48:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c (interval_string): Pretty print the check interval. - -Tue Aug 6 14:12:36 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ls.c (list_super): Display the OS, volume label, last mounted, - and UUID field if present. - -Mon Jun 24 09:55:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ps.c, pf.c, pe.c, ls.c, setversion.c, setflags.c, getversion.c, - fsetversion.c, fsetflags.c, fgetversion.c, fgetflags.c, - getflags.c: Remove include of ext2_fs.h, since it's - included by e2p.h; this also solves a sys/types.h vs - linux/types.h inclusion ordering problem with the GNU libc. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Tue Jan 2 20:50:44 1996 <tytso@rsts-11.mit.edu> - - * fgetflags.c (fgetflags): - * fsetflags.c (fsetflags): - * fgetversion.c (fgetversion): - * fsetversion.c (fsetversion): Add the O_NONBLOCK flag to open - call, so that we don't hang trying to open things like - named pipes. - -Mon Oct 30 17:44:07 1995 <tytso@rsts-11.mit.edu> - - * ls.c (list_super): Use the correct field (s_def_resgid) when - printing the reserved group gid. - -Fri Oct 27 18:07:48 1995 <tytso@rsts-11.mit.edu> - - * iod.c (iterate_on_dir): Don't assume that d->reclen is the size - of the dirent structure; it isn't under Linux. - -Mon Sep 4 21:43:53 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for BSD shared libraries. - -Fri Aug 11 08:36:40 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * setflags.c: #include <sys/types.h> before including <sys/stat.h> - -Sat Aug 12 03:11:45 1995 Remy Card <card@bbj> - - * Makefile.in (install): Install static libraries in $(ulibdir) - (/usr/lib on Linux) instead of $(libdir) (/lib on Linux). - -Sat Aug 5 11:43:36 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the - installation directories correctly. - -Thu Jun 15 23:41:20 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for ELF shared libraries. - -Mon Jun 12 08:34:44 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * e2p.h: Move <direct.h> after <stdio.h> - -Thu Jun 8 12:47:04 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * iod.c (iterate_on_dir): If struct dirent has a d_namlen field, - assume that actual dirent entries may be larger than the structure - (by the name field), and take extra care deal with this case. - This code assumes that d_reclen is a valid dirent field. - Also, don't include <dirent.h>, as e2p.h already does. - - * fgetversion.c (fgetversion): Only use the ext2 ioctl if it - doesn't cause a compile-time barf, otherwise just return EOPNOTSUPP. - * getversion.c (getversion): Ditto. - * fsetversion.c (fsetversion): Ditto. - * setversion.c (setversion): Ditto. - * fsetflags.c (fsetflags): Use chflags instead of the ext2 ioctl - if possible, and otherwise only use the ioctl if it doesn't barf. - * setflags.c (setflags): Ditto (with fchflags). - * fgetflags.c (fgetflags): Use the stat st_flags field instead of - the ext2 ioctl if possible, and otherwise only use the ioctl if it - doesn't barf. - * getflags.c (getflags): Ditto. - - * e2p.h: Include <sys/types.h>, as some <dirent.h>s need it. - * ls.c: Move the include of <sys/types.h> to where <grp.h> can see it. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - -Mon Nov 7 21:59:12 1994 Remy Card <card@bbj> - - * ls.c (list_super): List the new fields s_def_resuid and - s_def_resgid. - - (print_user): New function which prints the uid and the user name. - - (print_group): New function which prints the gid and the group name. - -Wed Aug 17 21:50:39 1994 Remy Card (card@bbj) - - * pf.c (print_flags): New attributes are recognized and a long - format can be used. - - diff --git a/lib/et/ChangeLog b/lib/et/ChangeLog deleted file mode 100644 index 705f38c3..00000000 --- a/lib/et/ChangeLog +++ /dev/null @@ -1,459 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-24 Theodore Tso <tytso@mit.edu> - - * com_err.texinfo: Fix the info-dir line so that the name does not - contain a .info prefix. First of all, it's ugly, - secondly, it causes the install-info command to fail to - remove the com_err info file from the /usr/share/info/dir file - when the comerr-dev package is removed and purged. - (Addresses Debian Bug: #401711) - -2007-05-23 Theodore Tso <tytso@mit.edu> - - * error_message.c: #include unistd.h and sys/types.h to provide - function prototypes to silence gcc -Wall warnings. - -2006-12-22 Theodore Tso <tytso@mit.edu> - - * error_message.c (add_error_table, remove_error_table): Add - debugging so we can see what happens when various shared - libraries are loading and unloading error tables. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * compile_et.sh.in: Make sure locale environment variables are set to - C so the shell script executes consistently no matter the - locale setting. (Addresses SourceForge Bug: #1532177) - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * compile_et.sh.in: Add datarootdir definition for compatibility - with autoconf 2.60. - -2006-08-05 Theodore Ts'o <tytso@mit.edu> - - * compile_et.sh.in: Create the generated .c and .h files read-only - to remind developers they shouldn't edit them. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2005-07-19 Theodore Ts'o <tytso@mit.edu> - - * et_c.awk: Fix bug where error messages using continuations - wouldn't increment the message count. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-20 Theodore Ts'o <tytso@mit.edu> - - * error_message.c, init_et.c: Segregate error tables registered - via add_error_table() and the other dynamic methods from - the ones allocated via initialize_xxx_error_table() so - that we won't fail even for error tables created using old - versions of compile_et. Thanks to Nalin Dahyabhai for - this suggested patch. - - * et_c.awk: Use a dynamically allocated structure in - initialize_xxx_error_table(), to prevent segfaults if an - old library calls initialize_xxx_error_table, and another - library/application calls add_error_table() on the same - error table, and then calls remove_error_table(). - (Addresses Sourcefroge Bug #1150146) - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove com_err.pc on a "make distclean" - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * com_err.pc.in: Add pkg-config files. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * compile_et.sh.in: Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-12-11 Theodore Ts'o <tytso@thunk.org> - - * com_err.3: Fix C syntax error pointed out by ESR. - -2003-11-28 Theodore Ts'o <tytso@mit.edu> - - * et_c.awk: Add declaration of the Heimdal initialization routine - to avoid gcc -Wall complaints - -2003-11-26 Theodore Ts'o <tytso@mit.edu> - - * com_err.h, com_err.c: Use GCC attributes to mark com_err and - default_com_err_proc as taking printf-style format - strings. - -2003-11-22 Theodore Ts'o <tytso@mit.edu> - - * com_err.h: Retore the type of n_msgs in the error_table - structure to "int" from "unsigned int" fix a core dumping - bug in the com_right() function. (Addresses Debian bug - #213450) - -2003-08-20 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Delete com_err.info on a make clean - - * testcases: Update to reflect fixed prototype for - initialize_xxx_err_table_r. - -2003-08-19 Theodore Ts'o <tytso@mit.edu> - - * et_h.awk: Fix wrong prototype for initialize_xxx_err_table_r. - (Thanks to Gombas Gabor for pointing this out, addresses - Debian bug #204332) - -2003-08-01 Philipp Thomas <pthomas@suse.de> - - * et_c.awk, et_h.awk: Add Heimdal compile_et extensions - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-05-13 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Bump minor version number of libcomerr to indicate - the addition of the Himdall compatibility functions. - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * et_c.awk, et_h.awk, com_err.h, com_right.c: Add full Heimdall - compatibility. - - * et_c.awk: Add support for OV-style continuations in compile_et. - (Closes Debian bug #191900). - - * Makefile.in: Add regression test suite for compile_et. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-30 Theodore Ts'o <tytso@mit.edu> - - * et_h.awk (char_shift): Use the com_err.h file in et/com_err.h, - since /usr/include/com_err.h may not exist, and if it - does, it might be the wrong one. - - * compile_et.sh.in: Add --build-tree option which forces the use - of the et_?.awk files in the build tree. - - * error_table.h, error_message.c, com_err.c, internal.h, - init_et.c, com_err.h: Remove STDC legacy #define's. - - * com_err.texinfo: Remove references to K&R C support, and to - potential problems that are no longer relevant. - -2003-03-19 Theodore Ts'o <tytso@mit.edu> - - * com_err.h, error_table.h: Move definition of the error_table - structure from the internal error_table.h to com_err.h, - since it now needs to be public. - - * et_c.awk, et_h.awk: Import changes from krb5's et library so - that the error_table structure is defined and available - publically. - - * error_message.c: Import krb5 and heimdall com_err extensions to - the et library. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2002-09-23 Theodore Ts'o <tytso@mit.edu> - - * internal.h: Remove declaration of perror. All modern systems - can be expected to define perror() these days. - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-23 Theodore Tso <tytso@mit.edu> - - * com_err.texinfo: Fix up the com_err info file so that it - includes the directory node information. (Taken from the - Debian diff file.) - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-12-02 Theodore Tso <tytso@mit.edu> - - * com_err.c (default_com_err_proc): Work around bug in diet libc - which core dumps when using fputc on stderr; besides, it - shaves bytes off of com_err.o if we use fputs instead of - two fputc calls. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-16 Theodore Tso <tytso@mit.edu> - - * compile_et.sh.in: Make the shell script safe from directory - pathnames with spaces. - -2001-09-10 Theodore Tso <tytso@mit.edu> - - * com_err.texinfo: Add appropriate @node and @menu lines so that - the a valid .info file can be made. Use @deftypefun to - define functions. Change the e-mail address where bug - reports to be sent to be is the e2fsprogs maintainer. - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-12-04 <tytso@snap.thunk.org> - - * compile_et.1: Fix simple typo in the man page. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Remove explicit link of -lc in the shared library. - (It shouldn't be necessary, and is harmful in some cases). - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-22 <tytso@valinux.com> - - * com_err.3: Fix to have correct #include path for com_err.h - -1999-09-07 <tytso@rsts-11.mit.edu> - - * Updated copyright statements with permission of the original - authors. - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * et_h.awk, et_c.awk: Work around libm bug on the ARM. - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Fix bug where my_dir was set incorrectly. Install - the et_c.awk and et_h.awk files in $(datadir)/et (i.e., - /usr/share/et) directory. Change to use new - installation directory variables convention. Fix - uninstall rules to take $(DESTDIR) into account. - - * compile_et.1: Change man page to reflect the fact that - compile_et is now a awk/sed script, not a yacc script. - - * compile_et.sh.in: Look in $(datadir)/et for et_c.awk and - et_h.awk; if not found, look in the build directory. Add - error checking for non-existent input file. - -Fri Oct 31 01:14:41 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * et_c.awk, et_h.awk: Remove support for non STDC compilers, since - the workarounds caused problems with the header file. - -Sun Aug 10 09:40:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * error_table.h: - * et_name.c (error_table_name): - * error_message.c (error_message.c): Make code be 16-bit safe. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Mon Sep 4 21:44:47 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for BSD shared libraries. - -Sat Aug 12 03:11:28 1995 Remy Card <card@bbj> - - * Makefile.in (install): Install static libraries in $(ulibdir) - (/usr/lib on Linux) instead of $(libdir) (/lib on Linux). - -Sat Aug 5 11:44:17 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the - installation directories correctly. - -Thu Jun 15 23:39:51 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for ELF shared libraries. - Fixed typos in the compilation rules. - (distclean): Added compile_et.sh. - -Sat Jun 10 19:56:13 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * compile_et.sh.in: Use ET_DIR instead of srcdir to determine the - location of the et directory. - -Thu Jun 8 12:45:41 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * vfprintf.c (vfprintf): Only compile this function if vfprintf - doesn't already exist and _doprnt does. - - * compile_et.sh: Moved to compile_et.sh.in. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - Don't preprocess compile_et.sh, as this is now done by configure. - -Mon Nov 7 21:17:48 1994 Remy Card <card@bbj> - - * Makefile: Added a dummy install target in case shared libraries - are not built. - -Thu Sep 8 22:33:33 1994 (tytso@rsx-11) - - * com_err.c (default_com_err_proc): Reversed order of \n\r to make - jik happy. diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog deleted file mode 100644 index 6b0237a7..00000000 --- a/lib/ext2fs/ChangeLog +++ /dev/null @@ -1,3775 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-29 Theodore Tso <tytso@mit.edu> - - * inode.c (ext2fs_get_next_inode_full): Whe byte swapping, make - sure the inode buffer is cleared first so that the - previous contents don't get mistaken as part of the new - (next) inode. - -2007-06-22 Theodore Tso <tytso@mit.edu> - - * inode.c (ext2fs_read_inode_full): Pass in bufsize so the full - inode is byte-swapped. - - * swapfs.c (ext2fs_swap_inode_full): Fix byte-swapping issues for - i_extra_size field. - -2007-06-12 Theodore Tso <tytso@mit.edu> - - * openfs.c (ext2fs_open2): We now set EXT2_FLAG_MASTER_SB_ONLY - when we open a filesystem. Applications that want to - write changes to the backup superblocks need to explicitly - clear this flag. - -2007-05-31 Theodore Tso <tytso@mit.edu> - - * tst_super_size.c (main): Add sanity check to make sure the - supersize structure is 1024 bytes. - - * ext2_fs.h: Reserve superblock field for the raid stripe width. - -2007-05-31 Kalpak Shah <kalpak@clusterfs.com> - - * ext2_fs.h: Reserve superblock fields and INCOMPAT feature flag - for multiple mount protection protection. - -2007-05-23 Theodore Tso <tytso@mit.edu> - - * icount.c (ext2fs_icount_fetch, ext2fs_icount_increment, setup): - Remove unusued variables and labels. - - * tst_bitops.c, tst_types.c: Fix gcc -Wall warnings. - -2007-05-18 Theodore Tso <tytso@mit.edu> - - * openfs.c (ext2fs_open2): Set fs->stride from the superblock's - s_raid_stride value. - - * ext2_fs.h: Allocate space for RAID stride in the superblock. - -2007-05-08 Eric Sandeen <sandeen@redhat.com> - - * ext2_fs.h (inode_uid, inode_gid): The inode_uid() and - inode_gid() macros will automatically add the high bits - when reading uid/gid, on platforms that support it. - -2007-04-19 Theodore Tso <tytso@mit.edu> - - * ext2_fs.h, swapfs.c (ext2fs_swap_inode_full): Rename the - l_i_reserved1 field to be l_i_version (to be used for the - high 32 bits of the 64-bit inode version number). - -2007-04-18 Theodore Tso <tytso@mit.edu> - - * getsize.c (ext2fs_get_device_size): Make sure we don't leak a - file descriptor in some error cases. - -2007-04-14 Theodore Tso <tytso@mit.edu> - - * swapfs.c (ext2fs_swap_inode_full): Fix a problem byte-swapping - fast symlinks inodes that contain extended attributes. - (Addresses Red Hat Bugzilla #232663, LTC bugzilla #27634) - -2007-04-06 Theodore Tso <tytso@mit.edu> - - * icount.c (ext2fs_create_icount_tdb): Add support for using TDB - to store the icount data, so we don't run out of memory - when checking really large filesystems. - - * ext2_err.et.in: Add new TDB error codes. - - * icount.c, Makefile.in: Add a regression test suite for the - icount abstraction. - -2007-04-04 Jim Garlick <garlick@llnl.gov> - - * inode.c (ext2fs_write_new_inode): Fix memory leak. - -2007-04-04 Theodore Tso <tytso@mit.edu> - - * tdb.c, tdb.h, Makefile.in: Add the tdb library from Samba into - ext2fs. - - * tst_types.c: Add #include's to avoid compiler warnings. - -2007-04-02 Theodore Tso <tytso@mit.edu> - - * icount.c (get_icount_el): Prevent floating point precision - errors on really big filesystems from causing the search - interpolation algorithm loop forever. (Addresses Debian - Bug: #411838) - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * imager.c (ext2fs_image_inode_write), inode.c - (ext2fs_write_inode_full): Fix memory leak on error return - (when the inode table is missing). - -2006-11-30 Theodore Tso <tytso@mit.edu> - - * ext2_fs.h (struct ext4_group_desc): Fix missing bg_pad which - made the structure too small. - -2006-11-14 Theodore Tso <tytso@mit.edu> - - * namei.c (open_namei): Rename internal variable basename to - base_name to prevent gcc -Wall complaints. - - * kernel-jbd.h (tid_gt, tid_geq): Add function declaration to - avoid gcc -Wall complaints. - - * ext2_ext_attr.h (EXT2_EXT_ATTR_PAD): Make unsigned to fix gcc - -Wall complaints. - - * bitops.h (ext2fs_test_bit): Add missing const to fix gcc -Wall - complaint. - - * ext2fs.h (ext2fs_get_mem, ext2fs_free_mem): Avoid type punning - which causes problems on the ARM processor. (Addresses - Debian Bug: #397044) - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * ext2_fs.h (EXT2_FLAG_SOFTSUPP_FEATURES), openfs.c - (ext2fs_open2): Add flag which indicates that it's OK to - open a filesystem which has features which are only - partially supported by e2fsprogs. - - * ext3_extents.h, ext2fs.h: Check in ext4 extent headers into the - source tree, in preparation for adding full extent support. - - * unix_io.c (unix_flush): Allow offsets greater than 2G. - (Addresses SourceForge Bug #1547922) - -2006-11-11 Theodore Tso <tytso@mit.edu> - - * dirhash.c (str2hashbuf, ext2fs_dirhash): Add support for - calculating the unsigned version of the directory hash. - - * initialize.c (ext2fs_initialize): Set the dirhash - signed/unsigned hint in s_flags. - - * swapfs.c (ext2fs_swap_super): Byte swap the s_flags superblock - field. - - * ext2_fs.h: Define a new superblock field, s_flags, which is used - to store a signed vs. unsigned dirhash hint. Define new - HTREE hash algorithm numbers to pass to userspace if the - unsigned algorithm are required. - - * swapfs.c (ext2fs_swap_super): - ext2_fs.h: Add definition of EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE, - which adds s_min_extra_isize and s_want_extra_isize fields - to superblock, which allow specifying the minimum and - desired i_extra_isize fields in large inodes - (for nsec+epoch timestamps, potential other uses). - Needs RO_COMPAT flag handling, needs e2fsck support, - patch complete, little testing. - - * swapfs.c (ext2fs_swap_super): - ext2_fs.h: Add definition of EXT4_FEATURE_INCOMPAT_64BIT, - which adds supports for 64-bit block count fields in the - superblock (s_blocks_count_hi, s_free_blocks_count_hi), - large group descriptors (s_desc_size), extents with high - 16 bits (ee_start_hi, ei_leaf_hi), inode ACL (i_file_acl_hi) - - * ext2_fs.h: Add definition of EXT4_FEATURE_RO_COMPAT_DIR_NLINK, - which allow directories to have > 65000 subdirectories - (i_nlinks) by setting i_nlinks = 1 for such directories. - RO_COMPAT protects old filesystems from unlinking such - directories incorrectly and losing all files therein. - - * swapfs.c (ext2fs_swap_group_desc): - ext2_fs.h: Add definition of EXT4_FEATURE_RO_COMPAT_GDT_CSUM, - which adds a crc16 checksum in the group descriptor, - (s_uuid[16] | __u32 group | ext3_group_desc - (excluding gd_checksum itself)). This allows the kernel - to more safely manage UNINIT groups. Also adds an - bg_itable_unsued which indicates how many inodes are - uninitialized in the block group. - - * swapfs.c (ext2fs_swap_inode_full): - ext2_fs.h: Add definition of EXT4_FEATURE_RO_COMPAT_HUGE_FILE, - which changes i_blocks to be in units of s_blocksize units - instead of 512-byte sectors, use l_i_frag and l_i_fsize as - i_blocks_hi. - -2006-10-02 Eric Sandeen <esandeen@sandeen.net> - - * getsize.c (ext2fs_get_device_size): Check to make sure that the - number of blocks doesn't overflow the retblocks return - parameter for regular files using stat64(). - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * bitops.h (ext2fs_swab32): Only include ext2fs_swab32() if - EXT2FS_ENABLE_SWAPFS is defined. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * initialize.c (ext2fs_initialize): Make sure inode count does - not overflow 32 bits. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * alloc_tables.c (ext2fs_allocate_group_table): - * check_desc.c (ext2fs_check_desc): - Use new inlines to calculate group first & last blocks. - * ext2fs.h: - Create new inlines to calculate first/last group blocks. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * bmove.c (process_block): - * getsize.c (main): - * icount.c (ext2fs_create_icount2, insert_icount_el): - * tst_badblocks.c (print_list, validate_test_seq, do_test_seq): - * tst_badblocks.c (invalid_proc): - * tst_getsize.c (main): - * tst_iscan.c (check_map): - * unix_io.c (raw_read_blk, unix_read_blk): - * write_bb_file.c (ext2fs_write_bb_FILE): Fix printf formats. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * closefs.c (write_backup_super): - * initialize.c (ext2fs_initialize): Remove unused variables. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * check_desc.c (ext2fs_check_desc): avoid overflows when iterating - over group descriptors on very large filesystems. - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * bitmaps.c (ext2fs_set_bitmap_padding): Fix potential overflow - problems when the number of blocks is close to 2**31. - - * ext2fs.h (ext2fs_div_ceil): Add new function which safely - calculates an integer division where the result is always - rounded up while avoiding overflow errors. - - * initialize.c (calc_reserved_gdt_blocks, ext2fs_initialize): - * openfs.c (ext2fs_open2): Use ext2fs_div_ceil() instead of a - using an open-coded expression which was subject to - overflows. - -2006-08-06 Andreas Dilger <adilger@clusterfs.com> - - * bitops.h (ext2fs_cpu_to_le32, ext2fs_le64_to_cpu, - ext2fs_swab64): Add 64-bit byte swapping functions - -2006-08-05 Theodore Tso <tytso@mit.edu> - - * ext2_fs.h (EXT4_EXTENTS_FL): Rename EXT3_EXTENTS_FL to - EXT4_EXTENTS_FL, and add EXT4_EXTENTS_FL to user visible - flags list. - -2006-07-15 Theodore Tso <tytso@mit.edu> - - * ext2fs.h: Remove unneeded #ifdef since EXT2_DYNAMIC_REV is - always defined in the e2fsprogs-provided ext2_fs.h - -2006-05-21 Theodore Tso <tytso@mit.edu> - - * openfs.c (ext2fs_open2): Fix type warning problem with sizeof() - -2006-05-12 Theodore Tso <tytso@mit.edu> - - * alloc_tables.c (ext2fs_allocate_group_table): When allocating - space for the RAID filesystems with the stride parameter, - place each portion of the group's inode table right up - after the superblock (if present) in order to minimize - fragmentation of the freespace. - -2006-05-08 Theodore Tso <tytso@mit.edu> - - * rw_bitmaps.c (write_bitmaps, read_bitmaps): Added support for - lazy blockgroups. If a block group has flags indicating - that its block or inode data structures have not been - initialized, skip reading or writing that portion of the - bitmap. - - * inode.c (ext2fs_open_inode_scan, ext2fs_read_inode_full): When - scanning a filesystem with lazy blockgroups, skip - uninitialized portions of the inode table when iterating - over the block group. - - * swapfs.c (ext2fs_swap_group_desc): Byte swap the bg_flags field. - - * ext2fs.h: Define the a new internal flag, EXT2_SF_DO_LAZY, so - that the inode interator knows compat_lazy_bg feature is - enabled. Declare that this version of e2fsprogs supports - the EXT2_FEATURE_COMPAY_LAZY_BG feature. - - * ext2_fs.h (struct ext2_group_desc): Use the bg_pad field for - bg_flags, and define the flags EXT2_BG_INODE_UNINIT and - EXT2_BG_BLOCK_UNINIT. These flags are only honored if - EXT2_FEATURE_COMPAT_LAZY_BG feature is enabled (also - added). - -2006-04-23 Theodore Ts'o <tytso@mit.edu> - - * rw_bitmaps.c (write_bitmaps, ext2fs_write_inode_bitmap, - ext2fs_write_block_bitmap, ext2fs_write_bitmaps): Reduce - disk seeks by writing the inode and block bitmaps in an - interleaved fashion. - -2006-04-09 Theodore Ts'o <tytso@mit.edu> - - * ext2_types.h.in, Makefile.in, tst_types.c: Use the asm_types.h - file to define the __[us]{8,16,32,64} types. Add a - tst_types program to make sure the types are correct. - -2006-04-04 Theodore Ts'o <tytso@mit.edu> - - * mkjournal.c (ext2fs_add_journal_inode): If the filesystem is - opened in exclusive mode, then device will be busy by - definition, so don't return -EBUSY. This caused mke2fs -j - to fail on the 1.39-WIP (29-Mar-2006) release. (Addresses - Debian Bug: #360652) - -2006-03-29 Theodore Ts'o <tytso@mit.edu> - - * bitops.h (ext2fs_set_bit, ext2fs_clear_bit): Fix the constraints - so that GCC knows that the ext2fs_set/clear_bit reads and - writes the data. - -2006-03-25 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Check the bitfield operations much more carefully, - and arrange to have tst_bitops run from "make check" - - * tst_bitops.c: Enahce tst_bitops program so that it is much more - thorough in testing bit optations. - - * bitops.h: Add new functions ext2fs_fast_set_bit() and - ext2fs_fast_clear_bit() and make the x86 functions 32-bit - clear. Change the fast inode and block mark/unmark - functions to use ext2fs_fast_set/get_bit() - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h (EXT2_FLAG_EXCLUSIVE): Define new flag which requests - that the io_channel be opened in exclusive mode. - - * openfs.c (ext2fs_open2), initialize.c (ext2fs_initialize): If - EXT2_FLAG_EXCLUSIVE is passed to ext2fs_open or - ext2fs_initialize, then pass IO_FLAG_EXCLUSIVE to the - io_channel open routine. - - * ext2_io.h (IO_FLAG_EXCLUSIVE), unix_io.c (unix_open): Add new - io_channel open flag, IO_FLAG_EXCLUSIVE, which requests - that the device be opened in exclusive (O_EXCL) mode. - - * ext2fs.h: Fix documentation so that BLOCK_FLAG_TRAVERSE is - BLOCK_FLAG_DEPTH_TRAVERSE. (Addresses Debian Bug #351268) - -2006-03-17 Theodore Ts'o <tytso@mit.edu> - - * initialize.c (calc_reserved_gdt_blocks): Fix a signed vs - unsigned problem which caused mke2fs -O resize_inode to - bomb out on large filesystems. (Addresses Debian Bug - #346580) - - * ext2_fs.h (EXT2_IOC_GETVERSION_NEW, EXT2_IOC_SETVERSION_NEW, - EXT2_IOC_GROUP_EXTEND, EXT2_IOC_GROUP_ADD): Add ioctl - definitions - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * res_gdt.c (ext2fs_create_resize_inode): Fix type-punning warning. - - * read_bb_file.c (ext2fs_read_bb_FILE): Use a data structure - instead of stuffing a function pointer dirctly into a void - pointer, since that isn't portable. - - * mkjournal.c (ext2fs_add_journal_inode): Fix possiblely - uninitialized use of variable warning. - - * initialize.c (calc_reserved_gdt_blocks): Fix signed vs. unsigned - type complaint. - - * ext2fs.h: Make the type of the 'now' field to be time_t to avoid - gcc -Wall complaints. - - * bitops.h (ext2fs_find_first_bit_set): Fix signed vs unsigned - type error. - - * tst_badblocks.c (file_test_invalid): Add test which confirms - proper detection of invalid block numbers in - ext2fs_read_bb_FILE(). - -2005-11-20 Theodore Ts'o <tytso@mit.edu> - - * bitops.h: We no longer have the sparc assembly code in the - header file any more, so we shouldn't set - _EXT2_HAVE_AS_BITOPS_. This would break compiles on the - sparc architectures when using gcc. - -2005-11-13 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h: Add #include <string.h> since the inline functions use - memcpy(). (Addresses Sourceforge Bug #1251062) - -2005-11-09 Theodore Ts'o <tytso@mit.edu> - - * Fix a bug when writing an external journal device on an big - endian machine (such as a S/390), where when the number of - block groups is zero, we never end up writing out the - primary superblock at all. - -2005-09-24 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h, bb_inode.c, closefs.c, initialize.c, mkdir.c, - mkjournal.c, res_gdt.c: If fs->now is non-zero, use that - as the time instead of the system time when setting - various filesystem fields (last modified time, last write - time, etc.) - -2005-08-28 Matthias Andree <matthias.andree@gmx.de> - - * Fix compiler warnings about missing memcpy prototypes. - -2005-07-25 Theodore Ts'o <tytso@mit.edu> - - * test_io.c (safe_getenv): Pass in zero to the unusued arguments - of prctl(PR_GET_DUMPABLE) to avoid false positives from - valgrind. - -2005-07-19 Theodore Ts'o <tytso@mit.edu> - - * mkjournal.c (ext2fs_add_journal_inode): Check for the case where - the filesystem is apparently not mounted, but the device - is still busy. This can happen when the luser doesn't - bother to mount /proc and has a bogus /etc/mtab, but still - wants to mount the filesystem before using tune2fs(?!?). - Add a safety check to save him from his own stupidity, at - least on 2.6 kernels. (Addresses Debian Bug #319002) - -2005-07-09 Andreas Dilger <adilger@clusterfs.com> - - * getsize.c (ext2fs_get_device_size): Use fstat/fstat64 to get - size of regular files. Fix file descriptor leaks in error - paths. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-30 Theodore Ts'o <tytso@mit.edu> - - * bitops.h, bitops.c (ext2fs_set_bit, ext2fs_clear_bit, - ext2fs_test_bit): Change these function prototypes to be - unsigned int's. Negative bit numbers were never allowed - (and never made any sense), so this should be a safe - change. This is needed to allow safe use of block numbers - greater than or equal to 2**31. - -2005-06-27 Stephen Tweedie <sct@redhat.com> - - * ext2fs.h (ext2fs_resize_mem): Fix C99 strict type aliasing - problems. Addresses Red Hat Bugzilla #161183. - -2005-06-19 Theodore Ts'o <tytso@mit.edu> - - * getsectsize.c (BLKSSZGET): Clean up test for when to manually - define the BLKSSZGET ioctl. - -2005-05-29 Theodore Ts'o <tytso@mit.edu> - - * ismounted.c (ext2fs_check_mount_point): Add test to see if the - device appears to be busy; this only works on Linux 2.6+ - systems, but provides some additional bullet-proofing in - those cases. - -2005-05-08 Theodore Ts'o <tytso@mit.edu> - - * test_io.c (safe_getenv): Fix bug so it would fetch the right - environment variable. - -2005-04-09 Theodore Ts'o <tytso@mit.edu> - - * inode.c (ext2fs_write_new_inode), - ind_block.c (ext2fs_read_ind_block): Add missing return - value in error return case. (Otherwise we return garbage - instead of the error code.) - -2005-03-31 Theodore Ts'o <tytso@mit.edu> - - * test_io.c (test_open): If called by a setuid/setgid or an - otherwise privileged program, be paranoid and ignore the - TEST_IO_* environment variables. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * ext2_ext_attr.h (EXT2_XATTR_LEN, EXT2_XATTR_SIZE): Add new - convenience cpp macros. - -2005-03-20 Theodore Ts'o <tytso@mit.edu> - - * mkdir.c (ext2fs_mkdir): Call ext2fs_write_new_inode() instead of - ext2fs_write_inode(). - - * inode.c (ext2fs_write_new_inode): New function which should be - used when the caller is writing an inode for the first - time. It makes sure that the extra portion of the large - inode is initialized properly. - -2005-03-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix clean target to remove tst_getsectsize. - - * getsize.c (ext2fs_get_device_size): Check to see if the number - of blocks is greater than 2**32 when we are doing a binary - search to determine the device size. Thanks to Stephen - Tweedie for the patch. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove ext2fs.pc on a "make distclean" - -2005-02-04 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (clean): Remove tst_getsize when doing a make clean - -2005-02-03 Theodore Ts'o <tytso@mit.edu> - - * bitops.c: Make the generic functions more efficient. - - * bitops.h: Drop SPARC assembly code. It's less efficient than GCC - 3.4 compiled code and also triggers nasty compiler - warnings on sparc64. Thanks to Matthias Andree for his - analysis and suggestion. - -2005-01-27 Theodore Ts'o <tytso@mit.edu> - - * res_gdt.c (ext2fs_create_resize_inode): Create the resize inode - even if s_reserved_gdt_blocks is zero. - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.pc.in: Add pkg-config files. - -2005-01-25 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h: Add definition of struct ext2_inode_large - - * ext2_fs.h: Add new function prototypes - - * ext_attr.c (ext2fs_read_ext_attr, ext2fs_write_ext_attr): The - ext2fs_swap_ext_attr() has been moved to swapfs.c, and - given a new argument, has_header. - - * swapfs.c (ext2fs_swap_ext_attr): Moved from ext_attr.c, and - takes an argument which controls whether or not there is - an EA header which needs to be byteswaped. - (ext2fs_swap_inode_full): New function which byte-swaps - the EA in inode. - - * inode.c (ext2fs_get_next_inode_full, ext2fs_read_inode_full, - ext2fs_write_inode_full): New functions, originally from - Alex Tomas, but which needed to be substantially fixed so - that the tests wouldn't cause major stack overwrite bugs - in byte-swapping is enabled. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix the kernel compile-time echo commands to be - consistent and portable - -2005-01-07 Theodore Ts'o <tytso@mit.edu> - - * unlink.c (ext2fs_unlink): If both the name and the inode number - are unspecified, then return an error, so that we don't do - something surprising such as unconditionally deleting the - first directory entry. - (unlink_proc): Delete directory entries by coalescing it - with the previous entry, to avoid directory fragmentation. - -2005-01-06 Theodore Ts'o <tytso@mit.edu> - - * version.c (ext2fs_parse_version_string): Change parsing - algorithm so that version strings such as 1.36-rc1 returns - a non-surprising result (i.e., 136, and not 1361). - -2005-01-05 Theodore Ts'o <tytso@mit.edu> - - * block.c (block_iterate_ind, block_iterate_dind, - block_iterate_tind): Move the code which byte swaps and - read/writes indirect blocks to ext2fs_{read,write}_ind_block. - This saves 400 bytes, and we need them for the - resize_inode handling. - - * ind_block.c (ext2fs_read_ind_block, ext2fs_write_ind_block): New - functions. - - * res_gdt.c (ext2fs_create_resize_inode): Use - ext2fs_{read,write}_ind_block so that byte swapping is - handled on big-endian systems. - - * dupfs.c (ext2fs_dup_handle): Make sure the new filesystem handle - has its own copy of the orig_super data structure. (This - is a better way of fixing a double-free problem in - resize2fs which Fedora attempted to fix in - e2fsprogs-1.35-double_free.patch. Addresses Red Hat - Bugzilla #132707.) - -2004-12-23 Theodore Ts'o <tytso@mit.edu> - - * inode.c (ext2fs_flush_icache): When flushing the icache, clear - the last-read block information as well. - - * ext2fs.h (BMAP_SET), bmap.c (ext2fs_bmap): Add support for new - flag, BMAP_SET, which allows the caller to set a - particular logical->physical block mapping. - - * ext2_err.et.in (EXT2_ET_SET_BMAP_NO_IND): New error code - - * initialize.c (calc_reserved_gdt_blocks): #ifdef out all - debugging printf statements. - - * res_gdt.c (ext2fs_create_resize_inode): Return - EXT2_ET_RESIZE_INODE_CORRUPT if the resize inode is not - what we expect. #ifdef out all debugging printf - statements. - - * ext2_err.et.in (EXT2_ET_RESIZE_INODE_CORRUPT): Add new error code. - -2004-12-22 Theodore Ts'o <tytso@mit.edu> - - * swapfs.c (ext2fs_swap_super): Byteswap the reserved_gdt_blocks - superblocks field. - -2004-12-15 Theodore Ts'o <tytso@mit.edu> - - * sparse.c (ext2fs_list_backups, ext2fs_bg_has_super), - res_gdt.c (list_backups), closefs.c (ext2fs_bg_has_super), - ext2fs.h: Move ext2fs_list_backups() to res_gdt.c, and - ext2fs_bg_has_super() back to closefs.c. There's no - reason for the new file, since list_backups() isn't being - used by any other functions, and can be made static, and - all users of the ext2fs filesystem will have to call - ext2fs_close() anyway. - -2004-12-15 Theodore Ts'o <tytso@mit.edu> - - * Applied resize inode patch from Andreas Dilger - - * res_gdt.c (ext2fs_create_resize_inode): New function that - creates the resize inode. - - * initialize.c (ext2fs_initialize): Reserve space for the resize - inode. - - * ext2fs.h (EXT2_LIB_FEATURE_COMPAT_SUPP): Add - EXT2_FEATURE_COMPAT_RESIZE_INODE to the list of supported - capabilities. - Add function prototypes for res_gdt.c and sparse.c. - - * closefs.c (ext2fs_super_and_bgd_loc): Take the reserved blocks - into account when calculating the number of overhead - blocks. - - * closefs.c (ext2fs_bg_has_super, test_root), sparse.c: Move these - functions to the new file sparse.c - - * alloc_sb.c (ext2fs_reserve_super_and_bgd): Reserve the blocks - saved in the resize inode as being in use. - - * ext2_err.et.in (EXT2_ET_RES_GDT_BLOCKS): Add new error code. - - * Makefile.in (srcdir): Add res_gdt.c and sparse.c to the ext2fs - library. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - Update dependencies. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c (unix_set_option): Add support for the offset option. - - * test_io.c (test_set_option): Add support for the set_option method. - - * ext2_io.h: Add new io_channel method, set_option(), and change - io_channel_write_byte() from a macro to a library function. - - * ext2fs.h, openfs.c(ext2fs_open2): New version of ext2fs_open - which adds a new parameter, io_options. - (ext2fs_open): If there is a question mark in the - filename, and no io_options are specified, assumed that - the text following the question mark are io_options. - - * io_manager.c, Makefile.in: New source file which contains - high-level functions for the io_channel layer. - - * freefs.c (ext2fs_free): Make sure we don't free the io_channel - if image_io is NULL. - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-29 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h (EXT2_EXTENTS_FL, EXT3_FEATURE_INCOMPAT_EXTENTS, - EXT2_MAX_BLOCK_LOG_SIZE): Add definition for extent - feature and inode flag. Change maximum allowable block - size to be 65536. - -2004-10-08 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (ext2fs_get_device_size): Add support for Windows - 9x/NT under Cygwin. Thanks to Sam Robb - (samrobb@users.sourceforge.net) for pointing this and the - suggested code patch. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * getsize.c: Clean up header #include's. - - * llseek.c (ext2fs_llseek): On non-linux systems, use lseek64() if - it is present. (Addresses Debian bug #269044) - -2004-07-28 Theodore Ts'o <tytso@mit.edu> - - * rw_bitmaps.c (read_bitmaps), block.c (block_iterate_ind, - block_iterate_dind, block_iterate_tind), inode.c - (ext2fs_read_inode): If EXT2_FLAG_IMAGE_FILE is set, so - read the metadata from fs->image_io instead of fs->io. - - * initialize.c (ext2fs_initialize), openfs.c (ext2fs_open): - Initialize fs->image_io to be the same as fs->io. - - * ext2_err.et.in (EXT2_ET_NOT_IMAGE_FILE): Add new error code. - - * openfs.c (ext2fs_get_data_io, ext2fs_set_data_io, - ext2fs_rewrite_to_io): New functions that allow - applications to manipulate fs->image_io and fs->io safely. - - * freefs.c (ext2fs_free): If fs->image_io is different fs->io, - then call io_channel_close on fs->image_io. - - * ext2fs.h: Add image_io element to the ext2_filsys data - structure. Add ext2fs_get_data_io() ext2fs_set_data_io(), - and ext2fs_rewrite_to_io() prototypes. - -2004-05-26 Theodore Ts'o <tytso@mit.edu> - - * closefs.c (ext2fs_flush): Make sure the master superblock is - written last, and only after other I/O has been flushed to - disk. Thanks to Junfeng Yang from the Stanford - Metacompilation group for pointing a potential ordering - constraint problem if we don't write things out in the - right order. - - * test_io.c: Implement the ability to abort after n reads or - writes to a particular block. The block is specified by - TEST_IO_BLOCK environment variable, and the read/write - count by the TEST_IO_READ_ABORT and TEST_IO_WRITE_ABORT - environment variables. The block data is now only dumped - if the 0x10 bit is set in TEST_IO_FLAGS. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * ext2_types.h.in: Remove check for _UUID_TYPES since uuid_types.h - is no longer used. - -2004-03-08 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (ext2fs_get_device_size): Only use the BLKGETSIZE64 - ioctl on Linux 2.6 since it is unreliable in Linux 2.4. - (Addresses Debian Bug #236528). Fix typo in the ioctl - used for Mac OS X. - -2004-03-02 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (ext2fs_get_device_size): Update getsize functions to - use Apple Darwin and Linux 64-bit ioctl's - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-21 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h (ext2fs_resize_mem): Fix C++ problem. (Addresses Red - Hat Bugzilla #112448; thanks Thomas Woerner from Red Hat.) - -2004-02-14 Theodore Ts'o <tytso@mit.edu> - - * namei.c (follow_link): Correctly deal with symlinks that have - extended attribute information. (Addresses Debian Bug - #232328) - -2004-01-30 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h: Reserve an extra 4 bytes for the journal backup, - which we're using due to a typo in the e2fsck code. (Oops) - - * swapfs.c (ext2fs_swap_inode): Fix byte swap bug which causes SE - Linux created symlinks with mandatory attributes to fail - to be properly handled on big endian systems. (Addresses - Debian Bug #228723). - (ext2fs_swap_super): Byte swap some new fields in the - superblock, including the journal backup fields. - -2003-12-02 Theodore Ts'o <tytso@mit.edu> - - * alloc.c, bb_inode.c, bitops.c, block.c, check_desc.c, closefs.c, - dir_iterate.c, dirblock.c, expanddir.c, ext2fs.h, - get_pathname.c, icount.c, imager.c, initalize.c, inode.c, - lookup.c, openfs.c, read_bb.c, read_bb_file.c, - rw_bitmaps.c, unix_io.c, unlink.c, write_bb_file.c: Fix - gcc -Wall complaints. Mainly marking variables as being - unsued, and catching signed vs. unsigned comparisons. - -2003-09-03 Theodore Ts'o <tytso@mit.edu> - - * closefs.c (ext2fs_super_and_bgd_loc): New function which - centralizes the calculation of the superblock and block - group descriptors. - (ext2fs_flush): Use ext2fs_super_and_bgd_lock to figure - out where to write the superblock and block group - descriptors. - - * alloc_sb.c (ext2fs_reserve_super_and_bgd): New function which - reserves space in the block bitmap using - ext2fs_super_and_bgd_loc. - - * initialize.c (ext2fs_initialize): Use - ext2fs_reserve_super_and_bgd to initialize the block bitmap. - -2003-08-20 Theodore Ts'o <tytso@mit.edu> - - * inode_io.c (ext2fs_inode_io_intern2), ext2fs.h: Add new function - allows the caller to pass in the inode data structure. - - * fileio.c (ext2fs_file_open2), ext2fs.h: Add new function which - allows the caller to pass in the inode to be used in the - file I/O. - - * ext2_fs.h: Add a backup of the location of the journal inode - blocks to the superblock. - - * mkjournal.c (write_journal_inode): Save the location of the - journal inode to the backup location in the superblock. - -2003-08-01 Philipp Thomas <pthomas@suse.de> - - * alloc.c, badblocks.c, bb_inode.c, bitmaps.c, block.c, bmap.c, - bmove.c, brel_ma.c, closefs.c, dblist.c, dblist_dir.c, - dir_iterate.c, dirblock.c, dupfs.c, expanddir.c, ext2fs.h, - ext_attr.c, fileio.c, freefs.c, get_pathname.c, icount.c, - initialize.c, inode.c, inode_io.c, irel_ma.c, mkdir.c, - mkjournal.c, namei.c, newdir.c, openfs.c, rs_bitmap.c, - rw_bitmaps.c, test_io.c, unix_io.c: ext2fs_getmem(), - ext2fs_free_mem(), and ext2fs_resize_mem() all now take a - 'void *' instead of a 'void **' in order to avoid pointer - aliasing problems with GCC 3.x. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * kernel-jbd.h, flushb.c: Fix gcc -Wall nitpicks (indented cpp - directives) - - * ext2_types.h.in, initialize.c: Fix gcc -Wall nitpicks - (don't use #elsif) - - * ismounted.c: Fix gcc -Wall nitpicks (Don't use exit as a goto label) - - * llseek.c: Fix gcc -Wall nitpicks (don't use #elsif) - - * lookup.c, read_bb.c: Fix gcc -Wall nitpicks (indent - non-traditional #pragma) - - * test_io.c: Fix gcc -Wall nitpicks (const/unsigned type issues) - -2003-06-24 <tytso@snap.thunk.org> - - * badblocks.c, ext2fs.h (ext2fs_u32_list_find, - ext2fs_u32_list_test, ext2fs_u32_list_del, - ext2fs_badblocks_list_del): Add functions to delete a - block from the badblocks list. - * tst_badblocks.c: Add test cases for ext2fs_badblocks_list_del(). - -2003-05-21 Theodore Ts'o <tytso@mit.edu> - - * getsectsize.c (ext2fs_get_device_sectsize): New function which - returns the hardware sector size (if it is available). - -2003-05-13 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c: Add #ifdef NO_IO_CACHE which disables all userspace - caching by the unix_io layer. Not enabled, only for - debugging. - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * test_io.c: Pay attention to the environment variables - TEST_IO_LOGFILE, TEST_IO_FLAGS, and TEST_IO_BLOCK to - determine whether or not we should log io activity, and to - where. - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * tst_badblocks.c (file_test): Use tmpfile() instead of mktemp(). - -2003-04-29 Theodore Ts'o <tytso@mit.edu> - - * getsize.c (ext2fs_get_device_size): Allow windows code to get - the resize for filesystems that are in regular files. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on - Darwin systems when building with shared libraries. - -2003-04-18 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c: Use __CYGWIN__ instead of CYGWIN. - -2003-04-17 Theodore Ts'o <tytso@mit.edu> - - * getsize.c: Add Cygwin/Windows version of ext2fs_get_device_size() - -2003-04-12 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c (raw_read_blk): Add Cygwin support (the Windows block - device only accepts sector aligned read requests. - - * ismounted.c (check_mntent_file): Deal with OS's that don't - define MNTOPT_RO. - - * imager.c: If the OS doesn't define ssize_t, typedef it to int. - -2003-04-11 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h (EXT2_FEATURE_RO_COMPAT_BTREE_DIR): Comment out unused - feature flag - -2003-03-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use the compile_et --build-tree option. - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * getsize.c: Add support for Apple Darwin's ioctl to get the hard - disk size. - - * badblocks.c (ext2fs_u32_list_count), ext2fs.h: Add new function - which returns the number of entries in the list. - -2003-03-10 Theodore Ts'o <tytso@mit.edu> - - * fileio.c (ext2fs_file_lseek): Fix bug added when adding 64-bit - support; avoid null dereference when ret_pos is NULL. - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * ext2_types.h.in: Don't redefine types if other e2fsprogs - *_types.h files have been included already. - - * kernel-jbd.h: Use C99 variadic cpp macros if not using GCC. - (Older GCC's don't support the C99 variadic macros.) - - * flushb.c (ext2fs_sync_device), - ismounted.c (ext2fs_check_mount_point): Avoid GCC extension: - #warning not supported by Solaris suncc - - * ext2_ext_attr.h: Avoid GCC extension: 0 length arrays in - structure definition. Not needed for now in - ext2_ext_attr_entry. - -2003-01-25 Theodore Ts'o <tytso@mit.edu> - - * dirhash.c: Fix gcc -Wall nits. - -2003-01-22 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c (unix_write_blk): Fix up GCC -Wall nits. - -2003-01-21 Theodore Ts'o <tytso@mit.edu> - - * fileio.c (ext2fs_file_read, ext2_file_lseek, - ext2_file_get_size): Add 64-bit support. - - * ext2fs.h (EXT2_I_SIZE): Add macro which caluates a 64bit size - from i_size and i_size_high. - -2003-01-19 Theodore Ts'o <tytso@mit.edu> - - * initialize.c (ext2fs_initialize): If the user specifies a really - large number of inodes, then reduce the number of blocks - per group until we find a workable set of filesystem - parameters. - - * ext2_err.et.in (EXT2_ET_TOO_MANY_INODES): Add new error code. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * unix_io.c (find_cached_block, reuse_cache, unix_read_blk, - unix_write_blk): Optimize routines so that we don't end up - searching the cache twice when a block isn't in the - cache. If reads are larger than READ_DIRECT_SIZE, don't - let them go through the cache. - - * unix_io.c (find_cached_block): Fixed bug which caused some clean - blocks to be erroneously marked as dirty, so they would - get written back to the disk before they are evicted from - the cache. Harmless, but it slows down e2fsck - significantly. - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 <tytso@snap.thunk.org> - - * Makefile.in (check): Skip trying to compile test_byteswap - if --disable-byteswaap had been given to configure. - -2002-11-07 <tytso@snap.thunk.org> - - * closefs.c (write_bgdesc, ext2fs_flush): Fix bug in meta_bg - support when the MASTER_SB_ONLY flag is set. Some of - the descriptor blocks that should have been written out - were getting skipped. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h: Add support for a new inode flag, which is to be used - for indicating the top of directory hierarchies for the - Orlov block allocator. - - * ismounted.c (check_mntent, check_mntent_file): Add better - support for loopback-mounted filesystems. Check /etc/mtab - if /proc/mounts doesn't turn up any mount flags, since - /etc/mtab has the loopback image filename, instead of - /dev/loop0. Also, check based on st_dev and st_ino, so - that if a relative pathname or a pathnames using symbolic - links are used, we can detect the the filesystem correctly - in those cases. (Addresses Sourceforge bug #619119) - - * flushb.c (ext2fs_sync_device): If the BLKFLSBUF ioctl succeeds, - don't try the FDFLUSH ioctl that was required for floppies - with older kernels. This avoids needless whining from the - MD device driver. (Addresses Sourceforge bug #545832). - - * openfs.c (ext2fs_open): Fix bug which caused us to pass the - wrong group_block to ext2fs_descriptor_block_loc if we're - using the backup superblock/block group descriptors. - (ext2fs_descriptor_block_loc): If we're using the backup - superblock descriptors, use the backup descriptor block in - the next block group. - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * alloc_tables.c (ext2fs_allocate_group_table): Allocate the inode - table so that it buts up against the bitmap blocks, to - avoid block fragmentation. - - * closefs.c (write_bgdesc), initalize.c (ext2fs_initialize): Fix - bug; only allocate group descriptor blocks up to - s_first_meta_bg. - -2002-10-25 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h: Add a new superblock field, s_mkfs_time, so that we - know when a filesystem was created. (Sometimes this can - be useful...) - - * initialize.c (ext2fs_initialize): Set the s_mkfs_time field. - -2002-10-20 Theodore Ts'o <tytso@valinux.com> - - * ext2_fs.h (EXT3_DEFM_JMODE): Add new default mount options for - the journal data mode. - - * closefs.c (ext2fs_flush, write_bgdesc), ext2_fs.h, ext2fs.h, - openfs.c (ext2fs_descriptor_block_loc, ext2fs_open), initialize.c - (ext2fs_initialize), swapfs.c (ext2fs_swap_super): Add support for - the meta_blockgroup filesystem format. - -2002-10-15 <tytso@snap.thunk.org> - - * ext2_fs.h: Add new field in superblock for default mount options. - -2002-10-13 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h: Add #include of header files necessary for ext2fs.h to - compile cleanly. - -2002-10-02 Theodore Y. Ts'o <tytso@mit.edu> - - * rw_bitmaps.c (ext2fs_write_block_bitmap, - ext2fs_read_block_bitmap): Don't set the CHANGED bit just - because the bitmap is getting written to disk. Make - ext2fs_swap_bitmap be a static function, since it's not - intended to be exported. - - * swapfs.c (ext2fs_swap_super): Byte-swap the hash seed - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-31 Theodore Ts'o <tytso@valinux.com> - - * dblist.c (ext2fs_dblist_sort): New function which allows the - caller to pass in a special sort comparison function. - -2002-08-20 Theodore Ts'o <tytso@mit.edu> - - * valid_blk.c (ext2fs_inode_has_valid_blocks): Fix bug which - failed to accurately characterize non-standard slow - symlinks. (Which don't appear in practice on real-life - systems, fortunately.) - -2002-08-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove inode_io.o from the standard object files, - and only build it if debugfs is enabled (it requires - fileio.o, which is only built if --disable-debugfs isn't - specified to configure). - - * dirhash.c (ext2fs_dirhash): Change the MD4 hash in a backwards - incompatible way so that it is no longer - endian-dependent. Add the TEA hash. Allow the seed - parameter to be optional. - - * ext2_fs.h: Remove the HALF_MD4_SEED and HALF_MD4_64 hashes. - These features are all now in the HALF_MD4 hash. Add - definition for EXT2_HASH_TEA. - - * ext2fs.h (ext2fs_dirhash): Change function prototype so it takes - a pointer instead of an array. - -2002-08-16 Theodore Ts'o <tytso@mit.edu> - - * ext2_err.et.in (EXT2_ET_BAD_EA_BLOCK_NUM): New error code - - * ext2fs.h (ext2fs_inode_data_blocks): New function which returns - the number of data blocks used by an inode exclusive of - the EA block. - - * ext_attr.c (ext2fs_adjust_ea_refcount): New function which - adjusts the reference count in an extended attribute block. - - * valid_blk.c (ext2fs_inode_has_valid_blocks): Add code to - correctly deal with extended attribute blocks in symbolic - links. - -2002-08-13 <tytso@snap.thunk.org> - - * Makefile.in: Move dupfs.o and test_io.o from the - needed-by-debugfs object list to the needed-by-resizer - object list. Fixes compile problem if the system is built - with only --disable-debugfs. - -2002-07-29 Theodore Ts'o <tytso@mit.edu> - - * link.c (ext2fs_link): When adding a new link to a directory, - clear the HTREE bit. - -2002-07-23 Theodore Ts'o <tytso@mit.edu> - - * dirhash.c (ext2fs_dirhash): Fix bug which caused MD4 - calculations for names > 32 characters to be completely - bogus. Changed MD4 calculation to match what is currently - being used in the CVS gkernel tree. - -2002-07-19 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h: Add s_hash_seed and s_def_hash_version to the - superblock definition. - - * badblocks.c, freefs.c, ext2fs.h: Use the badblocks functions to - create a set of u32_list functions. - - * dirhash.c (halfMD4Transform): Shift the hash by one bit, - since that's required by the directory indexing code. - -2002-07-14 Theodore Ts'o <tytso@mit.edu> - - * ext2fs.h, read_bb_file.c: Change private to priv_data, to avoid - using a C++ reserved word. - - * unix_io.c (unix_open): Only attempt the setrlimit workaround if - the kernel version is 2.4.10 -- 2.4.17, since otherwise an - old version of glibc (built against 2.2 headers) will - interact badly with the workaround to actually cause more - problems. I hate it when the glibc folks think they're - being smarter than the kernel.... - -2002-06-28 Andreas Dilger <adilger@clusterfs.com> - - * ext2_fs.h: Add superblock field for reserved group descriptors. - -2002-06-28 Theodore Ts'o <tytso@mit.edu> - - * bitops.h: Add #define's for ext2fs_{l,b}e{32,16}_to_cpu and - ext2fs_cpu_to_{l,b}e{32,16} - -2002-06-27 Theodore Ts'o <tytso@mit.edu> - - * ismounted.c (check_mntent): In AIX 4.3, MOUNTED isn't defined. - Add appropriate fallbacks in this case. - -2002-06-26 Theodore Ts'o <tytso@mit.edu> - - * dirhash.c (ext2fs_dirhash): Change function signature to support - a hash seed, and to return the minor hash (for 64-bit hash - support). Add support for the half MD4, half MD4 with - seed, and half MD4 with seed and 64 bits. - -2002-06-15 Theodore Ts'o <tytso@mit.edu> - - * ext2_fs.h (EXT2_DIRSYNC_FL): Add new file. - -2002-06-09 Andreas Dilger <adilger@clusterfs.com> - - * ext2_fs.h: Add macros for maximum block/inode counts: - EXT2_INODES_PER_BLOCK, EXT2_MAX_BLOCKS_PER_GROUP, - and EXT2_MAX_INODES_PER_GROUP. - - * openfs.c (ext2fs_open): Check that the number of blocks in a group - is less than 2^16, otherwise we need an INCOMPAT flag (not - in existence yet, if ever) to open such a filesystem. - - * initialize.c (ext2fs_initialize): Limit the number of blocks and - inodes in a group to less than 2^16. - -2002-06-09 Andreas Dilger <adilger@clusterfs.com> - - * ext2_fs.h: Further minor cleanups of the header. Consolidate - some checks for __KERNEL__ into one place. - -2002-05-22 Andreas Dilger <adilger@clusterfs.com> - - * ext2_fs.h: Remove macros accessing u.ext2_sb field and use - the EXT2_SB() macro instead. Remove kernel function - prototypes also. This matches the 2.5 kernel, and - is also cleaner for other reasons. Whitespace cleanup. - -2002-05-21 Theodore Ts'o <tytso@mit.edu> - - * ext2_ext_attr.h: Update to V2 version of the Bestbits format. - -2002-05-16 Andreas Dilger <adilger@clusterfs.com> - - * ext2_fs.h: Change limits to support filesystems with 8k blocks. - - * initialize.c (ext2fs_initialize): Remove assumption that - blocksizes are always <= 4k. - -2002-05-11 Theodore Ts'o <tytso@mit.edu> - - * bmap.c (ext2fs_bmap): Fix bug which caused ext2fs_bmap to fail - silently if inode pointer is NULL (and ext2fs_bmap is - expected to read the inode itself). - -2002-04-27 Theodore Ts'o <tytso@mit.edu> - - * ismounted.c (check_mntent_file, is_swap_device): Verify that the - file we are checking is a block device file before looking - at st_rdev, since it's not valid for normal files. - (is_swap_device): Move so that it is outside the - HAVE_MNTENT_H, so that it is always built. - -2002-03-11 Theodore Tso <tytso@mit.edu> - - * dirblock.c (ext2fs_read_dir_block2, ext2fs_write_dir_block): New - functions which take an extra flags argument. The flag - EXT2_DIRBLOCK_V2_STRUCT will reverse when the name_len - field is byte swampped on big-endian machines, since in - the V2 structure, name_len is a char field which is - doesn't need to be byte swapped --- except if an - old-style kernel had byte-swapped the name_len field - as part of the V1 structure. - - * ext2_err.et.in (EXT2_ET_DIRHASH_UNSUPP): New error code - - * dirhash.c (ext2fs_dirhash): New function which calculates the - hash for a filename in an indexed directory. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * ext2fs.h (ext2fs_inode_io_intern): Add missing function prototype. - - * bmap.c, fileio.c, inode_io.c, tst_badblocks.c, - tst_byteswap.c: Fix gcc -Wall complaints - - * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs. - (From Philipp Thomas <pthomas@suse.de>) - -2002-02-25 Theodore Tso <tytso@mit.edu> - - * ext2_fs.h: Add structure definitions for the directory indexing - extension. - -2002-02-23 Theodore Tso <tytso@mit.edu> - - * unix_io.c (unix_open): Fix 2.4 resource limit workaround so that - it doesn't break things on mis32, sparc32, and alpha - platforms. - -2002-02-21 Theodore Tso <tytso@mit.edu> - - * ismounted.c (is_swap_device): Fix file descriptor/memory leak; - we were missing an fclose(). - -2002-02-20 Theodore Tso <tytso@mit.edu> - - * Makefile.in, inode_io.c, ext2fs.h, ext2_err.et.in: Add new io - abstraction interface which exports an ext2 inode. - - * ext2fs.h, fileio.c (ext2fs_file_flush): Export ext2fs_file_flush - as a public interface. Change void * to const void * in - ext2fs_file_write's interface. - - * test_io.c (test_close), unix_io.c (unix_close): Remove unneeded - conditional; save a few bytes. - -2002-02-12 Theodore Tso <tytso@mit.edu> - - * Makefile.in (tst_badblocks): Add some extra .o files when - linking the debugging program tst_badblocks which are - needed if we aren't compiling with inline functions enable. - - * kernel-list.h (__inline__): On non-gcc and non-Watcom compilers, - define away __inline__ since it may not be supported. - - * kernel-jbd.h (jbd_debug): For systems that don't do STDC, use a - stripped down jbd_debug that doesn't use variadic - arguments. This will cause warnings under AIX, but things - should still build. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2002-02-03 Theodore Tso <tytso@mit.edu> - - * mkdir.c (ext2fs_mkdir): Change to use ext2fs_inode_alloc_stats2 - so that the number of directories in use is adjusted - appropriately. - - * alloc_stats.c (ext2fs_inode_alloc_stats2): Add new function - which optionally will modify the number of directories - count. - -2002-01-03 Theodore Tso <tytso@mit.edu> - - * dir_iterate.c (ext2fs_dir_iterate2, ext2fs_process_dir_block): - Add support for a new flag, DIRENT_FLAG_INCLUDE_REMOVED, - which will return deleted directory entries. - ext2fs_dir_iterate2 takes a new callback function which - is identical with the one used by - ext2fs_dblist_dir_iterate(). If the directory entry is - deleted, the callback function will be called with the - entry paraemter set to DIRENT_DELETED_FILE. - - * Makefile.in, alloc_stats.c (ext2fs_inode_alloc_stats, - ext2fs_block_alloc_stats): New functions which update - block/inode allocation statistics in the bitmaps, block - group descriptors, and superblock. - - * mkjournal.c (mkjournal_proc), mkdir.c (ext2fs_mkdir), - expanddir.c (expand_dir_proc), bb_inode.c - (clear_bad_block_proc, set_bad_block_proc, - ext2fs_update_bb_inode), alloc.c (ext2fs_alloc_block): - Update to use new block/inode allocation statistics. - -2001-12-24 Theodore Tso <tytso@mit.edu> - - * ismounted.c (is_swap_device): New function used by - ext2fs_check_if_mounted and ext2fs_check_mount_point which - determines whether or not the specified device is a swap - device by using /proc/swaps. More bulletproofing for - idiotic/careless system administrators! - - * ext2fs.h, openfs.c (ext2fs_open), initialize.c - (ext2fs_initialize), mkdir.c (ext2fs_mkdir): Add a new - field to struct_ext2_filsys, umask. This field is - initialize to 022, and affects ext2fs_mkdir in the obvious - way. (In the future umask should also affect new file - creation routines, but the fileio functions don't - currently support this yes.) - - * ismounted.c (check_mntent_file): Stat all of the entries in - /etc/mtab and/or /proc/mounts in order to catch dim-witted - system administrators who might have created alias - devices. - -2001-12-23 Theodore Tso <tytso@mit.edu> - - * Makefile.in, jfs_user.h: Move linux/jbd.h to - ext2fs/kernel-jbd.h, to avoid using the system header - file version of hbd.h when using diet glibc (since it - forcibly adds /usr/include to the beginning of the - include search path.) - - * kernel-jbd.h, kernel-list.h, jfs_compat.h: Move files from - include/linux directory. - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * bitops.h (ext2fs_mark_generic_bitmap, ext2fs_unmark_generic_bitmap), - ext_attr.c (ext2fs_read_ext_attr, ext2fs_write_ext_attr), - fileio.c (ext2fs_file_write): Fix gcc -Wall nits - - * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to - linux/jbd.h - -2001-12-03 Theodore Tso <tytso@mit.edu> - - * unix_io.c (unix_open): Make sure the ulimit workaround works - regardless of the version of glibc which is used to - compild e2fsprogs. - -2001-11-26 Theodore Tso <tytso@mit.edu> - - * unix_io.c (unix_open): Work around a bug in 2.4.10+ kernels by - trying to unset the filesize limit if at all possible, - if a block device is getting opened. (The filesize limit - shouldn't be applied against writes to a block device, but - starting in 2.4.10, the kernel is doing this.) - -2001-11-05 Theodore Tso <tytso@mit.edu> - - * mkjournal.c (ext2fs_add_journal_inode): When creating a .journal - file on adding a journal to an already-mounted filesystem, - try to clear the ext2 file attributes on an already - existing .journal file so that we don't fail if on a - partially added journal to the filesystem. - - * ext2_fs.h: Define a new ext2 file attribute, EXT2_NOTAIL_FL, - which signals that a particular inode should not have the - last bits of data (the "tail") be merged with another - file. This is necessary to keep LILO happy. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-16 Theodore Tso <tytso@mit.edu> - - * ext2_ext_attr.h: Remove unneeded #include of <linux/config.h> - which was breaking the build on the Hurd. (Addresses - Debian bug #112414). - -2001-09-13 Theodore Ts'o <tytso@mit.edu> - - * ismounted.c (check_mntent_file): We now validate the entry in - /etc/mtab to make sure the filesystem is really mounted, - since some broken distributions (read: Slackware) have - buggy boot scripts that don't initialize /etc/mtab before - checking non-root filesystems. (Slackware also doesn't - check the root filesystem separately, and reboot if the - root filesystem had changes applied to it, which is - dangerous and broken.) - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-30 Theodore Tso <tytso@valinux.com> - - * getsize.c (ext2fs_get_device_size): Back out BLKGETSIZE64 - changes, since the ioctl number has been reused by another - unofficial patch. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-05 Theodore Tso <tytso@valinux.com> - - * alloc.c (ext2fs_new_inode, ext2fs_new_block): Use the fast - version of the bitmap test routines to speed up these - routines. (At some point I may want to make these - routines use the find_first_bit functions, but that will - add a lot of complexity since it means that these - functions will have to break the bitmap abstraction - boundary. It's not clear it's worth it.) - - * mkjournal.c (mkjournal_proc): Remember the last block allocated - to speed up ext2fs_new_block(). - -2001-07-29 Theodore Tso <tytso@valinux.com> - - * finddev.c (scan_dir): Fix memory leak; we weren't calling - closedir() when exiting the function in all cases. - -2001-07-27 Theodore Tso <tytso@valinux.com> - - * mkjournal.c (ext2fs_create_journal_superblock): Set the first - block usable in the journal for external journals to be 2 - or 3, depending on the blocksize, so that the existing - kernel code does the right thing. - - * getsize.c (ext2fs_get_device_size): Add support for the - BLKGETSIZE64 ioctl. (Ioctl defined by unofficial patches - from Ben LaHaise, but it's likely this interface won't - change.) - - * mkjournal.c (ext2fs_add_journal_device): Use the correct block - when writing the journal superblock, too. (Oops! Needed - to make 1k filesystems with external journal to work.) - -2001-07-26 Theodore Tso <tytso@valinux.com> - - * mkjournal.c (ext2fs_add_journal_device): Use the correct block - to find the journal superblock if the blocksize is 1024. - -2001-07-21 Theodore Tso <tytso@valinux.com> - - * ext2_err.et.in (EXT2_ET_LOAD_EXT_JOURNAL): Add new error code - -2001-07-20 Theodore Tso <tytso@valinux.com> - - * ext_attr.c (ext2fs_write_ext_attr): When writing the extended - attribute block, set the filesystem changed bit. - - * bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set): - Comment out these functions since we're not using them. - -2001-07-10 Theodore Tso <tytso@valinux.com> - - * closefs.c (write_primary_superblock): After writing changes to - the primary superblock, update the original superblock - copy so we don't have to re-write those changes in the - future. - (ext2fs_flush): Clear the superblock dirty flag after - we've flushed out changes to disk. - -2001-07-07 Theodore Tso <tytso@valinux.com> - - * bitops.h (ext2fs_find_first_bit_set): Use %esi instead of %ebx - to avoid register conflicts when compiling in PIC mode. - -2001-07-04 Theodore Tso <tytso@valinux.com> - - * bitops.h (ext2fs_find_first_bit_set, ext2fs_find_next_bit_set): - Add new functions (C and in i386 assembler) which quickly - find bits set in a bitmask. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Makefile.in, ext_attr.c, ext2_attr.c, ext2fs.h: Add new files - ext2_ext_attr.h and ext_attr.c for extended attributes - support. - - * Release of E2fsprogs 1.22 - -2001-06-22 Theodore Tso <tytso@valinux.com> - - * mkjournal.c (ext2fs_add_journal_inode): Move close of file - descriptor so that adding a journal to a mounted - filesystem doesn't die. (Fixes a bug accidentally - introduced in e2fsprogs 1.21.) - - * mkjournal.c (ext2fs_add_journal_inode): Only use fchflags if - HAVE_CHFLAGS and UF_NODUMP are defined, since the Hurd has - fchflags without defining UF_NODUMP. (Addresses Debian - bug #101361) - - * flushb.c: Use platform independent method of defining the - BLKFLSBUF and FDFLUSH ioctl's. Also include sys/mount.h - since on newer glibc's BLKFLSBUF is defined there. - - * bitops.h: The C language versions of ext2fs_swab16/32 need to be - included if EXT2FS_ENABLE_SWAPFS is defined, since we need - to support byte swapping even if we don't support the - conversion functions. (Fixes Debian bug #101686). - - * dirblock.c (ext2fs_read_dir_block): Remove use of dir_entry_2 - since the byte-swapping code all assumes the - ext2_dir_entry structure. (It's a question of whether or - not name_len should be byte-swapped or not, and whether - it's a 16 bit or 8 bit field.) - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Fix bug in installation of ext2_types.h. It is a - file which is generated and is therefore found in the - build directory, not source directory. - - * ismounted.c (check_mntent_file): Use a test file in / to check - to see if the root filesystem is mounted read-only. This - protects against the case where /etc might not be on /, as - well as the case where /etc/mtab doesn't exist. (Both are - should-never happen scenarios, but you never know...) - -2001-06-14 Theodore Tso <tytso@valinux.com> - - * ismounted.c (ext2fs_check_if_mounted): Fix grammer in comment. - Remove unneeded #pragma argsused, since the arguments are - always used. - -2001-06-13 Theodore Tso <tytso@valinux.com> - - * ext2_types.h.in: If linux/types.h has been defined, then don't - try to redefine the typedefs. - - * Makefile.in (HFILES): Add ext2_types.h to the list of files - which should be installed. - - * ismounted.c (check_mntent_file): Work around GNU hurd brain - damage. Addresses Debian bug #100304. - - * Makefile.in: Limit some .o files from being included into the - library if --disable-debugfs, --disable-swapfs, - --disable-imager, or --disable-resizer are used. - -2001-06-12 Theodore Tso <tytso@valinux.com> - - * inode.c, tst_iscan.c: Stop using the compatibility badblocks - function, and use the ext2fs_badblocks_* functions - instead. - -2001-06-11 Theodore Tso <tytso@valinux.com> - - * Makefile.in, gen_bitmap.c, bitops.h: Move inline functions - ext2fs_mark_generic_bitmap and - ext2fs_unmark_generic_bitmap to gen_bitmap.c as normal - functions. (This saves space and doesn't significantly - change the speed of e2fsck on a P-III.) - - * ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, - inode.c, native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only - include the byte-swapping logic if ENABLE_SWAPFS is turned - on or if we're on a big-endian machine. - - * initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to - set EXT2_FLAG_SWAP_BYTES, instead of using - ext2fs_native_flag. - - * native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by - autoconf to determine whether or not return - EXT2_FLAG_SWAP_BYTES. - -2001-06-10 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Remove the dependence on the libe2p library. - - * mkjournal.c (ext2fs_add_journal_inode): Replace use of fsetflags - with direct usage of the ioctl/fchflags so that we don't - have to depend on the libe2p library. - -2001-06-08 Theodore Tso <tytso@valinux.com> - - * ext2_types.h.in: Use unsigned ints in favor of unsigned longs - when trying to find a 32-bit wide type. - - * icount.c (insert_icount_el): Fix the code used to estimate the - size of the new icount array to be more intelligent, to - avoid reallocating the array too many times. Thanks to - Enrique Perez-Terron for pointing this out. - -2001-06-02 Theodore Tso <tytso@valinux.com> - - * valid_blk.c (ext2fs_inode_has_valid_blocks): Only check i_blocks - for a symlink to determine whether it is a fast symlink. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in, dosio.c, ext2_fs.h, ext2_types.h.in, ext2fs.h: - Move include/asm/types.h.in to lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * ismounted.c: More cleanups for ismounted.c, some from Andreas, - some to clean up Andreas's patches. Use strncpy instead - of strcpy to save the root's mountpoint. Clean up #ifdef - structure. Remove uneeded variable in testing/debug driver. - -2001-05-24 Andreas Dilger <adilger@turbolinux.com> - - * ismounted.c: Add check for root device which doesn't depend on - /etc/fstab or /proc/mounts to be correct. Don't call - endmntent() before we are done with mnt struct. - -2001-05-23 Theodore Tso <tytso@valinux.com> - - * ext2_err.et.in (EXT2_ET_JOURNAL_UNSUPP_VERSION): Added new error - code. - -2001-05-21 Theodore Tso <tytso@valinux.com> - - * ext2_fs.h: Change assignment of EXT2_FEATURE_COMPAT_DIR_INDEX to - make room for pre-existing usage of - EXT2_FEATURE_COMPAT_EXT_ATTR. Add flag EXT2_INDEX_FL with - the same codepoint as EXT2_BTREE_FL. - -2001-05-20 Theodore Tso <tytso@valinux.com> - - * ext2fs.h: #include <> instead of "" for ext2fs and et header - files, since they will be installed in /usr/include - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * alloc.c, alloc_tables.c, badblocks.c, bb_compat.c, bb_inode.c, - bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c, - check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, - dblist_dir.c, dir_iterate.c, dirblock.c, dupfs.c, - expanddir.c, ext2_fs.h, fileio.c, finddev.c, flushb.c, - freefs.c, get_pathname.c, getsize.c, icount.c, imager.c, - initialize.c, inline.c, inode.c, irel_ma.c, ismounted.c, - link.c, lookup.c, mkdir.c, mkjournal.c, namei.c, native.c, - newdir.c, nt_io.c, openfs.c, read_bb.c, read_bb_file.c, - rs_bitmap.c, rw_bitmaps.c, swapfs.c, test_io.c, - tst_badblocks.c, tst_byteswap.c, tst_getsize.c, - tst_iscan.c, unix_io.c, unlink.c, valid_blk.c, version.c, - write_bb_file.c, ext2_fs.h: Moved file from include/linux. - Adjust all files in this directroy to include this file. - - * mkjournal.c (ext2fs_create_journal_superblock): Remove redundant - code. - -2001-05-05 Theodore Tso <tytso@valinux.com> - - * fileio.c (ext2fs_file_read): Factored out common code and - cleaned up function. Fixed a bug where if there was an - error reading from the disk, the number of bytes read - wasn't reliably set. (Fixes Debian bug #79163) - (ext2fs_file_write): Factored out common code and made - function more efficient; if writing a full block, don't - bother to do a read-modify-write cycle. - -2001-05-04 Theodore Tso <tytso@valinux.com> - - * dirblock.c (ext2fs_read_dir_block): Check for an directory - record length which isn't a multiple four, and treat that - as an invalid. Scan the directory and return an error - (EXT2_ET_DIR_CORRUPTED) if the directory records are - corrupted. - (ext2fs_write_dir_block): If while byte-swapping the - directory block, if there's an error, abort and return - EXT2_ET_DIR_CORRUPTED. - -2001-05-02 Theodore Tso <tytso@valinux.com> - - * ext2fs.h (EXT2_FLAG_IMAGE_FILE): Add new flag, and add - image_header field in the ext2_filsys structure - - * block.c (block_iterate_ind, block_iterate_dind, block_iterate_tind): - * inode.c (ext2fs_read_inode): - * rw_bitmaps.c (read_bitmaps): - * openfs.c (ext2fs_open): Add support for EXT2_FLAG_IMAGE_FILE - - * imager.c (ext2fs_image_bitmap_read): Fix bug in imager to make - sure the full bitmap is saved. - -2001-05-01 Theodore Tso <tytso@valinux.com> - - * e2image.h (struct ext2_image_hdr): Add space for the device name - in the image header. - - * dir_iterate.c (ext2fs_process_dir_block): Add a double-check to - make sure the rec_len is a multiple of 4, to prevent - bus-errors on architectures which care about mis-aligned - pointer references. - -2001-04-25 Theodore Tso <tytso@valinux.com> - - * getsize.c (ext2fs_get_device_size): Use an unsigned long to - query the device sizes using the BLKGETSIZE ioctl. - -2001-04-16 Theodore Tso <tytso@valinux.com> - - * ismounted.c (check_mntent): Check /proc/mounts on Linux systems - before checking /etc/mtab. The EXT2_MF_READONLY flag is - now set from the /etc/mtab options field for all - filesystems, not just the root filesystem. Add debugging - code to make it easier to test ext2fs_check_if_mounted(). - - * mkjournal.c (ext2fs_create_journal_superblock): Add safety - check; return an error if there's an attempt to create a - journal less than 1024 filesystem blocks. - - * ext2_err.et.in, mkjournal.c: Change EXT2_JOURNAL_NOT_BLOCK and - EXT2_NO_JOURNAL_SB to be EXT2_ET_*. - -2001-02-20 Theodore Tso <tytso@valinux.com> - - * bitops.h (ext2fs_swab16, ext2fs_swab32): Add i386 assembly - inline functions. - - * tst_byteswap.c: New function to test the byteswap functions. - Add to regression test suite. - -2001-02-08 Theodore Tso <tytso@valinux.com> - - * e2image.h (struct ext2_image_hdr): Fix type for fs_hostname - -2001-02-07 Theodore Tso <tytso@valinux.com> - - * mkjournal.c (ext2fs_create_journal_superblock): Fix the setting - of s_first for external devices to always be 1, since - jsb->s_first is always relative to the start of the - journal superblock. Use htonl(1) when setting s_nr_users. - -2001-01-17 Theodore Ts'o <tytso@valinux.com> - - * mkjournal.c (ext2fs_add_journal_device): Fix bug where the - device number of the filesystem (instead of the journal) - was being dropped into s_journal_dev. - -2001-01-15 Theodore Ts'o <tytso@valinux.com> - - * initialize.c (ext2fs_initialize): Add support for initializing - the ext2 superblock for external journal devices. This - basically means we don't bother to allocate any block - group descriptors. - - * openfs.c (ext2fs_open): Only open external journal devices if - the new flag EXT2_FLAG_JOURNAL_DEV_OK is passed to - ext2fs_open. When opening such devices, don't try to read - the block group descriptors, since they're not there. - - * ext2_err.et.in (EXT2_NO_JOURNAL_SB): Add new error code - - * mkjournal.c: Export a new function, - ext2fs_create_journal_superblock(), which allocates and - returns a buffer containing a journal superblock. This is - needed by mke2fs to create an external journal. Rewrote - ext2fs_add_journal_device() so that it no longer creates - the external journal, but rather adds a filesystem to an - existing external journal. It handles all of the UUID - manipulation. - - * ext2fs.h: List the EXT3_FEATURE_JOURNAL_DEV as a flag supported - by the library. Define the EXT2_FLAG_JOURNAL_DEV_OK. - Changed function prototype for ext2fs_add_journal_device(). - -2001-01-14 Theodore Ts'o <tytso@valinux.com> - - * closefs.c (ext2fs_flush): Don't write out anything beyond the - primary superblock if EXT2_INCOMPAT_JOURNAL_DEV is - listed. - -2001-01-12 Theodore Ts'o <tytso@valinux.com> - - * imager.c: Fix gcc -Wall complaints and a series of bugs where - retval wasn't set correctly. (Thanks to Andreas Dilger - for pointing this out.) - -2001-01-11 <tytso@snap.thunk.org> - - * flushb.c (ext2fs_sync_device): New function 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). - -2001-01-10 <tytso@snap.thunk.org> - - * alloc.c, bb_inode.c, bitmaps.c, bitops.h, block.c, bmap.c, - bmove.c, brel.h, cmp_bitmaps.c, dblist.c, dblist_dir.c, - dir_iterate.c, expanddir.c, ext2fs.h, ext2fsP.h, fileio.c, - finddev.c, get_pathname.c, icount.c, inode.c, irel.h, - irel_ma.c, ismounted.c, link.c, lookup.c, mkdir.c, - mkjournal.c, namei.c, newdir.c, read_bb_file.c, test_io.c, - tst_iscan.c, unix_io.c, unlink.c: Change use of ino_t to - 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. - -2001-01-05 <tytso@snap.thunk.org> - - * dirblock.c (ext2fs_read_dir_block): Fix a potential case where - we may overrun allocated memory in case of a corrupted - filesystem (or an e2fsck test case :-) when byte-swapping - the directory block. - - * ext2fs.h: Indent the #warning to fix gcc -Wall complaint. - - * mkjournal.c (ext2fs_add_journal_device): Fix various gcc -Wall - complaints including a missing return 0 at the end of - ext2fs_add_journal_device. - -2001-01-03 <tytso@snap.thunk.org> - - * Makefile.in: Link in libe2p when creating libext2fs as a shared - library, since mkjournal.c now references fsetflags(). - - * mkjournal.c (ext2fs_add_journal_inode): Folded in Andreas - Dilger's changes (with fixups) to allow on-line creation - of a journal file. - - * ext2fs.h, closefs.c (ext2fs_flush): Add new flag, - EXT2_FLAG_SUPER_ONLY, which the close routines to only - update the superblock, and not the group descriptors. - -2000-12-30 Andreas Dilger <adilger@turbolinux.com> - - * ismounted.c: add ext2fs_check_mount_point() function, which will - optionally return the mount point of a device if mounted - -2000-12-14 Andreas Dilger <adilger@turbolinux.com> - - * mkjournal.c: rename ext2fs_add_journal_fs() to the more descriptive - ext2fs_add_journal_inode() - -2001-01-01 <tytso@snap.thunk.org> - - * ext2fs.h: Remove definition of ext2fs_sb. Note: this may break - source (but not binary) compatibility of some users of the - ext2 library. They 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. - - * closefs.c, initialize.c, link.c, newdir.c, openfs.c, swapfs.c: - Replace use of ext2fs_sb with ext2_super_block. - -2000-12-31 <tytso@snap.thunk.org> - - * ext2fs.h: Cleaned up header file by removing definitions of - feature flags that might not have been defined in older - ext2 header files. Now that we're using our own - include/linux/ext2fs.h header file, this can never happen. - - * jfs_dat.h: Removed old header file which is no longer needed. - -2000-12-13 Theodore Ts'o <tytso@valinux.com> - - * closefs.c (ext2fs_update_dynamic_rev): New function suggested - by Andreas Dilger to update the filesystem revision to - EXT2_DYNAMIC_REV. - - * swapfs.c (ext2fs_swap_super): Add byte swapping for the journal - fields. - -2000-12-09 <tytso@snap.thunk.org> - - * ext2fs.h, mkjournal.c (ext2fs_add_journal_inode, - ext2fs_add_journal_device): Add a new argument to the APIs - of these function, which is a flags word. This is used to - allow the creation of a V1 superblock for those folks who - are using ext3 0.3b in production. Note, the user-land - interface for getting at this flag won't be documented, as - the V1 superblock is deprecated. - - * mkjournal.c (init_journal_superblock): Sync Stephen's changes - which creates a V2 superblock instead of a V1 superblock. - -2000-11-21 <tytso@snap.thunk.org> - - * test_io.c (test_write_blk, test_write_byte): Fix typos pointed - out by Andreas Dilger. - -2000-11-05 <tytso@snap.thunk.org> - - * imager.c (ext2fs_image_{inode,super,bitmap}_{read,write}, - ext2_fs.h, Makefile.in: New file that has routines that - save ext2fs metadata to a file. - - * ext2_err.et.in (EXT2_ET_MAGIC_E2IMAGE): New error code assigned. - - * e2image.h: New file which defines the file format for the ext2 - image file. (Saved copy of ext2 metadata to a file as a - saving throw against worst-case damage.) - -2000-11-01 <tytso@snap.thunk.org> - - * inode.c (ext2fs_flush_icache): Add new function - ext2fs_flush_icache() which flushes the internal inode - cache. Applications which modify the inode table blocks - directly must call this function. - -2000-10-26 <tytso@snap.thunk.org> - - * mkjournal.c: Add #include of netinet/in.h, since Solaris - requires it for ntohl(). - - * ext2_io.h (io_channel_write_byte): Add new interface to allow - callers to write specific byte ranges. This is an - optional interface, which not all IO channels may - implement. - - * unix_io.c (unix_write_byte): - * test_io.c (test_write_byte): Add implementation of the - write_byte function. - - * closefs.c (write_primary_superblock, ext2fs_flush): Add a new - function which writes the primary superblock. If the IO - channel supports writing raw bytes directly, only fields - which were modified are written to the disk. This makes - it safe(r) to use utilities like tune2fs on a mounted - filesystem. - - * freefs.c (ext2fs_free): Free the original superblock if it is - available. - - * openfs.c (ext2fs_open): Store a copy of the original superblock - when opening it. - - * ext2fs.h: Add a field to store the original superblock in the - ext2 context structure. - -2000-10-24 <tytso@snap.thunk.org> - - * llseek.c: Add #ifdef's for IA64 (it's a 64-bit platform, so we - don't need to use llseek). - -2000-10-24 <tytso@valinux.com> - - * Makefile.in, ext2fs.h, jfs_dat.h, mkjournal.c: Add functions for - creating an ext3 journal on a filesystem. - -2000-08-21 <tytso@valinux.com> - - * ext2_err.et.in (EXT2_JOURNAL_NOT_BLOCK): Add new error code. - -2000-08-22 <tytso@valinux.com> - - * unix_io.c: Make massive changes to support a multiple block - writethrough cacheing. - - * ext2_io.h: Added flags field to the io_channel structure. - -2000-08-19 <tytso@valinux.com> - - * finddev.c, ext2fs.h, Makefile.in: Add new file, finddev.c, which - provides the function ext2fs_find_block_device(). This - function returns the pathname to a block device, given its - device number. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-07 Theodore Ts'o <tytso@valinux.com> - - * ext2fs.h (EXT2_LIB_FEATURE_INCOMPAT_SUPP): Add - EXT3_FEATURE_INCOMPAT_RECOVER (aka needs_recovery) to the - list of filesystem flags supported by the library. - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * ext2fs.h: Update to include latest journalling additions to the - superblock. - - * dll/jump.funcs: Add new jumptable entries for - ext2fs_write_bb_FILE, ext2fs_read_bb_FILE2, and - ext2fs_badblocks_equal. - - * tst_badblocks.c: Update test program to test - ext2fs_read_bb_FILE2 and ext2fs_write_FILE. - - * write_bb_file.c (ext2fs_write_bb_FILE): New function which - writes out bad blocks list to a file. - - * read_bb_file.c (ext2fs_read_bb_FILE2): Add new function which - changes the callback function to take two additional - arguments; a private blind pointer supplied by the caller, - and pointer to a char * containing a pointer to the - invalid string. - - * badblocks.c (ext2fs_badblocks_equal): Add new function which - returns true if two badblocks list are equal. - - * Makefile.in: Remove explicit link of -lc in the shared library. - (It shouldn't be necessary, and is harmful in some cases). - -2000-06-10 Theodore Ts'o <tytso@valinux.com> - - * getsize.c (main): Add debugging code under #ifdef DEBUG - -2000-05-27 Theodore Ts'o <tytso@valinux.com> - - * mkdir.c (ext2fs_mkdir): Read the parent directory's inode - earlier, so that if there's an error reading it, we can - more cleanly back out of the operation. - -2000-05-25 <tytso@snap.thunk.org> - - * getsize.c (ext2fs_get_device_size): Use open64() instead of - open() if it exists. Under linux, manually define the - ioctl for BLKGETSIZE if it isn't already defined and it's - safe to do so. - - * unix_io.c (unix_open): Use open64() instead of open() if it - exists. - - * llseek.c: Simplify header includes of unistd.h. If lseek64 is - available (and prototypes are defined) use it in - preference to llseek. - - * Makefile: Add hack dependency rule so that parallel makes work - correctly. - -2000-05-18 Theodore Ts'o <tytso@valinux.com> - - * ext2fs.h: Add appropriate ifdef's to support C++ compilation. - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * block.c: Readibility tweak in conditionals involving - ctx->fs->flags. - - * ext2fs.h: Use AUTOCONF SIZEOF_* macros if available to determine - how to define __s64 and __u64. Turn off "compression is - experimental" warning if the cpp macro - I_KNOW_THAT_COMPRESSION_IS_EXPERIMENTAL is defined. - -2000-02-11 <tytso@snap.thunk.org> - - * ext2fs.h: Define EXT2FS_COMPRESSED_BLKADDR and HOLE_BLKADDR. - Conditionally include Compression as a supported type if - ENABLE_COMPRESSION (via --enable-compression) is turned on. - - * swapfs.c (ext2fs_swap_super): Swap the compression usage bitmap. - -2000-02-08 <tytso@snap.thunk.org> - - * bitops.h (ext2fs_mark_generic_bitmap, ext2fs_unmark_generic_bitmap, - ext2fs_mark_block_bitmap, ext2fs_unmark_block_bitmap, - ext2fs_mark_inode_bitmap, ext2fs_unmark_inode_bitmap): - Change to return the previous state of the bit that is - being marked or unmarked. For speed optimization. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * getsize.c, ismounted.c: Remove unneeded include of linux/fs.h - - * swapfs.c: Remove #ifdef HAVE_EXT2_INODE_VERSION since it's not - needed any more; we know it will always be i_generation. - Add support for swapping the high bits of the uid and gid. - -1999-11-19 <tytso@valinux.com> - - * mkdir.c (ext2fs_mkdir): Only update the parent's inode link - counts if the link was successful. Patch suggested by - jeremy@goop.org. - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-11-08 <tytso@valinux.com> - - * Makefile.in (tst_badblocks): Add freefs.o to the object list, - since ext2fs_badblocks_list_free was moved to freefs.c. - - * tst_badblocks.c: Use the newer badblocks API names. Add - duplicate blocks to the test inputs to test dealing with - adding blocks which are already in the badblocks list. - - * badblocks.c (ext2fs_badblocks_list_add): If appending to the end - of the list, use a shortcut O(1) operations instead of an - O(n) operation. (Idea suggested by David Beattie.) - - * freefs.c (ext2fs_free): Use ext2fs_badblocks_list_free() instead - of badblocks_list_free(), to save a procedure call. - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * ext2fs.h: Add kludge to deal with the fact that egcs cpp doesn't - seem to handle ~0UL the same way as they used to. - -1999-10-25 <tytso@valinux.com> - - * nt_io.c (_OpenNtName): Open the device using - FILE_SYNCHRONOUS_IO_NONALERT instead of - FILE_SYNCHRONOUS_IO_ALERT - (nt_open): At the end of the device open routine, unlock - the drive but do not dismount it. - - * initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to - detect the Hurd OS. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-22 <tytso@valinux.com> - - * mkdir.c (ext2fs_mkdir): Pass EXT2_FT_DIR flag to ext2fs_link(). - - * link.c (ext2fs_link): This call now uses the low three bits of - the flags parameter to pass the directory filetype - information; it will set the directory entry FILETYPE - information if the filesystem supports it. - - * newdir.c (ext2fs_new_dir_block): If the FILETYPE superblock - option is set, then create the '.' and '..' entries with - the filetype set to EXT2_FT_DIR. - -1999-09-24 <tytso@valinux.com> - - * nt_io.c: New file which supports I/O under Windows NT. - -1999-09-07 <tytso@valinux.com> - - * ext2fs.h: Add new fields for journalling and define new - feature bits used by newer filesystems: IMAGIC_INODES, - HAS_JOURNAL, RECOVER. - - * expanddir.c (ext2fs_expand_dir, expand_dir_proc): Change where - we update the inode block count and size files so that the - block count field is updated correctly when we create an - indirect block. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-06-23 <tytso@valinux.com> - - * swapfs.c (ext2fs_swap_inode): Add compatibility for Linux 2.3 - kernels that use i_generation instead of i_version. Patch - supplied by Jon Bright <sircus@sircus.demon.co.uk>. - -1999-06-21 <tytso@valinux.com> - - * dir_iterate.c (ext2fs_process_dir_block): Check for corrupted - directory entry before calling the callback function. - This should prevent some core dumps of insufficiently - paranoid callback functions. - -1999-05-29 <tytso@rsts-11.mit.edu> - - * ext2fs.h: Add feature definition for AFS IMAGIC inodes. - - * fileio.c (ext2fs_file_open): Remove obsolete comment stating - that we don't handle writing yet (we do). Fixed bug where - we weren't allocating a big enough buffer for ext2_bmap. - -1999-05-03 <tytso@rsts-11.mit.edu> - - * openfs.c (ext2fs_open): Check to make sure that the number of - blocks per group is not zero --- if so, it must be a bad - superblock! - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1999-01-07 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_read_inode, ext2fs_write_inode): Check to see if - the inode number is zero; if it's zero, return - EXT2_ET_BAD_INODE_NUM. - -1998-12-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead - of EXT2_FIRST_INO to ensure compatibility with Linux 1.2 - header files. - -Mon Jan 4 02:32:09 1999 Theodore Y. Ts'o <tytso@mit.edu> - - * llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the - non-Linux case to use EINVAL by default, unless it isn't - defined, in which case we use EXT2_ET_INVALID_ARGUMENT - instead. - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-09-22 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Make sure that we allocate - enough inodes so that we can make a valid filesystem. - -1998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * rw_bitmaps.c: Fixed signed/unsigned warnings. - - * fileio.c (ext2fs_file_set_size): Remove unneeded extern from the - function declaration. - - * dblist.c (make_dblist): Add safety check in case the dblist - pointer passed in is null (in which case, assign it to - fs->dblist). Fixed some signed/unsigned warnings. - - * bmap.c: Make addr_per_block be of type blk_t to avoid - signed/unsigned warnings. - - * namei.c (ext2fs_follow_link): Remove uneeded extern from the - function declaration. - - * get_pathname.c (get_pathname_proc): Use return value from - ext2fs_get_mem, instead of checking if &gp->name is - NULL. - - * dir_iterate.c (ext2fs_process_dir_block): - * dblist_dir.c (ext2fs_dblist_dir_iterate): Remove uneeded extern - from the function declaration. - - * block.c (ext2fs_block_iterate2): If the read_inode call fails, - return the error directly instead of jumping to the - cleanup routine, since we don't need to do any cleanup. - - * alloc_table.c (ext2fs_allocate_group_table): Make this - function take a dgrp_t for its group argument. - - * ext2fs.h: Make dgrp_t an __u32 type, and make - fs->desc_group_count be of type dgrp_t. - -1998-07-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.c (ext2fs_badblocks_list_add): Use a bigger increment - than 10 blocks when we need to expand the size of the - badblocks list. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * closefs.c (ext2fs_flush): Update the s_block_group_nr field as - appropriate for all of the block group copies, so that - it's clear where the beginning of the filesystem is on the - disk. (For when the partition table gets scrod.) - - * ext2fs.h: Change the name of the feature from - EXT2_FEATURE_INCOMPAT_DIRNAME_SIZE to - EXT2_FEATURE_INCOMPAT_FILESIZE (to match with the kernel). - -1998-06-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (get_next_blockgroup): Fix bug where if - get_next_blockgroup() is called early because of a missing - inode table in a block group, the current_inode counter - wasn't incremented correctly. - -1998-06-16 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * read_bb.c (ext2fs_read_bb_inode): Make function more robust - against a completely trashed bad block inode. - -1998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc_tables.c (ext2fs_allocate_group_table): Fix bug so that if - the stride length hits a bad value, we retry the block - allocation starting at the beginning of the block group. - - * ext2fs.h, bb_inode.c, block.c, bmove.c, dir_iterate.c, - expanddir.c, ext2fsP.h, read_bb.c: Change blkcnt_t to be - e2_blkcnt_t to avoid collision with LFS API. - -1998-05-01 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Initialize s_inodes_count in a - way that avoids overflows on disk sizes greater than 4GB. - -1998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: Define EXT2_QSORT_TYPE appropriately for the - return type for comparison functions for qsort. - - * dblist.c (dir_block_cmp): Use EXT2_QSORT_TYPE in function - declaration. - -1998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h, bitops.h: Add support for the Watcom C compiler to do - inline functions. - - * ext2fs.h, dosio.c: Use asm/types.h instead of linux/types.h to - evade a potential problem with glibc's header files trying - to spike out linux/types.h. - - * ext2fs.h (ext2fs_resize_mem): Change the function prototype to - include the old size of the memory, which is needed for - some braindamaged memory allocation systems that don't - support realloc(). - - * badblocks.c (ext2fs_badblocks_list_add): - bb_inode.c (clear_bad_block_proc): - dblist.c (ext2fs_add_dir_block): - icount.c (insert_icount_el): - irel_ma.c (ima_put): - rs_bitmap.c (ext2fs_resize_generic_bitmap): Update functions to - pass the old size of the memory to be resized to - ext2fs_resize_mem(). - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: If __STRICT_ANSI__ is defined and we're on a platform - with 32 bit longs, then we need to manually define __s64 - and __u64, since the current kernel header files don't - define these if __STRICT_ANSI__ is defined. This is a - problem if we are compiling with full GCC warnings, since - we do need 64 bit support. - - * Makefile.in (OBJS): Remove bmove.o from files to be built, - since we're not using ext2fs_move_blocks() and there - is some question as to its usefulness in its current - form. - - * bmap.c (block_bmap): Remove unused function. - - * bmove.c (process_block): Fix -Wall warning. - -1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * block.c (ext2fs_block_iterate3): Make the ref_offset field - contain the offset into the inode.i_blocks array when - ref_block is zero. Since we haven't done a formal - release of e2fsprogs since block_iterate2 was first - introduced, I removed block_iterate2, and renamed - block_iterate3 to be block_iterate2. - - * bb_inode.c, bmove.c, dblist_dir.c, dir_iterate.c, - expanddir.c, ext2fs.h, ext2fsP.h, read_bb.c: Change - use of block_iterate and block_iterate2 to - block_iterate2 with the new prototype for the - interator function. (using blkcnt_t forr blockcount) - -1998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: Add new superblock fields (s_algorithm_usage_bitmap, - s_prealloc_blocks, s_prealloc_dir_blocks). Added - conditional defines of new features COMPAT_DIR_PREALLOC, - RO_COMPAT_LARGE_FILE RO_COMPAT_BTREE_DIR, - INCOMPAT_COMPRESSION, INCOMPAT_DIRNAME_SIZE. Changed - the library to declare that we support COMPAT_DIR_PREALLOC, - INCOMPAT_DIRNAME_SIZE, RO_COMPAT_LARGE_FILE. - - * fileio.c: Rename function ext2fs_file_llseek to be - ext2fs_file_lseek, which is more accurate. - - * block.c: Add new function ext2fs_block_iterate3 which calls - the iterator function with the blockcount argument of - type blkcnt_t. This version of the function is - allowed to handle large files; the other fucntions are - not. - - * ext2fs.h: Add new type blkcnt_t - - * ext2_err.et.in: Add error code EXT2_ET_FILE_TOO_BIG - - * block.c (ext2fs_block_iterate2): Fix bug where the block count - field wasn't getting correctly incremented for sparse - files when the indirect or doubly-indirect block - specified in the inode was zero. - -Sun Mar 8 22:42:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unlink.c (unlink_proc): - * lookup.c (lookup_proc): - * link.c (link_proc): - * get_pathname.c (get_pathname_proc): - * dir_iterate.c (ext2fs_process_dir_block): Mask off high 8 bits - from dirent->name_len, so it can be used for other - purposes. - - * ext2fs.h: Add definition of EXT2_FEATURE_INCOMPAT_DIRNAME_SIZE, - and indicate that we have support for this incompatible - option. - -Mon Feb 23 08:46:33 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2_err.et.in: Added new error code, EXT2_ET_CANCEL_REQUESTED. - -Fri Feb 20 23:58:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_get_num_dirs): Improve the estimation of the - number of directories when the block group information is - unreliable. - -1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu> - - * inode.c (ext2fs_get_next_inode): Always do the check to see if the - inode table is missing so that we catch the case where the - first block group is missing. - - * getsize.c, ismounted.c, unix_io.c: #include errno.h since it's - needed. - -Mon Feb 16 16:16:00 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2_io.h, ext2fs.h: Protect against being included multiple times. - - * bmove.c: #include ext2fsP.h instead of "ext2fs/ext2fs.h" - - * test_io.c (test_flush): Add a debugging printf when the flush - method is called. - - * rw_bitmaps.c (ext2fs_read_bitmaps): If the bitmaps are already - read in, return right away. - -Sun Feb 1 08:20:24 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bitops.h: Don't try to do i386 inline asm functions if the - compiler isn't GCC. - - * ext2fs.h: If EXT2_FLAT_INCLUDES is defined, #include e2_types.h, - instead of linux/types.h, and e2_bitops.h instead of - ext2fs/bitops.h. - - * icount.c, version.c: Don't #include <et/com_err.h>, as it isn't - necessary. - -Sat Jan 17 13:13:31 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_open_inode_scan): Initialize the group variables - so that we don't need to call get_next_blockgroup() the - first time around. Saves a bit of time, and prevents us - from needing to assign -1 to current_group (which is an - unsigned value). - - * icount.c (insert_icount_el): Cast the estimated number of inodes - from a float to an ino_t. - - * alloc.c, alloc_tables.c, badlbocks.c, bb_compat.c, bb_inode.c, - bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c, - check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, - dblist_dir.c, dir_iterate.c, dirblock.c, dupfs.c, - expanddir.c, ext2fs.h, fileio.c, freefs.c, - get_pathname.c, getsize.c, icount.c, initialize.c, - inline.c, inode.c, irel_ma.c, ismounted.c, link.c, - lookup.c, mkdir.c, namei.c, native.c, newdir.c, - openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c, - rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c, - tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c, - valid_blk.c, version.c: If EXT2_FLAT_INCLUDES is - defined, then assume all of the - ext2-specific header files are in a flat directory. - - * block.c, bmove.c, dirblock.c, fileio.c: Explicitly cast - all assignments from void * to be compatible with C++. - -Tue Jan 6 11:28:15 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * closefs.c (ext2fs_flush): Add a call to io_channel_flush() to - make sure the contents of the disk are flushed to disk. - -Mon Dec 29 14:39:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_add_dir_block): Change new to be new_entry to - avoid C++ namespace clash. - - * bitmaps.c (ext2fs_copy_bitmap): Change new to be new_map to - avoid C++ namespace clash. - - * ext2fs.h, bb_inode.c, block.c, bmove.c, brel.h, brel_ma.c, - irel.h, irel_ma.c, dblist.c, dblist_dir.c, dir_iterate.c, - ext2fsP.h, expanddir.c, get_pathname.c, inode.c, link.c, - unlink.c: Change private to be priv_data (to avoid C++ - namespace clash) - -Fri Nov 28 09:26:31 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_get_num_dirs): Make ext2fs_get_num_dirs more - paranoid about validating the directory counts from the - block group information. - - * all files: Don't include stdlib.h anymore; include it in - ext2_fs.h, since that file requires stdlib.h - -Thu Nov 20 16:07:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * expanddir.c (ext2fs_expand_dir): Check to make sure the block - bitmap is loaded, and return an error if it is not. - (expand_dir_proc): Only use ext2fs_write_dir_block when - writing a directory block, not when writing out a fresh - indirect block. - -Tue Nov 11 22:46:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in, tst_getsize.c: Added new file which is used to test - the ext2fs_get_device_size function. - - * ext2_err.et.in (EXT2_ET_UNIMPLEMENTED): Added new error code. - -Sun Nov 2 20:36:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: Make ext2fs_get_mem take an unsigned argument. - - * fileio.c (ext2fs_file_get_size, ext2fs_file_set_size, - ext2fs_file_get_fs): New functions added. - - -Fri Oct 31 12:16:52 1997 <tytso@EDT.MIT.EDU> - - * bitops.c (ext2fs_warn_bitmap, ext2fs_warn_bitmap2): Don't call - com_err if OMIT_COM_ERR is defined. - -Thu Oct 30 11:33:57 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Rename new error codes to _ET_ in them for consistency. - -Sat Oct 25 00:06:58 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * [all files, basically]: Added definition of ext2fs_get_mem, - ext2fs_free_mem, and ext2fs_resize_mem in ext2fs.h, and - changed all library routines to use these wrapper functions. - - * dblist.c, mkdir.c: use EXT2_DIR_EXISTS and EXT2_DB_NOT_FOUND - instead of the system error messages. - - * ext2_err.et.in: Added new error messages EXT2_DIR_EXISTS and - EXT2_DB_NOT_FOUND - - * ext2fs.h: Added function declarations and constants for bmap.c - and fileio.c. - - * ext2_err.et.in: Added new error messages EXT2_FILE_RO and - EXT2_ET_MAGIC_EXT2_FILE - - * Makefile.in: Added files bmap.c and fileio.c, and temporarily - commented out brel_ma.c and irel_ma.c - - * bmap.c: New file which maps a file's logical block number to its - physical block number. - - * fileio.c: New file which implements simple file reading and - writing primitives. - - * alloc.c (ext2fs_alloc_block): New function which allocates a - block, zeros it, and updates the filesystem accounting - records appropriately. - -Wed Oct 22 16:47:27 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2_err.et.in: Added new error codes: EXT2_NO_MEMORY, - EXT2_INVALID_ARGUMENT, EXT2_BLOCK_ALLOC_FAIL, - EXT2_INODE_ALLOC_FAIL, EXT2_NOT_DIRECTORY - - * Change various library files to use these functions instead of - EINVAL, ENOENT, etc. - -Mon Oct 20 19:32:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * llseek.c: Check HAVE_LLSEEK_PROTOTYPE to see whether or not we - need to declare llseek(). - -Sun Oct 19 18:56:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Rename io.h to be ext2_io.h (avoid namespace collisions) - - * Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H - -Fri Oct 3 13:35:59 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * llseek.c (ext2fs_llseek): Fix type error for ext2fs_llseek() - - * icount.c (ext2fs_icount_validate): - * bmove.c (process_block): Fix lint error in type for fprintf(). - -Mon Sep 15 11:45:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_check_directory): Add support for the callback - to return the error code EXT2_ET_CALLBACK_NOTHANDLED. - -Thu Sep 4 12:28:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bitmaps.c (ext2fs_set_bitmap_padding): New function which sets the - padding of the bitmap to be all one's. - -Wed Sep 3 14:27:30 1997 Theodore Y. Ts'o <tytso@edt.mit.edu> - - * llseek.c: Added missing semicolon to glibc fixup declaration of - llseek(). - - * bmove.c: Add #include of errno.h - -Sat Aug 23 22:47:46 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (ELF_SO_VERSION): Bump version to be 2.4 since we've - added a new field to the io_channel (app_data). - - * io.h: Add a new element to the io_channel structure, app_data. - - * initialize.c, openfs.c: Set io->app_data to point at the - filesystem handle. - -Thu Aug 14 08:14:17 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * io.h: Change the prototype of ext2fs_llseek() to use int's - instead of unsigned int's. - - * llseek.c: Change to allow PIC and !HAVE_LLSEEK. Add a prototype - to make life easer for GNU Libc 2. - - * rw_bitmaps.c: On the PowerPC, the big-endian variant of the ext2 - filesystem has its bitmaps stored as 32-bit words with bit - 0 as the LSB of each word. Thus a bitmap with only bit 0 - set would be, as a string of bytes, 00 00 00 01 00 ... To - cope with this, we byte-reverse each word of a bitmap if - we have a big-endian filesystem, that is, if we are *not* - byte-swapping other word-sized numbers. - -Mon Aug 11 03:30:48 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dosio.c: New file to do DOS/BIOS disk accesses. - - * namei.c (open_namei): Make pathlen be of type size_t. - - * llseek.c: Always #include stdlib.h since it's need to define - size_t. - - * io.h: Use errcode_t for magic numbers. - - * icount.c (get_icount_el): Use size_t where appropriate - - * dupfs.c (ext2fs_dup_handle): - * dblist.c (dir_block_cmp): Use size_t where appropriate. - - * read_bb.c (ext2fs_read_bb_inode): - * cmp_bitmaps.c (ext2fs_compare_inode_bitmap): Use blk_t, ino_t - and size_t where appropriate. - - * closefs.c (ext2fs_flush): Use dgrp_t instead of int where - appropriate. - - * openfs.c (ext2fs_open): - * check_desc.c (ext2fs_check_desc): Use blk_t instead of int where - appropriate. - - * rw_bitmaps.c (read_bitmaps): - * irel_ma.c: - * inode.c (ext2fs_write_inode): - * initialize.c (ext2fs_initialize): - * brel_ma.c: Fix to make be 16-bit safe. - - * link.c (ext2fs_link): - * unlink.c (ext2fs_unlink): - * lookup.c (lookup_proc): - * ismounted.c (ext2fs_check_if_mounted): - * block.c (xlate_func): Add #pragma argsused for Turbo C. - -Sun Aug 10 10:05:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * block.c (ext2fs_block_iterate2): Use retval which is a errcode_t - type. - - * bitmaps.c (make_bitmap): Use size_t instead of int where - appropriate. - - * bb_inode.c (set_bad_block_proc): Add #pragma argsused for Turbo C. - - * alloc.c (ext2fs_new_inode): Use ino_t instead of int for the - group number. - - * get_pathname.c: Use ino_t instead of int where appropriate. - - * ext2fs.h: Make the magic structure element be errcode_t instead - of int. - - * alloc.c alloc_tables.c badblocks.c bb_compat.c bb_inode.c - bitmaps.c block.c bmove.c brel_ma.c check_desc.c closefs.c - cmp_bitmaps.c dblist.c dblist_dir.c dir_iterate.c - dirblock.c dupfs.c expanddir.c freefs.c get_pathname.c - icount.c initialize.c inline.c inode.c irel_ma.c link.c - llseek.c lookup.c mkdir.c namei.c newdir.c read_bb.c - read_bb_file.c rs_bitmap.c rw_bitmaps.c swapfs.c - test_io.c tst_badblocks.c tst_iscan.c unix_io.c unlink.c - valid_blk.c version.c: Add an #ifdef for HAVE_UNISTD_H - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix_io.c (unix_read_blk): If ext2fs_llseek() fails, but errno - is zero, then return EXT2_IO_LLSEEK_FAILED. - - * ext2_err.et.in: Add a new error code, EXT2_IO_LLSEEK_FAILED. - - * Release of E2fsprogs 1.11 - -Mon Jun 16 23:53:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_dblist_count): Added new function which returns - the number of directory blocks in dblist. - -Sat Jun 14 01:39:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unix_io.c (unix_flush): Make the io_channel flush function do a - fsync to flush the kernel buffers to disk. - -Wed Jun 11 18:25:31 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_inode_scan_goto_blockgroup): Fix bug; the - current inode number wasn't being set by the - goto_blockgroup function. - -Mon Jun 9 10:45:48 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bmove.c (ext2fs_move_blocks): New function which takes a bitmap - of blocks which need to be moved, and moves those blocks - to another location in the filesystem. - - * rs_bitmap.c (ext2fs_resize_generic_bitmap): When expanding a - bitmap, make sure all of the new parts of the bitmap are - zero. - -Sun Jun 8 16:24:39 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bitmaps.c (ext2fs_copy_bitmap): Fix bug; the destination bitmap - wasn't being returned to the caller. - - * alloc_tables.c (ext2fs_allocate_group_table): Add new function - ext2fs_allocate_group_table() which sets the group tables - for a particular block group. The relevant code was - factored out of ext2fs_allocate_tables(). - - * dblist.c (make_dblist): Adjust the initial size of the directory - block list to be a bit more realistic (ten plus twice the - number of directories in the filesystem). - -Thu May 8 22:19:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.c (ext2fs_badblocks_list_test): Fix bug where - ext2fs_badblocks_list_test would test the list (and exceed - array boundaries) if there were no bad blocks on the bad - blocks list. (Showed up when user tried: mke2fs -c -b 4096). - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 24 10:13:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * alloc_tables.c (ext2fs_allocate_tables): Correctly place the - inode and block bitmaps based on the RAID 0 stride - parameter (which is passed by mke2fs). - - * ext2fs.h: Add "stride" parameter to ext2_filsys, to be used by - mke2fs to communicate the stride length to - ext2fs_allocate_tables() - -Wed Apr 23 21:50:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * initialize.c (ext2fs_initialize): Fix to compile under Linux 1.2 - systems. (We can't assume that the new filesystem types - are supported.) - -Wed Apr 23 18:40:53 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc_tables.c (ext2fs_allocate_tables): Make sure that we - allocate the inode and block bitmaps inside block group at - all times. - -Mon Apr 21 00:06:28 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc.c (ext2fs_new_block): Fix bug where if goal==0 and the - filesystem has no free blocks, ext2fs_new_block would loop - forever. - - * dupfs.c (ext2fs_dup_handle): Duplicate an ext2 filesystem handle - - * freefs.c (ext2fs_free_inode_cache): Decrement refcount and only - free if refcount goes to zero. - - * inode.c (create_icache): Initialize refcount to 1. - - * ext2fsP.h: Added refcount to ext2_inode_cache - - * dblist.c (ext2fs_copy_dblist): New function to copy a directory - block list. - - * badblocks.c (ext2fs_badblocks_copy): New function to copy a - badblocks structure. - -Sun Apr 20 23:19:51 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bitmaps.c (ext2fs_copy_bitmap): New function to copy a bitmap. - - * unix_io.c, test_io.c (unix_open, test_open): Initialize the - refcount to 1. - (unix_close, test_close): Decrement the refcount and only - close the io_channel if the refcount goes to 0. - - * io.h: Add refcount to the io_channel structure. Add new macro - interface io_channel_bumpcount() to bump the refcount. - -Thu Apr 17 20:25:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_read_inode, ext2fs_write_inode): Use the inode - cache in the filesystem handle, instead of the inode cache - in a static variable. - - * freefs.c: Added static function to free the inode cache (called by - ext2fs_free). - - * ext2fsP.h: Added definition of the ext2_inode_cache structures. - - * ext2fs.h: Added pointer to the inode_cache structure. - - * block.c (block_iterate_ind, block_iterate_dind, - block_iterate_tind): If there are holes in the indirect, - doubly indirect, or triply indirect blocks, increment the - block count field automatically. - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Mon Apr 14 20:38:56 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * version.c (ext2fs_parse_version_string): Check the passed in - version string (instead of the hard-coded one). - - * alloc_tables.c (ext2fs_allocate_tables): If the last block is - greater filesystem size, clamp it to prevent allocating a - block or inode bitmap beyond the filesystem. - - * initialize.c (ext2fs_initialize): Fix bug where the metatdata - overhead calculation was accidentally removed. - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Thu Apr 10 13:15:15 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_set_dir_block): New function which sets the - block of a dblist entry, given the directory inode and - blockcnt. - -Sat Apr 5 12:42:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc_tables.c (ext2fs_allocate_tables): Allocate the bitmap and - inode bitmaps at staggered locations across the block - groups, to avoid concentrating the bitmaps on a small - number of disks when using striped RAID arrays. - - * initialize.c (ext2fs_initialize): By default, choose the maximum - possible number of blocks per group (based on the size of - the bitmaps in the blocksize). - -Fri Apr 4 11:28:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Add support for - EXT2_COMPAT_SPARSE_SUPER feature. - - * closefs.c (ext2fs_bg_has_super): New function to determine - whether or a particular block group should have a - superblock and block group descriptor. Used for the - EXT2_COMPAT_SPARSE_SUPER feature is turned on. - (ext2fs_flush): Check ext2fs_bg_has_super to see whether - or not the superblock should be written out for the block - group. - - * ext2fs.h (EXT2_COMPAT_SPARSE_SUPER): Define compatibility flag - for sparse duplicate superblocks. - - * version.c (ext2fs_get_library_version): New function which - returns the library version. - - * version.c (ext2fs_parse_version_string): New function which - parses a version string and returns a version number, - so application programs can compare version numbers as - integers. - -Wed Mar 26 00:43:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * icount.c (ext2fs_create_icount): Change function so that it also - takes a new argument which contains a "hint" icount - structure. This "hint" icount allows the create function - to set up the sorted list in advance. This reduces - significantly the amount of data moving needed to insert - these inodes into the list later. - - * icount.c (ext2fs_icount_validate): New function which validates - that the icount structure's rep invariant. - - * icount.c (get_icount_el): Completely revamped implementation - to subsume put_icount_el(). Put_icount_el() used to - use an O(N) implementation to insert in the middle - of the icount list. It now uses a O(ln N) to search - for where the icount should be inserted, and then uses - a memcpy to move the list down (instead of a for loop). - - * icount.c (ext2fs_icount_fetch, ext2fs_icount_store, - ext2fs_icount_increment, ext2fs_icount_decrement): Check - to see if the inode is within bounds; if it isn't, return - EINVAL. - - * bitops.h (ext2fs_test_generic_bitmap): Fix error message given - when a bad inode number is passed to test_generic_bitmap - to be EXT2FS_TEST_ERROR instead of the wrong - EXT2FS_UNMARK_ERROR. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Sun Mar 2 16:46:18 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (ELF_VERSION): Change version to be 2.2 - -Tue Feb 11 14:54:02 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc.c (ext2fs_get_free_blocks): Change routine to use - ext2fs_fast_test_block_bitmap_range(). - - * bitops.h (ext2fs_fast_test_block_bitmap_range, - ext2fs_test_block_bitmap_range: New inline functions which - test to see whether a contiguous range of blocks is - available. - -Thu Feb 6 10:00:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.c (ext2fs_badblocks_list_create): Rename sybmols to use - use ext2fs_badblocks_* instead of badblocks_* - - * bb_compat.c: New file which translates between old badblocks_*() - names to ext2fs_badblocks_*() - - * unlink.c (ext2fs_unlink): New file, moved ext2fs_unlink() from - link.c (since e2fsck doesn't use ext2fs_unlink()). - - * rs_bitmap.c (ext2fs_resize_generic_bitmap): New file, contains - bitmap resizing routine moved from bitmaps.c, since e2fsck - doesn't need to use this function. - - * lookup.c (ext2fs_lookup): Moved ext2fs_lookup to its own file, - since e2fsck only needs ext2fs_lookup. - -Mon Feb 3 10:11:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_open_inode_scan): Set fs->badblocks if it is not - already set; this is needed so that programs like dump - which use the inode scan functions will deal with - filesystems that have bad blocks in the inode table. - -Sun Feb 2 00:17:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h (struct_badblocks_list, struct_badblocks_iterate): - Moved to ext2fsP.h, since it doesn't need to be part of - the public interface. - - * dir_iterate.c: Move ext2_dir_iterate out of namei.c. - -Sat Feb 1 10:14:55 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dblist.c (ext2fs_get_num_dirs): New file, which implements a - directory block list abstraction. (Code moved from - e2fsck). - - * ext2fs.h, inode.c: Moved definition of ext2_struct_inode_scan to - to inode.c (since no one else should be peeking inside it!) - - * valid_blk.c (ext2_inode_has_valid_blocks): New function. - - * openfs.c (ext2fs_open): Check the feature set in the ext2 - superblock, and refuse to open filesystems if they contain - incompatible features. (Can be overriden with the - EXT2_FLAG_FORCE - -Sun Jan 12 11:31:46 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * block.c (ext2fs_block_iterate2): Added new function - ext2fs_block_iterate2 which changes the function - signature of the callback function to include the - referencing block and offset. - - * inode.c (ext2fs_inode_scan_goto_blockgroup): Added new function - ext2fs_inode_scan_goto_blockgroup which allows an - application to jump to a particular block group while - doing an inode scan. - -Wed Jan 1 23:50:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dirblock.c: Include string.h, since we use memcpy(). - -Tue Dec 3 12:27:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * getsize.c (ext2fs_get_device_size): The ioctl BLKGETSIZE returns - a long not an int; this doesn't matter on i386 machines, - but it does on Alpha's. - -Fri Nov 29 20:57:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_write_inode, ext2fs_read_inode): If the inode - table pointer is NULL, then return an error indicating - that the inode table is missing. - (get_next_blockgroup, get_next_blocks, - ext2fs_get_next_inode): Don't treat a missing inode table - as permanent error. Return MISSING_INODE_TABLE, but as an - advisory error code, much like BAD_BLOCK_IN_INODE_TABLE. - - * rw_bitmaps.c (ext2fs_write_block_bitmap, - ext2fs_write_inode_bitmap): If the inode or block bitmap - block is zero, then don't write out the inode or block - bitmap. The idea here is to avoid stomping on the - superblock. - (read_bitmaps): If the inode or block bitmap block is - zero, then fill in that portion of the inode or block - bitmap with all zeros. - - * inode.c (ext2fs_get_next_inode): Fix bug in handling of bad - blocks in inode table when the inode table size is - non-standard (and can therefore span blocks). - -Tue Oct 29 20:13:14 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * alloc.c (ext2fs_new_block): Fix fencepost error in - ext2fs_new_block; make sure we don't try to allocate the - first block beyond the end of the filesystem. - -Mon Oct 14 11:00:48 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (check_for_inode_bad_blocks): New function called by - get_next_blocks() to avoid reading in bad blocks marked in - fs->badblocks. Inodes located in bad blocks are returned - by ext2fs_get_next_inode() returns the error code - EXT2_ET_BAD_BLOCK_IN_INODE_TABLE. - - * alloc_tables.c (ext2fs_allocate_tables): New function which - performs the part of mke2fs's job of allocating the - filesystem tables. - - * test_io.c (test_close): IO manager which is used for testing - purposes. - -Sun Oct 13 04:31:57 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_get_next_inode): Separate out the function of - setting up for a new block group to get_next_blockgroup(). - Separate out the function of reading in blocks of the - inode table to get_next_blocks(). - - * ext2fs.h: Add the badblocks list to the ext2_filsys entry - - * badblocks.c (badblocks_list_add, badblocks_list_test): Add - blocks to the badblock list in sorted order. This allows - badblocks_list_test to be coded using a binary search for - speed. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Mon Oct 7 00:44:17 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h, block.c, closefs.c, dirblock.c, inode.c, native.c, - open.c: Change EXT2_SWAP to EXT2_FLAG_SWAP for - consistency's sake. - - * closefs.c (ext2fs_flush): If the flag EXT2_MASTER_SB_ONLY is - set, then only write out the master superblock. - -Sun Oct 6 21:45:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * block.c (ext2fs_block_iterate): Fixed bug which caused - block_iterate to fail to handle HURD created filesystems; - it tested the inode translator field before the inode was - loaded. - -Tue Sep 17 14:08:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Make sure the description for - the inode bitmap is set correctly. - - * bitmaps.c (ext2fs_allocate_generic_bitmap): Fix minor type typo. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Sat Sep 7 07:36:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c: Override the kernel's idea of default - checkinterval from 0 (never) to 180 days. - -Wed Aug 28 03:20:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * namei.c (ext2fs_namei_follow): New function which follows - symbolic link (if any) at the target. - -Tue Aug 27 01:48:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_read_inode, ext2fs_write_inode): Add support - for shortcut function fs->read_inode() and fs->write_inode(). - Added inode_cache to reduce CPU time spent in doing - byte swapping. - - * swapfs.c (ext2fs_swap_super): Swap the new fields in a V2 - superblock. - - * namei.c (ext2fs_follow_link): New function. - (ext2fs_namei): Extended to have support for chasing - symbolic links. ext2fs_namei() still returns an inode - which is a symbolic link. Symbolic links are only chased - while resolving the containing directory. To chase - symbolic links of the final result, use - ext2fs_follow_link(). - -Mon Aug 26 23:46:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2_err.et.in: Added new error code EXT2_ET_SYMLINK_LOOP. - - * bitops.h (ext2fs_set_bit, ext2fs_celar_bit): Use asm inlines - provided by Pete A. Zaitcev (zaitcev@lab.sun.mcst.ru). - -Thu Aug 22 00:40:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): On systems where the byte - order is not i386 compatible, set the swap_byte flag. - - * inode.c (inocpy_with_swap): Check to see if inode contains a - fast symlink before swapping the inode block fields. This - required adding a new argument to inocpy_with_swap to - determine whether the mode field is in host order or not. - -Wed Aug 21 00:45:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * bitops.h (ext2fs_set_bit, ext2fs_clear_bit, ext2fs_test_bit): On - the sparc, if EXT2_STD_BITOPS set, use the standard - i386-compatible bitmask operations, instead on the - non-standard native bitmask operators. - -Fri Aug 9 11:11:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * block.c (ext2fs_block_iterate): Cause block iterator to return - the HURD translator block (along with everything else). - If the flag BLOCK_FLAG_DATA_ONLY is passed to the block - iterator, then don't return any meta data blocks - (including the HURD translator). - -Wed Jul 17 17:13:34 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * gen_uuid.c: New file, which generates DCE-compatible UUIDs. - - * uuid.c: New file, containing UUID utility functions. - -Tue Jul 16 10:19:16 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: Add a definition of the "real" ext2 superblock. - -Fri May 24 14:54:55 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * ext2fs.h: Fix erroneous ino_t type used in block_bitmap type. - -Sun May 19 15:39:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * openfs.c (ext2fs_open): If the blocksize in the superblock is - zero, return the error EXT2_ET_CORRUPT_SUPERBLOCK, since - that's a basic value that must be correct for the rest of - the library to work. - - * ext2_err.et.in (EXT2_ET_CORRUPT_SUPERBLOCK): Added new error - code. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Tue Mar 26 12:06:32 1996 <tytso@rsts-11.mit.edu> - - * bitops.h (ext2fs_set_bit, ext2fs_clear_bit, ext2fs_test_bit): - Change the m68k bit numbering for bitmasks to match with - the bit numbering used by all other ext2 implementations. - -Thu Mar 7 03:37:00 1996 <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_get_next_inode, ext2fs_close_inode_scan, - ext2fs_open_inode_scan): Support dynamically-sized inodes. - -Wed Mar 6 12:26:29 1996 <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_read_inode, ext2fs_write_inode): Support - dynamically-sized inodes. - - * openfs.c (ext2fs_open): Allow dynamic revision filesystem to be - loaded. - -Tue Mar 5 03:49:37 1996 <tytso@rsts-11.mit.edu> - - * initialize.c (ext2fs_initialize): Catch an error condition where - the passed in size is *really* too small. - - * alloc.c (ext2fs_new_inode): - * ext2fs.h (EXT2_FIRST_INODE): Add support for dynamic revision to - get first inode. - -Wed Feb 21 15:56:17 1996 <tytso@rsts-11.mit.edu> - - * getsize.c (ext2fs_get_device_size): Open the device read-only - when trying to determine its size. - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Sat Dec 9 09:57:50 1995 <tytso@rsts-11.mit.edu> - - * rw_bitops.c (ext2fs_write_block_bitmap): - * bitops.c (ext2fs_test_bit, ext2fs_clear_bit, ext2fs_set_bit): - * bitops.h (ext2fs_test_bit, ext2fs_clear_bit, ext2fs_set_bit): - Rename {test,set,clear}_bit to ext2fs_{test,set,clear}_bit, - to avoid conflicts with with kernel include files. Also - rename ADDR and CONST_ADDR to EXT2FS_ADDR and - EXT2FS_CONST_ADDR. - -Thu Oct 26 12:09:16 1995 <tytso@rsts-11.mit.edu> - - * ext2_err.et: Updated message in EXT2_ET_BASE to say version 0.5c - - * swapfs.c (ext2fs_swap_super): Put an #ifdef check around - s_def_resuid and s_def_resgid for backwards compatibility. - -Fri Oct 20 23:33:31 1995 <tytso@rsts-11.mit.edu> - - * bitops.h: Added #ifdef's for Sparc. - -Wed Sep 6 22:14:46 1995 <tytso@rsts-11.mit.edu> - - * getsize.c: #include <sys/ioctl.h> under Linux to pick up ioctl() - declaration - - * closefs.c: #include <string.h> to pick up memset() declaration - -Mon Sep 4 21:45:29 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for BSD shared libraries. - - * initialize.c (ext2fs_initialize): Correctly set the s_creator_os - flag. - -Mon Sep 4 09:55:30 1995 <tytso@rsts-11.mit.edu> - - * unix_io.c (unix_open): Add a double check; if the passed in name - is NULL, return EXT2_ET_BAD_DEVICE_NAME. - - * ext2_err.et (EXT2_ET_BAD_DEVICE_NAME): Added new error code - -Wed Aug 16 15:44:10 1995 <tytso@rsts-11.mit.edu> - - * inode.c (ext2fs_check_directory): Use LINUX_S_ISDIR instead of - S_ISDIR. - -Tue Aug 15 13:08:36 1995 <tytso@rsts-11.mit.edu> - - * getsize.c (ext2fs_get_device_size): Add support for reading the - partition size from a BSD disk label. - -Thu Aug 10 09:33:26 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * getsize.c (ext2fs_get_device_size): New function that determins - the size of a device. Used by mke2fs and e2fsck. - -Sat Aug 12 03:09:54 1995 Remy Card <card@bbj> - - * Makefile.in (install): Install static libraries in $(ulibdir) - (/usr/lib on Linux) instead of $(libdir) (/lib on Linux). - -Wed Aug 9 17:04:23 1995 Theodore Y. Ts'o <tytso@dcl> - - * bitmaps.c (ext2fs_free_inode_bitmap, ext2fs_free_block_bitmap): - Move these functions to freefs.c. - - * closefs.c (ext2fs_flush): If swapping blocks, clear the group - descriptors shadow memory to keep purify quiet. (This - also has the nice benefit that the unused portion of the - shadow descriptors are zeroed out.) - - * dirblock.c (ext2fs_write_dir_block): We need to use - dirent->rec_len *before* it's byteswapped to find the - location of the next directory structure! - - * alloc.c (ext2fs_new_inode): Fix bug which could potentially - cause ext2fs_new_inode to loop infinitely if we're trying - to allocate an inode in group #0 and there are no free - inodes at all in the system. - - * closefs.c: #include <errno.h> if it exists. - -Sun Aug 6 13:27:50 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * ext2fs.h (BLOCK_FLAG_HOLE): Added new definition for - BLOCK_FLAG_APPEND. Added documentation for the block - interator flags. - -Sat Aug 5 11:44:05 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the - installation directories correctly. - -Tue Jul 18 09:27:38 1995 <tytso@rsx-11.mit.edu> - - * namei.c (process_dir_block): - * mkdir.c (ext2fs_mkdir): - * expanddir.c (expand_dir_proc): Use ext2fs_{read,write}_dir_block - to read/write the directory block. - - * dirblock.c (ext2fs_read_dir_block), ext2fs_write_dir_block): New - file containing functions for reading and writing - directory blocks (byte swapping if necesssary) - - * block.c (block_iterate_ind, block_iterate_dind, - block_iterate_tind): Byte swap the block addresses if - EXT2_SWAP_BYTES is set (and swap them back before writing - them out.) - - * inode.c (inocpy_with_swap): New function. - (ext2fs_get_next_inode, ext2fs_read_inode, ext2fs_write_inode): - Call inocpy_with_swap if EXT2_SWAP_BYTES if set. - - * closefs.c (ext2fs_flush): If EXT2_SWAP_BYTES is set, then swap - the superblock and group descriptors before writing it out. - - * openfs.c (ext2fs_open): If the magic number is byte-swapped, - then set the EXT2_SWAP_BYTES and byte-swap the superblock - and group descriptors. - - * swapfs.c (ext2fs_swap_super, ext2fs_swap_group_desc): New functions - to desp ext2 filesystem structures. - - * bitops.c (set_bit, clear_bit, test_bit): Use modifications - supplied by Pete A. Zaitcev so that the C language - versions of these functions are more portable. They will - now work on both little and big endian systems, and the - assumption that 32-bit integers are used is gone. - - * bitops.h (ext2_swab16, ext2_swab32): Added new functions for - doing byte swapping. - - * ext2fs.h (EXT2_SWAP_BYTES): Add new flag which indicates that - byte swapping should take place. - -Sun Jul 16 06:21:43 1995 <tytso@rsx-11.mit.edu> - - * Makefile.in, cmp_bitmaps.c (ext2fs_compare_block_bitmap_end, - ext2fs_compare_inode_bitmap_end): Added new file - containing routines to compare bitmaps. - - * ext2_err.et (EXT2_ET_NEQ_BLOCK_BITMAP, EXT2_ET_NEQ_INODE_BITMAP): - Added new error codes. - -Sat Jul 15 04:23:37 1995 <tytso@rsx-11.mit.edu> - - * inode.c (ext2fs_get_next_inode): Don't check scan->inode_buffer; - if the magic number is correct, it will be allocated. - -Fri Jul 14 19:02:59 1995 <tytso@rsx-11.mit.edu> - - * block.c (block_iterate_ind, block_iterate_dind, - block_iterate_tind): Don't recompute block_nr each loop; - just increment it! Factor check of BLOCK_FLAG_APPEND out - of the loop. Factor mask of BLOCK_CHANGED into changed - variable out of the loop. (block_iterate_ind, in - particular, gets called a lot, so every little - optimization helps.) - -Thu Jul 13 08:02:45 1995 <tytso@rsx-11.mit.edu> - - * block.c (block_iterate_ind, block_iterate_dind, - block_iterate_tind): Precompute limit of loop to speed up - block_iterate_ind and company. - - * bitops.h (ext2fs_fast_mark_block_bitmap, - ext2fs_fast_unmark_block_bitmap, ext2fs_fast_test_block_bitmap, - ext2fs_fast_mark_inode_bitmap, ext2fs_fast_unmark_inode_bitmap, - ext2fs_fast_test_inode_bitmap): Add fast version of these - functions, which don't do range checking. - - * bitops.h (ext2fs_get_block_bitmap_start, - ext2fs_get_inode_bitmap_start, ext2fs_get_block_bitmap_end, - ext2fs_get_inode_bitmap_end): Add new accessor functions - which return the start and end points of the bitmaps. - -Tue Jul 11 18:59:41 1995 <tytso@rsx-11.mit.edu> - - * llseek.c (ext2_llseek): If the offset is small enough, use lseek - instead of llseek. The errno if the offset is too large - and lseek is not supported should be EINVAL, not -EINVAL. - -Thu Jun 15 23:43:02 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for ELF shared libraries. - Fixed typos in the compilation rules. - (distclean): Added Makefile. - - * llseek.c (llseek): New function, if llseek() does not exist in the - C library. - (ext2_llseek): Changed to call llseek(). - -Mon Jun 12 08:29:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * ext2fs.h: Use __u32 to define blk_t, instead of unsigned long. - -Sun Jun 11 15:02:54 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * mkdir.c (ext2fs_mkdir): Use LINUX_S_IFDIR instead of S_IFDIR. - - * ext2fs.h (LINUX_S_IFDIR): Define a linux specific versions of - the S_*, which are normally defined in <sys/stat.h>. This - allows us to compile e2fsprogs on a non-Linux system, - which may have a different value for S_IFDIR. - -Sat Jun 10 23:47:05 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * bitops.c (clear_bit, set_bit): Remove calls to cli() and sti(); - this is a user-mode application! - -Thu Jun 8 13:13:22 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * llseek.c: Put the include of <linux/unistd.h> inside the #ifdef - __linux__ so that non-linux systems won't see it. - - * alloc.c: Include <errno.h> if possible. - * badblocks.c: Ditto. - * bb_inode.c: Ditto. - * bitmaps.c: Ditto. - * block.c: Ditto. - * expanddir.c: Ditto. - * get_pathname.c: Ditto. - * initialize.c: Ditto. - * inode.c: Ditto. - * llseek.c: Ditto. - * mkdir.c: Ditto. - * namei.c: Ditto. - * newdir.c: Ditto. - * openfs.c: Ditto. - * rw_bitmaps.c: Ditto. - * unix_io.c: Ditto. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - -Thu May 11 04:13:12 1995 <tytso@rsx-11.mit.edu> - - * initialize.c (ext2fs_initialize): Don't allow more than one - bitmaps's worth of inodes in a group. - -Sat Mar 11 14:07:11 1995 Theodore Y. Ts'o <tytso@localhost> - - * llseek.c (ext2_llseek): Added error checking to the llseek() - compat code to protect against overflow. This only - applies to 1.0 and early 1.1 kernels, which don't support - the llseek() system call. - -Thu Nov 24 16:29:00 1994 Theodore Y. Ts'o (tytso@rt-11) - - * unix_io.c (unix_open): Initialize the read_error and write_error - io_channel pointers to be null. - - * bb_inode.c (clear_bad_block_proc): If an illegal block number is - found, clear it but don't try to update the filesystem - accounting information, since that's hopeless anyway. - - * block.c (bloblock_iterate_ind, bloblock_iterate_dind, - bloblock_iterate_tind): Check to see if the indirect blocks are - valid before trying to read them. - - * ext2_err.et (EXT2_ET_BAD_IND_BLOCK, EX2_ET_BAD_DIND_BLOCK, - EXT2_ET_BAD_TIND_BLOCK): Add new error codes. - - * bitops.h (ext2fs_mark_block_bitmap, ext2fs_unmark_block_bitmap, - ext2fs_test_block_bitmap, ext2fs_mark_inode_bitmap, - ext2fs_unmark_inode_bitmap, ext2fs_test_inode_bitmap): If an - illegal block or inode number is passed in, return instead - of trying to test, set, or clear the bit. - -Mon Nov 7 21:32:33 1994 Remy Card <card@bbj> - - * Makefile: Added a dummy install target in case shared libraries - are not built. - -Mon Oct 24 14:11:44 1994 (tytso@rsx-11) - - * bitmaps.c (ext2fs_allocate_block_bitmap): Fix calculation of how - the real last block of the bitmap should be calculated. - -Wed Sep 7 10:05:36 1994 (tytso@rsx-11) - - * bitmaps.c (ext2fs_fudge_inode_bitmap_end, - ext2fs_fudge_block_bitmap_end, ext2fs_clear_inode_bitmap, - ext2fs_clear_block_bitmap, ext2fs_free_inode_bitmap, - ext2fs_free_block_bitmap): Add magic number checking for - the inode and block bitmaps. - - * bitmaps.c (ext2fs_allocate_block_bitmap): Fix to set the correct - magic number for a block bitmap instead of an inode bitmap. - - * inode.c (ext2fs_close_inode_scan, ext2fs_get_next_inode): Add - magic number checking for the inode_scan structure. - - * badblocks.c (badblocks_list_free, badblocks_list_add, - badblocks_list_test, badblocks_list_iterate_begin, - badblocks_list_iterate, badblocks_list_iterate_end): Add - magic number checking for the badblocks_list and - badblocks_iterate structures. - - * ext2_err.et (EXT2_ET_MAGIC_UNIX_IO_CHANNEL): - * unix_io.c (unix_open, unix_close, unix_set_blksize, unix_read_blk, - unix_write_blk, unix_flush): Add magic number checking - both for io_channel structure and unix_private_data - structure. - - * openfs.c (ext2fs_open): Add check for io_manager structure's - magic number. - - * rw_bitmaps.c (ext2fs_write_inode_bitmap, ext2fs_write_block_bitmap, - ext2fs_read_inode_bitmap, ext2fs_read_block_bitmap, - ext2fs_read_bitmaps, ext2fs_write_bitmaps): - * read_bb.c (ext2fs_read_bb_inode): - * read_bb_file.c (ext2fs_read_bb_FILE): - * newdir.c (ext2fs_new_dir_block): - * namei.c (ext2fs_dir_iterate, ext2fs_lookup, ext2fs_namei): - * link.c (ext2fs_link, ext2fs_unlink): - * inode.c (ext2fs_open_inode_scan, ext2fs_read_inode, - ext2fs_write_inode, ext2fs_get_blocks, - ext2fs_check_directory): - * get_pathname.c (ext2fs_get_pathname): - * expanddir.c (ext2fs_expand_dir): - * block.c (ext2fs_block_iterate): - * bitmaps.c (ext2fs_allocate_inode_bitmap, - ext2fs_allocate_block_bitmap): - * bb_inode.c (ext2fs_update_bb_inode): - * alloc.c (ext2fs_new_inode,ext2fs_new_block,ext2fs_get_free_blocks): - * check_desc.c (ext2fs_check_desc): - * closefs.c (ext2fs_close, ext2fs_flush): - * freefs.c (ext2fs_free): Add check for ext2_filsys magic number. - - * Makefile: - * ext2fs.h: - * openfs.c: - * check_desc.c (ext2fs_check_desc): Move ext2fs_check_desc from - openfs.c into its own file. - - * ext2fs.h (EXT2_CHECK_MAGIC): Added macro for checking for - structure magic numbers. - - * closefs.c (ext2fs_flush): Folded in Remy Card's changes to clear - the EXT2_VALID_FS flag in the backup superblock blocks, so that if - someone uses the -b option to specify the use of the backup - superblock --- this usually means that the main superblock is - toast. :-) - - * ext2fs.h: - * ext2_err.et (EXT2_ET_REV_TOO_HIGH): - * openfs.c (ext2fs_open): Folded in Remy Card's changes to add a - revision level to the superblock. - -Sun Aug 21 00:50:08 1994 Theodore Y. Ts'o (tytso@rt-11) - - * ext2fs.h: - * bitmaps.c: - * bitops.c - * bitops.h: - * openfs.c: - * initialize.c: Completely revamped the inode and block bitmap - structures, so that they can be better chance of being extensible - in a shared library. They are now their own type, instead of - being a char *. Also, the function signatures of - ext2fs_test_block_bitmap, ext2fs_mark_block_bitmap, - ext2fs_unmark_block_bitmap, ext2fs_test_inode_bitmap, - ext2fs_mark_inode_bitmap, and ext2fs_unmark_inode_bitmap were - changed to eliminate the ext2_filsys argument, since it is no - longer necessary. - -Wed Aug 17 21:46:44 1994 Remy Card (card@bbj) - - * unix_io.c (unix_read_blk and unix_write_blk): use the llseek - system call if available. - - * llseek.c: new file. This is the stub calling the llseek system - call which allows supports for 2GB+ file systems. - - * initialize.c (ext2fs_initialize): Ext2fs_initialize now stores - the creator operating system. - -Wed Aug 17 10:03:24 1994 Theodore Y. Ts'o (tytso@rt-11) - - * initialize.c (ext2fs_initialize): Ext2fs_initialize now sets up - the group descriptor statistics in addition to everything else. - This relieves mke2fs of the responsibility of doing it. - - * bitops.c, bitops.h: Add assembly inline functions for the 68000. - Added a new #define, _EXT2_HAVE_ASM_BITOPS_ to control whether or - not the generic C function equivalents should be included or not. - - * openfs.c (ext2fs_open): If a superblock is specified, then use - the backup group descriptors that go along with this superblock, - instead of using the primary group descriptors. This allows - e2fsck to recover filesystems where the primary group descriptors - have been trashed. - - diff --git a/lib/ss/ChangeLog b/lib/ss/ChangeLog deleted file mode 100644 index 7ca6e5ad..00000000 --- a/lib/ss/ChangeLog +++ /dev/null @@ -1,490 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * execute_cmd.c (ss_execute_line): Fix a memory leak by freeing - the argv[] array if ss_parse_line returns 0 for argc 0 - (which will happen if the user his return and sends an - empty line to the application). - -2007-03-19 Theodore Tso <tytso@mit.edu> - - * help.c (ss_add_info_dir): Fix error checking for NULL parameter - passed via info_dir. - -2006-11-17 Theodore Tso <tytso@mit.edu> - - * get_readline.c (DEFAULT_LIBPATH): Add libreadline.so.5 to the - search path of viable readline libraries. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * mk_cmds.sh.in: Make sure locale environment variables are set to - C so the shell script executes consistently no matter the - locale setting. (Addresses SourceForge Bug: #1532177) - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * mk_cmds.sh.in: Add datarootdir definition for compatibility with - autoconf 2.60. - -2006-08-05 Theodore Tso <tytso@mit.edu> - - * mk_cmds.sh.in: Create the generated .c files read-only to remind - developers they shouldn't edit them. - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2005-07-25 Theodore Ts'o <tytso@mit.edu> - - * pager.c (ss_safe_getenv): Pass in zero to the unusued arguments - of prctl(PR_GET_DUMPABLE) to avoid false positives from - valgrind. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-05-08 Theodore Ts'o <tytso@mit.edu> - - * pager.c (ss_safe_getenv): Fix bug so it would fetch the right - environment variable. - -2005-03-31 Theodore Ts'o <tytso@mit.edu> - - * get_readline.c (ss_get_readline), pager.c (ss_page_stdin): If - called by a setuid/setgid or an otherwise privileged - program, be paranoid and ignore the PAGER and - SS_READLINE_PATH environment variables. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove ss.pc on a "make distclean" - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * ss.pc.in: Add pkg-config files. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix the kernel compile-time echo commands to be - consistent and portable - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - Update dependencies. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * mk_cmds.sh.in: Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * list_rqs.c, listen.c, requests.c, ss.h, ss_internal.h: Fix gcc - -Wall nitpicks. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-12 Theodore Ts'o <tytso@mit.edu> - - * help.c: Add #ifdef protection around #include <sys/wait.h> - -2003-04-11 Theodore Ts'o <tytso@mit.edu> - - * get_readline.c (DEFAULT_LIBPATH): Use the SS_READLINE_PATH - environment variable to control the search for a suitable - readine library. As a default, try using libreadline, - libedit, and libeditline. - -2003-03-30 Theodore Ts'o <tytso@mit.edu> - - * pager.c, listen.c, requests.c, list_rqs.c, ct_c.awk, prompt.c, - error.c, request_tbl.c, ss_internal.h, invocation.c, ss.h, - get_readline.c: Remove old support for K&R C and Varargs. - Fix gcc -Wall nits. - - * Makefile.in: Use the compile_et --build-tree option. - -2003-03-16 Theodore Ts'o <tytso@mit.edu> - - * mk_cmds.1, Makefile.in: Add (bare-bone) man page - - * Makefile.in (DLOPEN_LIB): Include the dlopen library if it is - present on shared libraries. - - * ss_internal.h: Add pointers to dynamic readline functions in the - ss_info data structure. - - * listen.c (ss_listen): Use readline instead of fgets if the - readline library is present. Define helper functions to - provide command completion from the ss request tables. - - * invocation.c (ss_create_invocation, ss_delete_invocation): If - HAVE_DLOPEN is defined, call ss_get_readline() to automatically - try to load the readline library. - - * get_readline.c (ss_get_readline): New function which uses dlopen() - to dynamically load the readline library if it is present - on the system. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * pager.c (ss_pager_create), list_rqs.c (ss_list_requests): Fix - function prototypes to avoid gcc -Wall complaints. - - * listen.c (ss_listen): Make sure the signal handler for SIGCONT - is restored when we exit. Also, make sure we don't - clubber any variables after setjmp/longjmp. Also removed - some bogus, fairly dubious coude. - - * ss.h, ss_internal.h, execute_cmd.c: Add function prototypes to - prevent gcc -Wall complaints. - -2002-02-12 Theodore Tso <tytso@mit.edu> - - * requests.c (DECLARE): Fix bug in non-STDC declaration --- we - had a mismatch in the function signature and parameter - declaration sections for info/infop. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-16 Theodore Tso <tytso@mit.edu> - - * mk_cmds.sh.in: Make the shell script safe from directory - pathnames with spaces. - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Remove explicit link of -lc in the shared library. - (It shouldn't be necessary, and is harmful in some cases). - -2000-07-03 <tytso@snap.thunk.org> - - * ct_c.awk: Work around a bug in gawk 3.05 - - * mk_cmds.sh.in: Allow the build system to override the standard - location for finding the ct_c.* files by setting the - _SS_DIR_OVERRIDE environment variable. - - * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the - version in the source tree. - -2000-05-25 <tytso@snap.thunk.org> - - * Makefile: Add hack dependency rule so that parallel makes work - correctly. - -1999-11-19 <tytso@valinux.com> - - * execute_cmd.c (ss_execute_line): Fix memory leak; we weren't - freeing the argv array. - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-09-07 <tytso@rsts-11.mit.edu> - - * Updated copyright statements with permission of the original - authors. - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -Mon Jan 4 00:05:14 1999 Theodore Y. Ts'o <tytso@mit.edu> - - * mk_cmds.sh.in (TMP): Fixed portability bug in shell script; we - were depending on a bash'ism. - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-10 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mk_cmds.sh.in: Fix error message so that it says mk_cmds's - template files instead of compile_et's template files. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Install the ct_c.awk and ct_c.sed files in - $(datadir)/ss (i.e., /usr/share/ss) directory. Change - to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) - into account. - - * mk_cmds.sh.in: Look in $(datadir)/ss for ct_c.awk and - ct_c.sed; if not found, look in the build directory. Add - error checking for non-existent input file. - -Thu Aug 14 08:17:22 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (install): Fix rm command to use $(DESTDIR) - appropriately. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Wed Jun 4 15:04:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (install): Install the ss_err.h header file out of - the build directory instead of the source directory (since - it is a constructed file). - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Wed Mar 12 21:54:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * help.c, pager.c, ss.h: Don't use "extern int errno", but use - #include <errno.h> instead. - -Thu Jan 2 00:16:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * parse.c: Put in an include of string.h - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Fri Aug 30 22:36:48 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * invocation.c (ss_create_invocation): Change function prototype - of invocation so that the first two arguments are const - char *, and that the info_ptr is a void *, not a char *. - - * ss.h: Added declaration of ss_execute_line() - -Sat Aug 10 00:17:14 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * listen.c (ss_listen): Fix -Wall flames. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Thu May 16 10:04:09 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (INSTALL_HFILES): Install the correct header files - so that /usr/include/ss/ss.h is actually usable! - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Wed Oct 25 11:58:20 1995 <tytso@rsts-11.mit.edu> - - * ss_internal.h: Removed malloc, realloc, free definitions, and - #include <stdlib.h> instead. - -Mon Sep 4 21:46:00 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for BSD shared libraries. - (distclean): Use the -f option when removing files. - -Fri Aug 18 15:15:09 1995 Theodore Y. Ts'o <tytso@dcl> - - * Makefile.in (mk_cmds): Remove usage of $<, since it's not - portable. - -Sat Aug 12 03:11:02 1995 Remy Card <card@bbj> - - * Makefile.in (install): Install static libraries in $(ulibdir) - (/usr/lib on Linux) instead of $(libdir) (/lib on Linux). - -Thu Aug 10 14:23:31 1995 Remy Card <card@bbj> - - * Makefile.in (distclean): Remove mk_cmds.sh. - -Sat Aug 5 11:44:29 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * mk_cmds.sh.in: Remove the old .c file before moving the new file - into place. - - * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the - installation directories correctly. - - * Makefile.in (clean): Don't remove mk_cmds.sh, since it's built - from the configure script. - -Tue Jul 11 20:47:46 1995 <tytso@rsx-11.mit.edu> - - * help.c (ss_help): Use malloc instead of alloca for maximal - portability. Check return value of malloc before using - buffer. Allocate memory when printing usage message. - -Thu Jun 15 23:46:16 1995 Remy Card <card@bbj> - - * Makefile.in: Added support for ELF shared libraries. - Fixed typos in the compilation rules. - (distclean): Added mk_cmds.sh. - -Sat Jun 10 19:57:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * mk_cmds.sh.in: Use SS_DIR instead of srcdir to determine the - location of the ss directory. - -Thu Jun 8 13:18:48 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * help.c (ss_help): Use alloca to allocate space for filenames - instead of fixed buffers. - * error.c (ss_error, & includes): Change the selection of - varargs/stdarg to work with configure. - * pager.c: Include <errno.h> if possible. - * parse.c: Ditto. - * request_tbl.c: Ditto. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - Don't preprocess mk_cmds.sh, as this is now done by configure. - -Sat Mar 11 18:14:52 1995 Theodore Y. Ts'o <tytso@localhost> - - * Makefile.in (DLL_INSTALL_DIR): Install libss in /lib, since it's - needed by debugfs (which is installed in /sbin). - - diff --git a/lib/uuid/ChangeLog b/lib/uuid/ChangeLog deleted file mode 100644 index 00078033..00000000 --- a/lib/uuid/ChangeLog +++ /dev/null @@ -1,581 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * gen_uuid.c (get_random_bytes): Add in randomness based on - Linux's thread id (gettid) to avoid race conditions when - two threads try to generate uuid's at the same time. This - shouldn't be an issue if /dev/urandom has proper locking - and is present, so this is just a failsafe. (Addresses - SourceForge Bug: #1529672) - -2006-01-06 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (get_random_fd): Set the FD_CLOEXEC flag on the file - descriptor so that it will get closed across an execve(). - (Addresses Debian Bug #345832) - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add a dependency to make sure that the - subdirectories are created before creating all of the - object files. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove uuid.pc on a "make distclean" - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * uuid.pc.in: Add pkg-config files. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Fix the kernel compile-time echo commands to be - consistent and portable - -2005-01-17 Theodore Ts'o <tytso@mit.edu> - - * uuidP.h: Use inttypes.h in preference to stdint.h for - compatibility with older FreeBSD and Solaris systems. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output for "make - install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro. - Update dependencies. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (get_node_id): glibc always defines AF_LINK, so only - try to use struct sockaddr_dl if HAVE_NET_IF_DL_H is - defined. (Addresses Debian Bug #256669) - -2004-05-27 Theodore Ts'o <tytso@mit.edu> - - * uuid.h (UUID_DEFINE): Make the UUID defined as a static - variable, with __attribute__ ((unused)) if we are using GCC. - -2004-05-04 Theodore Ts'o <tytso@mit.edu> - - * Update and clean up uuid man pages - - * gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid - a Y8.8888K problem. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the libuuid man pages, to avoid always re-running - subst, especially since there are no dependencies on the - man page. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in, - uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in, - uuid_time.3.in, uuid_unparse.3.in: Change licensing of man - pages from GPL to 3-clause BSD-style. - - * uuid_parse.3.in, uuid_unparse.3.in: Change the use of the term - "internal format" to "binary representation". - - * gen_uuid.c, pack.c, unpack.c, uuid_time.c, uuidP.h, - uuid_types.h.in: Use ANSI C99 types if stdint.h exists. - -2004-03-30 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (get_node_id): Clean up AF_LINK #ifdef's for Darwin. - -2004-03-22 Theodore Ts'o <tytso@mit.edu> - - * unparse.c (uuid_unparse_lower, uuid_unparse_upper), - uuid_unparse.3.in, uuid.h: Add new functions. - -2004-03-19 Theodore Ts'o <tytso@mit.edu> - - * Change the license to be the 3-clause BSD-style license - - * uuid.h (UUID_DEFINE): Add UUID type #define's, and add an CPP - macro to define UUID constants. - - * gen_uuid.c (get_clock): Use 14 bits for the clock sequence, - instead of just 13 bits. - - * gen_uuid.c (get_node_id): Fix so that Darwin will actually get - the ethernet address correctly. - -2004-02-29 Brian Bergstrand <brian@bergstrand.org> - - * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use - -fpic or -fPIC - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-01-30 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (uuid_generate_time): Fix bug pointed out by Ralf - S. Engelshall; when generating a random ethernet address - because one is not available, set the least significant - bit of the first byte of the MAC address, since it is the - first bit to be transmitted, and is therefore the - multicast bit. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on - Darwin systems when building with shared libraries. - -2003-04-12 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c: Add #ifdef checks around #include <sys/ioctl.h> and - <sys/socket.h>. - -2003-04-03 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (get_random_bytes): Always xor in a stream of bytes - from the system PRNG (i.e., random/srandom, seeded from - the time, pid, and uid) in case /dev/random isn't doing - the right thing on a particular system. It doesn't hurt, - and it can help, in the case of a buggy /dev/random. - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add support for Apple Darwin - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * uuid_types.h.in: Don't redefine types if other e2fsprogs - *_types.h files have been included already. - - * Makefile.in (tst_uuid): Link against the static library instead - of all of the object files, so that we automatically pick - up -lsocket under Solaris. - -2003-03-02 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in, uuidP.h, uuid_types.h.in: Use uuid_types.h instead - of ext2_types.h - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * gen_uuid.c (get_random_bytes): Don't spin forever if read() - returns EINTR or EAGAIN, so that when /dev/random is - opened O_NONBLOCK, we don't end up spinning forever. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-07-15 Theodore Ts'o <tytso@mit.edu> - - * parse.c (uuid_parse): Fix uuid parsing bug which didn't complain - for certain types of invalid input text. (Addresses - Debian bug #152891). - - * tst_uuid.c: Add test cases for invalid text strings passed to - uuid_parse. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-24 Theodore Tso <tytso@mit.edu> - - * Makefile.in (install): Install hard links to man pages for - uuid_generate_random and uuid_generate_time. Remove - any compressed man pages before installing the man pages. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-10 Theodore Tso <tytso@mit.edu> - - * compare.c (uuid_compare), copy.c (uuid_copy), - isnull.c (uuid_is_null), pack.c (uuid_pack), - parse.c (uuid_parse), unpack.c (uuid_unpack), - unparse.c (uuid_unparse), uuid.h, uuidP.h, - uuid_time.c (uuid_time, uuid_type, uuid_variant): - Use const for pointer variables that we don't modify. Add - the appropriate ifdef's in uuid.h to make it be C++ friendly. - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-21 Theodore Tso <tytso@valinux.com> - - * uuid.h: Add protection against multiple inclusion - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in, uuidP.h: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * unpack.c, unparse.c, uuid_time.c: Update files to be under the - LGPL (that somehow were missed when libuuid was converted - to use the LGPL). Whoops. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h - -2001-05-12 Theodore Tso <tytso@valinux.com> - - * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in, - uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in, - uuid_time.3.in, uuid_unparse.3.in: Update URL location of - e2fsprogs package. - -2001-05-01 Theodore Tso <tytso@valinux.com> - - * parse.c, compare.c: Include string.h to fix gcc -Wall - complaints. - - * gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors - because some required structures wouldn't be otherwise - defined. Fix a minor gcc -Wall nit in the declaration of - get_random_fd(). - -2001-01-12 Theodore Ts'o <tytso@valinux.com> - - * uuid_time.c (main), tst_uuid.c (main): Fix gcc -Wall complaints. - - * uuid.h, copy.c (uuid_copy): Change arguments to make it - clear which argument is the source and which is the - destination. - - * gen_uuid.c (get_random_fd): Use gettimeofday to seed the PRNG, - so we can take advantage of tv_usec to do (slightly) - better at seeding it. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-07 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in (uuid_time): Fix compilation rule so that - uuid_time.o doesn't get bashed in order to build the - command-line version of uuid_time. - -2000-07-04 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Remove explicit link of -lc in the shared library. - (It shouldn't be necessary, and is harmful in some cases). - -2000-06-12 Theodore Ts'o <tytso@valinux.com> - - * gen_uuid.c (get_random_bytes): Use O_NONBLOCK when trying to - open /dev/random. Break out the /dev/random - initialization code into a get_random_fd() function, and - use that function in uuid_generate() to determine whether - to use uuid_generate_random() or uuid_generate_time(). - -2000-05-25 <tytso@snap.thunk.org> - - * Makefile: Add hack dependency rule so that parallel makes work - correctly. - -2000-04-07 Theodore Ts'o <tytso@valinux.com> - - * clear.c, compare.c, copy.c, gen_uuid.c, isnull.c, pack.c, - parse.c, uuid.h, uuidP.h: Changed copyright to be the - LGPL. - -Thu Apr 6 17:38:58 2000 Theodore Y. Ts'o <tytso@signal.thunk.org> - - * Makefile.in (uuid_time): Compile uuid_time in two steps (first - create .o, then link it against the libraries) to work - around bug in a.out linker. - - * dll/jump.funcs, dll/jump.import, dll/jump.params: Update a.out - shared library control files to reflect new added files. - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * gen_uuid.c (get_clock): Fix bug where the last timeval wasn't - getting set, causing potentially duplicate UUID's to be - generated. - -2000-03-12 Theodore Ts'o <tytso@valinux.com> - - * gen_uuid.c (get_random_bytes): Make more paranoid about - misbehaving /dev/urandom. If we get a return of zero - without an error more than 8 times in a row, we break out - and return an error. Also, if /dev/urandom doesn't exist, - try /dev/random. - -2000-01-18 Theodore Ts'o <tytso@valinux.com> - - * Makefile.in: Since LIBUUID can sometimes include - "-lsocket" we need a separate DEPLIBUUID that can be used - in Makefile's dependency rules. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * uuid_time.c (variant_string): Declare to be static to avoid gcc - warnings. - - * uuid.h: Add function prototypes for uuid_generate_random() and - uuid_generate_time(). - -1999-10-25 <tytso@valinux.com> - - * gen_uuid_nt.c (uuid_generate): W2K strikes again! An - incompatible interface change means we need to detect - whether the code is running on an NT4 or NT5 system. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-21 <tytso@valinux.com> - - * uuid_generate.8.in: Update man page to use a more standard - format (bold option flags and italicized variables), as - suggested by Andreas Dilger (adilger@enel.ucalgary.ca) - -1999-09-24 <tytso@valinux.com> - - * gen_uuid_nt.c: New file which creates a UUID under Windows NT. - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-05-17 <tytso@rsts-11.mit.edu> - - * gen_uuid.c (get_random_bytes): Use a while loop when reading - from /dev/urandom so that if we get interrupted while - reading the right thing happens. - (uuid_generate_random): Add new function which uses the - new UUID format which uses 122 random bits to form the - 128-bit UUID. - (uuid_generate): Rename the old uuid_generate to be - uuid_generate_time, and create a new uuid_generate - function which calls either uuid_generate_random or - uuid_genereate_time depending on whether /dev/urandom is - present. - - * uuid_generate.3.in: Update to reflect changesin uuid_generate - and its two new variants. - - * tst_uuid.c: Updated to test new uuid_generate functions, and to - reflect new semantics of uuid_compare. Added tests to - make sure the UUID type and variant created by UUID - generate is correct. - - * uuid_time.c (uuid_variant, uuid_type): Added new functions to - return the UUID variant and type information. The - debugging program now prints the UUID variant and type, - and warns if the unparsed time information is likely to be - incorrect. - - * uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups. - -1999-05-03 <tytso@rsts-11.mit.edu> - - * compare.c (uuid_compare): Change sense of uuid_compare so that - its return values match that of memcpy and the - uuid_compare() found in Paul Leach's internet-draft. - -1999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca> - - * Created man pages for libuuid functions. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Update version numbers of the UUID shared library, - since we've added a new function (uuid_time()). - - * uuid_time.c: New file which returns the time field of a UUID. - (Good for debugging purposes) - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tst_uuid.c (main): Fixed bogus declaration of the main's argv - parameter. - -1998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * uuidP.h: Use asm/types.h instead of linux/types.h to avoid a - problem caused by glibc hack to prevent linux/types.h from - being included. - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. - -Sun Mar 8 22:17:59 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * gen_uuid.c (get_node_id): Use char * instead of caddr_t, which - doesn't always exist for glibc. - -Tue Oct 14 21:48:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * gen_uuid.c: Use clock_reg instead of clock, since clock - conflicts with a header file declaration. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Sun Mar 2 16:45:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (ELF_VERSION): Change version to be 1.1 - -Thu Feb 6 23:08:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * gen_uuid.c (uuid_generate): Set Multicast bit when picking a - random node_id, to prevent conflicts with IEEE 802 - addresses obtained from network cards. - -Wed Jan 1 23:51:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * unpack.c, pack.c: Include string.h, since we use memcpy(). - -Tue Dec 3 13:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * parse.c: Add #include of ctype.h and stdlib.h, to pull in the - required prototypes. - -Fri Oct 11 17:15:10 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (DLL_ADDRESS): Updated DLL address for libuuid. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Tue Aug 27 16:50:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * uuid/gen_uuid.c [HAVE_NET_IF_H] <net/if.h>: Include guarded. - [HAVE_NETINET_IN_H] <netinet/in.h>: Include guarded. - (get_node_id): Surround bulk of function with #ifdef HAVE_NET_IF_H. - -Tue Aug 27 16:50:16 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * gen_uuid.c (get_node_id): Add a specific ifdef for the HURD, - since it is broken w.r.t getting hardware addresses. diff --git a/misc/ChangeLog b/misc/ChangeLog deleted file mode 100644 index c27acb13..00000000 --- a/misc/ChangeLog +++ /dev/null @@ -1,3417 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-12 Theodore Tso <tytso@mit.edu> - - * tune2fs.c (main): Clear the EXT2_FLAG_MASTER_SB_ONLY flag - because we want tune2fs changes to get written to the - backup blocks. - -2007-06-04 Theodore Tso <tytso@mit.edu> - - * badblocks.c (main): Fix error checking of the last-block and - start-block arguments. (Addresses Debian Bug: #416477) - -2007-05-31 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (parse_extended_opts): Free allocated buf on return - -2007-05-22 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (PRS): Make num_inodes use an unsigned long long type - to avoid type warnings on 64-bit platforms. - - * filefrag.c (frag_report): Fix printf type warning on 64-bit systems. - - * mke2fs.c (PRS): Add sanity check if the inode size * inode count - is bigger than the filesystem size. - -2007-05-18 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (main): Save the raid stride to the superblock - - * blkid.c (main): Add -g option to blkid which will garbage - collect the cache. - -2007-05-07 Eric Sandeen <sandeen@redhat.com> - - * mke2fs.c (PRS): Make defaults more sane when /etc/mke2fs.conf - doesn't exist. - -2007-04-07 Theodore Tso <tytso@mit.edu> - - * util.c (figure_journal_size): Allow the journal size to be up to - 10,240,000 blocks, but no more half the size of the - filesystem. - -2007-04-02 Theodore Tso <tytso@mit.edu> - - * badblocks.8.in: Document the -X flag. - (Addresses Debian Bug: #379695) - -2007-03-28 Theodore Tso <tytso@mit.edu> - - * util.c (parse_journal_opts): Fix memory leak - - * fsck.c (execute): Fix memory leak on error paths - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * e2image.c (output_meta_data_blocks, write_raw_image_file): Fix - memory leak. - -2007-03-19 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (PRS): Fix deadcode bug detected by Coverity where if - the fs_type is not specified and we are creating a journal - device, to use a fs_type of "journal"; this used to be the - behavior before we added support for the /etc/mke2fs.conf - file, so let's fix it to restore the old behavior. - -2006-12-22 Theodore Tso <tytso@mit.edu> - - * tune2fs.c, mke2fs.c, e2initrd_helper.c, e2image.c, dumpe2fs.c: - Use the new {add,remove}_error_table comerr interfaces - instead of initialize_*_error_table. - - * Makefile.in: Link in prof_err.o into mke2fs. - -2006-11-17 Theodore Tso <tytso@mit.edu> - - * badblocks.c (exclusive_usage): Print the program name in the - exclusive usage() and don't print the full usage message - if the user specifies -n and -w options simultaneously. - -2006-11-14 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (PRS): Always allocate the replacement PATH environment - passed to putenv() to avoid gcc -Wall warning. Fix signed - vs unsigned warning. - - * filefrag.c: Fix signed vs. unsigned gcc -Wall warning - - * chattr.c (usage, fatal_error): Rework functions to avoid gcc - -Wall complaints. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * dumpe2fs.c (main): Open filesystems with the SOFTSUPP flag, to - make easier to work on filesystem features that are still - under development. - - * badblocks.c (exclusive_usage): Add an explicit usage message - explaining to the user that the -n and -w message may not - be specified at the same time. (Addresses Debian Bug: - #371869) - -2006-11-08 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (test_disk): Change the last_block argument passed to - the badblocks program to be consistent with the change to - badblocks. - -2006-10-18 Theodore Tso <tytso@mit.edu> - - * mke2fs.c: Fix revision 0 error checking so that it doesn't give - a spurious error when the user gives a command-line option - of "-O none". (Addresses Debian bug: #392107). Add - error checking so that "-r 0 -j", "-r 0 -s 1", and - "-r 0 -E resize=XXX" will print an explanatory error - message and abort. - -2006-10-03 Theodore Tso <tytso@mit.edu> - - * badblocks.c: Fix the interpretation of the last_block parameter - on the command line, and adjust the last block count - displays in the progress messages. - (Addresses Debian Bug #386475) - -2006-10-02 Theodore Tso <tytso@mit.edu> - - * util.c (figure_journal_size): Increase the smallest default - journal size from 1024 to 1400 to make sure it is big - enough for on-line resizing. - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * Makefile.in (DEPLIBBLKID): Use DEPLIBBLKID not LIBBLKID to - define the dependencies used by the blkid library. - -2006-09-29 Theodore Tso <tytso@mit.edu> - - * Makefile.in: Fix makefile so that it is robust if the e2fsck - directory hasn't been built yet. (Addresses Sourceforge - bug #1565561) - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * mke2fs.c (PRS): Avoid overflow in megs calculation. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * mke2fs.c (PRS): Disallow > 2^32 inodes at mkfs time. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * dumpe2fs.c (list_desc): Use new inlines to calculate group - first & last blocks. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * dumpe2fs.c (list_bad_blocks): - * e2image.c (output_meta_data_blocks, write_raw_image_file): - * mke2fs.c (test_disk, handle_bad_blocks): Fix printf formats. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * e2image.c (mark_table_blocks): Remove unused first_block - incrementing from loop. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * dumpe2fs.c (list_desc, mark_table_blocks): Avoid overflows when - iterating over group descriptors on very large - filesystems. - - * e2image.c (mark_table_blocks): Change block group loop to use a - common pattern of first_block/last_block, etc. - -2006-09-12 Theodore Tso <tytso@mit.edu> - - * tune2fs.8.in, uuidgen.1: Fix minor grammar problems. Addresses - Debian Bug #373004) - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * tune2fs.c (main), mke2fs.c (PRS): Use e2p_percent to properly - calculate the number of reserved blocks without worrying - about overflow. - - * Makefile.in (resize2fs): Remove unused (and bogus) resize2fs - rule, which shouldn't be in misc/Makefile.in - - * mke2fs.c (parse_extended_opts): Use ext2fs_div_ceil() instead of - a using an open-coded expression which was subject to - overflows. - - * filefrag.c (div_ceil, frag_report): Fix potential overflow for - really big filesystems. - -2006-08-06 Theodore Tso <tytso@mit.edu> - - * findsuper.c (main): Improve findsuper program by printing the - uuid and label from the superblocks, as well as the - starting and ending offsets of the filesystem given the - information in the superblock. Omit by default printing - superblocks that are likely found in located in an ext3 - journal unless an explicit -j option is given. - -2006-08-05 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (PRS), util.c (check_mount): In order to force mke2fs - to create a filesystem even though it appears to be in use - or mounted, the -F (force) flag must be specified twice. - - * filefrag.c: Change EXT3_EXTENTS_FL to EXT4_EXTENTS_FL - -2006-07-15 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (PRS): Look up the default inode size in the - mke2fs.conf file. - - * mke2fs.8.in, mke2fs.c(usage): Document the -I option. - - * mke2fs.conf.5.in: Document the inode_size relation in [defaults] - and [fs_types]. - - * chattr.1.in: Fix spelling typo - -2006-05-29 Theodore Tso <tytso@mit.edu> - - * filefrag.c: Add support for ancient Linux systems that do not - support the LFS api. - -2006-05-28 Theodore Tso <tytso@mit.edu> - - * mke2fs.8.in (types): Clarify -T option description. - -2006-05-22 Theodore Tso <tytso@mit.edu> - - * mke2fs.conf: Make new filesystems with the following features - by default: dir_index and resize_inode. - - * mke2fs.conf.5.in: Fix spelling mistakes (Addresses Debian Bug: - #368394) - -2006-05-14 Theodore Tso <tytso@mit.edu> - - * tune2fs.8.in: Clarify how the -c and -C options work. - - * tune2fs.c (parse_tune2fs_options): Don't give a confusing error - message if the user specifies an check time interval - greater than a year; it's probably a bad idea, but it's - not worth it to complain. - -2006-05-13 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (test_disk): Pass the private option -X to badblocks so - that mke2fs -cc works again. (Addresses Debian bug: - #366017) - - * badblocks.c (main, check_mount): Add a private option, -X, which - is only intended for use by mke2fs and e2fsck to signal - that it's OK to skip the EXT2_MF_BUSY test since mke2fs - and e2fsck already have the block device opened - exclusively (and therefore no one else does). - -2006-05-08 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (write_inode_tables, setup_lazy_bg, main): Add support - for the COMPAT_LAZY_BG feature. This is currently - intended for debugging purposes only, as a way to create - very large filesystems stored on sparse files for testing - purposes. - - * dumpe2fs.c (list_desc): Print out the block group flags if they - are set. - -2006-04-22 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c: Make filefrag 32-bit clean, so that it works on - filesystems > 8TB. - -2006-03-29 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c (print_inline_journal_information): Print the size of - the journal. - -2006-03-27 Theodore Ts'o <tytso@mit.edu> - - * badblocks.8.in: Fix typo's in man page. (Addresses Debian Bug: - #357951) - -2006-03-27 root <tytso@mit.edu> - - * mke2fs.8.in, tune2fs.8.in: Add note to man page explaning that - shared journals are not currently supported. (Addresses - Debian Bug: #316040) - -2006-03-27 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Make sure $(DESTDIR)/usr/share/man/man5 exists when - installing the man page. Make sure the compressed version - of the man pages are deleted when installing the man - pages. - -2006-03-23 Theodore Ts'o <tytso@mit.edu> - - * mklost+found.c (main): Use a larger counter field so that we can - create enough directory entries that we can make a full - lost+found directory with larger block sizes. - - * mke2fs.conf, mke2fs.conf.5.in: New configuration file which when - installed, provides mke2fs's old behaviour. It makes it - easier for distributions to change which filesystem - options are the default. - - * mke2fs.8.in: Update man page to document how the filesystem - features are now set. - - * mke2fs.c: Radically rework how the filesystem features are set - when creating filesystems. Use the profile library to - read in a configuration file from /etc/mke2fs.conf. - - * util.c (figure_journal_size): If the journal size is 0, assume - the journal size is unspecified and figure out the - approriate journal size instead of bombing out with an - error message. - - * Makefile.in: Build and install the mke2fs.conf(5) man page. Add - profile.o from the e2fsck directory to mke2fs executable. - Install the configuration file /etc/mke2fs.conf. - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c, e2image.c, findsuper.c, mke2fs.c: Change printf - statements to use %u instead of %d when printing block - numbers. - - * mke2fs.c (main): Open the filesystem in exclusive mode while we - are initializing it. - -2005-12-31 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Add notes in the man page to make sure the reader - refers to the BUGS AND LIMITATIONS section so that even an - idiot will be able to see that some of these attributes - are not yet implemented. (Addresses Debian Bug: #312515) - -2005-12-10 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c, e2image.c, filefrag.c, mke2fs.c: Fix various gcc - -Wall complaints. - -2005-12-09 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in: Add more text describing the mke2fs -T option. - (Addresses Debian Bug #316811) - -2005-11-12 Theodore Ts'o <tytso@mit.edu> - - * fsck.8.in: Add additional fsck.* programs to the SEE ALSO - section. Fix missing commas in list. (Addresses Debian - Bug #329859) - -2005-09-24 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in: Fix mke2fs man page to properly document the fact - that mke2fs -L takes an argument. (Addresses Debian Bug - #322188) - - * badblocks.c: Add extra spaces when printing the "done" message - to clear out the block number to fix a display corruption - when the -s option is used to display the progress of the - test. (Addresses Debian Bug #322231) - -2005-07-05 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c, mke2fs.c: Allow fractional percentages when - specifying the reserved ratio. (Addresses Debian Bug - #80205). - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-30 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Do not support filesystems with more 2**31-1 - blocks, since there may be kernel bugs with such - filesystems. - -2005-06-26 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.8.in: Fix minor typos pointed out by Benno Schulenberg. - -2005-06-20 Theodore Ts'o <tytso@mit.edu> - - * partinfo.c: Add ioctl definition for BLKGETSIZE so it can be - compiled cleanly. - - * findsuper.c: Fix up comments for grammar. - - * dumpe2fs.c (print_journal_information), partinfo.c (main): Add - missing _() so all strings can be internationalized. - - * badblocks.c (main), mke2fs.c (parse_extended_opts, PRS), - partinfo.c (main), tune2fs.c (usage): Clean up printed - messages for grammar and consistency. - - * e2image.8.in: Clean up e2image man page, mostly based on - suggestions from Benno Schulenberg. - -2005-06-16 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Fix missing close parenthesis from bad inode - ratio error message. - -2005-06-05 Theodore Ts'o <tytso@mit.edu> - - * blkid.8.in: Minor spelling fix. - -2005-05-29 Theodore Ts'o <tytso@mit.edu> - - * util.c (check_mount): Check the new EXT2_MF_BUSY flag to - see if the device is in use by the system. - - * badblocks.c (check_mount): Check the new EXT2_MF_BUSY flag to - see if the device is in use by the system. (Works only - for Linux 2.6 systems, addresses Debian Bug #308594). - -2005-05-20 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ - ioctls return an integer, not an unsigned long. Fix this - to avoid problems on 64-bit platforms where the size of an - integer != the size of a long. (Addresses Debian Bug - #309655) - -2005-05-09 Theodore Ts'o <tytso@mit.edu> - - * util.c (figure_journal_size): Change the default journal size to - be bigger for larger filesystems, given modern memory - sizes. Now, for filesystems greater than 4GB, we use a - journal of 128 MB instead 32 MB. - - * tune2fs.c (main): Fix grammar in message printed when setting - the check interval (tune2fs -i) - - * chattr.c: Fix case on usage message. - -2005-05-07 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main): Use the new functions blkid_dev_set_search() and - blkid_dev_has_tag(). Remove compare_search_type() since - it has been obseleted by blkid_dev_has_tag(). - - * blkid.c (main): Add a new flag, -l, which will use a more - efficient method to find the device that matches a - particular tag specifier. - -2005-05-06 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main): Use an int instead of an char to store the - return value from getopt() for better portability on - systems where char types are unsigned. (Addresses - Sourceforge Bug: #1180585) - -2005-05-05 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (main), mke2fs.c (PRS): Fix error messages by - substituting "bad" with "invalid" to avoid confusion with - "bad blocks". Thanks to Benno Schulenberg for the patch. - (Addresses Sourceforge Bug: #1189803) - - * mke2fs.c (test_disk): Fix grammatical error in error message. - Thanks to Benno Schulenberg. - - * mke2fs.c (parse_extended_opts): Print the invalid stride - parameter in the error message. Thanks to Benno - Schulenberg. - - * fsck.8.in: Fix a few spelling/grammatical errors. Thanks to - Benno Schulenberg. - - * filefrag.c (frag_report): Fix so that when the first block to be - found is an indirect block, we don't falsely count an - extra discontinuity. (Addresses Debian Bug: #307607) - -2005-04-16 Theodore Ts'o <tytso@mit.edu> - - * badblocks.8.in, dumpe2fs.8.in, fsck.8.in, tune2fs.8.in: Fix - spelling mistakes in man pages. (Addresses Debian Bugs: - #304591, #304592, #304594, #304597) - -2005-04-09 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c (frag_report): Don't abort filefrag if - EXT3_IOC_GETFLAGS ioctl is not supported, so that filefrag - can work on non-ext2/3 filesystems, as advertised. - (Addresses Debian Bug: #303509) - - * mke2fs.8.in: Fix minor spelling typo. (Addresses SourceForge - Bug #1177804) - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (create_root_dir): Call ext2fs_write_new_inode() instead of - ext2fs_write_inode(). - -2005-03-19 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (show_stats): Use the new e2p_os2string() function - -2005-03-18 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c (frag_report): Automatically detect files that are - stored using the new experimental file fragments format, - and use the non-ext2 algorithm for determing the number of - extents. Avoid reporting a false discontinuity if there - is a non-allocated block (or extent) at the beginning of - the file. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-04 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c (frag_report): In verbose mode, print the first and - last block numbers; may be useful for some folks. - -2005-02-03 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c: Define _XOPEN_SOURCE to be 500 to fix compilation - problems on Solaris. - -2005-01-28 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (main): Only call create_resize_inode if the resize - feature is actually enabled. - -2005-01-27 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main, compare_search_type): Make blkid -t work more - consistently when the blkid cache file is explicitly set - to /dev/null. (Addresses Debian Bug #292425) - - * mke2fs.c (PRS): Don't use a blocksize greater than 4k, even on - 2.6 kernels, unless explicitly requested by the user; not - all 2.6 kernels (includeing stock 2.6 kernels as of this - writing) don't support blocksizes > 4k. - - * mke2fs.c (PRS): If the device size is too big to be expressed - using a 1k blocksize, retry with a 4k blocksize. - (Addresses Sourceforge bug #1106631) - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (uninstall): Make sure "make uninstall" removes - everything installed by the makefile. - - * e2image.c (scramble_dir_block): Make sure the unused space - in the '.' and '..' directory entries are cleared when - e2image -rs is specified. - -2005-01-24 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.8.in: Clarified man page about the -c option. - -2005-01-21 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main): Make blkid -t display all devices that match the - specified criteria, not just the first one. (Addresses - Debian Bug #290530) - -2005-01-20 <tytso@snap.thunk.org> - - * filefrag.c (frag_report): Fix filefrag so that it works - correctly with sparse files; unallocated blocks should not - be treated as a discontinuity. - -2005-01-19 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (show_stats, set_os): Interpret OS Creator values for - FreeBSD and Lites. - -2005-01-18 Theodore Ts'o <tytso@mit.edu> - - * e2image.c, e2image.8.in: Add support for the -s option which - scrambles directory entries for raw image files. - -2005-01-17 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c: On Solaris, defining _XOPEN_SOURCE inexplicably - causes struct timeval to be undefined, breaking system - header files left and right. But glibc requires - _XOPEN_SOURCE in order for strptime() to be defined. So - don't define _XOPEN_SOURCE on Solaris systems. - - * filefrag.c (frag_report): Applied patch from Francois Petillon - (fantec at proxad.net) to avoid a file descriptor leak. - -2005-01-06 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (alarm_intr): Increase the number of spaces reserved - for printing block numbers, so we can correctly display - block numbers numbers greater than 999,999,999. - (Addresses SourceForge bug #1016163) - - * tune2fs.c (main): When specifying the number of reservered - blocks that can only be allocated by root, enforce a 50% - limit so that the user can't accidentally make a - superblock which e2fsck will think is insane. - -2005-01-05 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (PRS): Apply Fedora's e2fsprogs-1.35-progress.patch from - e2fsprogs-1.35-11.2. Fixed multiple command-line parsing - bugs so that backwards compatibility is maintained, and so - that certain command-line options wouldn't be ignored. - - * mke2fs.c (parse_extended_opts): Rename the -R option to -E. Fix - the resize= raid/extended option so it actually works. - (The patch from Fedora e2fsprogs-1.35-11.2 claimed it - worked, but it was a placebo option, despite the claim - that it worked in the usage message.) - - * e2initrd_helper.c: Fix gcc -Wall nits. - - * e2image.c (main): Fix gcc -Wall nits. Fix e2image so that - e2image -I has an exit code of 0 when it is successful. - - * mke2fs.c (PRS, parse_r_opts): Use parse_num_blocks() from the - e2p library to parse the number of blocks from the command - line. - -2004-12-23 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c (list_desc): If reserved GDT blocks are present, - display them along with the other filesystem meta blocks. - -2004-12-22 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (main): Check return from malloc of fsck_path string. - -2004-12-21 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c (parse_time): Fix minor buglet; the parse_time routine - should use the passed-in argument, not optarg, even though - the two are the same in the case of the current caller of - said function. - -2004-12-15 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c: Applied resize inode patch from Andreas Dilger to add - support for creating filesystems with reserved space for - on-line expansion. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Move strip command to install-strip target. - Use Linux-kernel-style makefile output for "make install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-12-01 Theodore Ts'o <tytso@mit.edu> - - * e2image.8.in: Fix minor glitches in man page. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Delete e2initrd_helper when doing a make clean. - - * tune2fs.c: If there is a question mark in the device name, - separate out the options to the IO layer, and pass it on - to ext2fs_open2(). - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-19 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in: Removed the word "destructive" when describing the - read-write test, since it can confuse people. - -2004-10-08 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in: Add an explanation about why reserved blocks in a - filesystem is a good thing. - -2004-09-28 Theodore Ts'o <tytso@mit.edu> - - * badblocks.8.in: Document the default block size. (Addresses - Debian Bug #273679) - -2004-09-25 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (set_fs_defaults): Only use blocksizes > 4k on Linux - 2.6 and newer systems. (Addresses Debian Bug #271064) - -2004-09-24 Theodore Ts'o <tytso@mit.edu> - - * lsattr.c (lsattr_dir_proc): Avoid double // when listing the - root directory, or when there is a trailing '/' in the - directory name. (Addresses Debian Bug #272943) - - * Makefile.in: Make sure /usr/lib is created for when we install - e2initrd_helper. - -2004-09-19 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c: Use _() around done_string, so that it gets - correctly translated. (Addresses Debian Bug #252836) - - * tune2fs.8.in: Add a description of the .journal file, why it - is created, and how e2fsck converts it to an invisible - journal. (Addresses Debian Bug #256760) - -2004-09-18 Theodore Ts'o <tytso@mit.edu> - - * e2initrd_helper.c: New program which allows initrd scripts to - check on the contents of /etc/fstab without (a) needing to - mount the root filesystem, and (b) needing /bin/awk in the - initrd environment. (Addresses Debian Bug #247775) - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.8.in: Mention that e2fsck -D might be useful after - setting the dir_index filesystem feature. (Addresses - Debian Bug #268148) - -2004-07-28 Theodore Ts'o <tytso@mit.edu> - - * e2image.c, e2image.8.in: Add new option -I which allows the - administrator to install an metadata stored in an e2image - file to a filesystem. Obviously, this can be very - dangerous! - -2004-06-25 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (mke2fs.static): Add the blkid library to so - mke2fs.static builds correctly. - -2004-04-11 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.8.in: Fixed spelling error (Addresses Debian Bug #242995) - - * mke2fs.8.in: Clarify man page's description of the '-O' option. - (Addresses Debian Bug #241940) - -2004-04-07 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c (update_feature_set): If the compatibility bitmasks - were not modified, don't set the superblock dirty bit. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the man pages, to avoid always re-running - subst, especially since there are no dependencies on these - generated files. - -2004-03-21 Theodore Ts'o <tytso@mit.edu> - - * blkid.c: Remove the partially implemented -p option (it never - did anything, but was documented in the man page and the - usage display). - -2004-03-20 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main, print_tags): Add new option -o which allows the - user to control the output format of blkid. - - * mke2fs.8.in: Fix spelling typos (Addresses Debian Bug #238741) - -2004-03-08 Theodore Ts'o <tytso@mit.edu> - - * e2image.8.in: Update manpage to detail that writing to stdout is - currently only supported when writing a raw image dump. - (Addresses Debian bug #236383) - -2004-03-04 Theodore Ts'o <tytso@mit.edu> - - * logsave.c (main): Use setsid() to avoid getting killed by init - (run_program): Add a newline after reporting the exit code - or signal when the program exits. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (main): Change the default number of blocks tested - at once from 16 to 64. (Addresses Debian bug #232240) - -2004-02-26 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c: Fix gcc -Wall nits. - - * badblocks.c (pattern_fill): Fix bug accidentally added when - fixing up gcc -Wall nits. badblocks -t random was not - getting handled properly because ~0 needed to be cast to - an unsigned long instead of an unsigned char. (Addresses - Debian bug #234828) - -2004-02-21 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (execute): Use '&&' instead of '&'. (It didn't cause a - problem because we got lucky, but let's do things right. - Fix from Thomas Woerner at Red Hat.) - -2004-02-03 Theodore Ts'o <tytso@mit.edu> - - * filefrag.c: Use #ifdef __linux__ instead of __LINUX__ so that it - actually compiles on Linux. (Addresses Debian bug - #230992) - -2004-01-31 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Clarify man page. - - * chattr.1.in, dumpe2fs.8.in, lsattr.1.in, mklost+found.8.in, - tune2fs.8.in: List Theodore Ts'o <tytso@alum.mit.edu> as - the current maintainer. - -2004-01-20 root <tytso@mit.edu> - - * chattr.c (main): Add support for '--' to stop options - processing. (Addresses Debian bug #225188). - -2003-12-26 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Update text indicating the 'c', 's', and 'u' - attributes are not currently supported to remove any - mention of a specific kernel version. (Addresses Debian - bug #214920) - - * fsck.8.in: Update text describing "standard" options supported - by filesystem-specific checkers. (Addresses Debian bug - #222606) - -2003-12-25 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add filefrag program to the list of programs - installed in /usr/sbin. - -2003-12-11 Theodore Ts'o <tytso@thunk.org> - - * tune2fs.8.in: Fix some whitespace errors in the command synopsis. - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner. - - * badblocks.c, blkid.c, chattr.c, dumpe2fs.c, e2image.c, fsck.c, - fsck.h, lsattr.c, mke2fs.c, nls-enable.h, tune2fs.c, - util.c: Fix gcc -Wall nitpicks. - -2003-09-13 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c (parse_e2label_options, parse_tune2fs_options, - do_findfs): Check the returned name from blkid_get_devname and - print an error if the requested LABEL/UUID does not exist. - -2003-09-03 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c (list_desc): Use ext2fs_super_and_bgd_loc to - determine the locations of the superblock and block group - descriptors. - -2003-11-20 Theodore Ts'o <tytso@mit.edu> - - * util.c (check_plausibility): Support 2.6 kernel header files, - instead of having the build to crash. (Addresses Debian - bug #221778) - -2003-09-01 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (progress_init, progress_update): If the environment - variable MKE2FS_SKIP_PROGRESS is set, then don't print out - a progress bar; for regression test support. - (PRS): If the environment variable MKE2FS_DEVICE_SECTSIZE - is set, then override the device sector size. Again for - regression test support. - (main): If the environment variable MKE2FS_SKIP_CHECK_MSG - is set, then skip printing an information messages about - when the filesystem will be checked, since this number is - random and screws up the regression test expect script. - -2003-08-31 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (set_fs_defaults): Fix bug which caused -T largefile or - -T largefile4 to core dump due to a division by zero - error. (Addressed Debian bug #207082) - -2003-08-24 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.8.in, e2image.8.in, e2label.8.in, mke2fs.8.in, - tune2fs.8.in: Adjust description line so that apropos - "ext2" or "ext3" will find the man page. (Addresses - Debian Bug #206845) - -2003-08-01 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (set_o_direct): Add check to make sure the file - offset of the device is page aligned. (Addresses Debian - Bug #203713) - - * badblocks.c (test_ro, test_rw): Add code to recover after an - error so that we continue reading on page-aligned - boundaries. (Thanks to Philippe Troin <phil@fifi.org> for - the patch.) - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Add warning if using -j and the blocksize is - greater than 4096, since some kernels don't support ext3 - with large block sizes. (Addresses Debian bug #193773) - - * badblocks.c (set_o_direct): Remove debugging printf. (Addresses - Debian bug #201499) - -2003-07-21 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (wait_many): Rename wait_all() to wait_many(), and have - new semantics: WAIT_ALL vs. WAIT_ATLEAST_ONE. This fixes - a bug where when fsck is waiting for another partition on - the same spindle, it spins wasting a lot of CPU. - -2003-07-12 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (do_read, do_write, test_rw): Change the read/write - test to honor the -c option (number of blocks at a time). - do_read and do_write will try to turn on the O_DIRECT flag - if it appears that it is possible to use it. (Addresses - Debian bug #198006) - - * mke2fs.c (set_fs_defaults): If sector_size is 0, don't use it to - set the blocksize to zero. This causes MD devices to fail - since they don't support the BLKSSZGET ioctl. (Addresses - Debian bug #196734) - -2003-07-06 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS, main): If CONFIG_TESTIO_DEBUG, then use the - testio manager. - - * mke2fs.c (PRS): Round down the default filesystem size so that - it is an even multiple of the page size, to work around - buffer cache kernel bug. - - * badblocks.c: Fix gcc -Wall nitpicks (signed/unsigned type issues) - - * blkid.c: Fix gcc -Wall nitpicks (missing #include <string.h>) - -2003-05-21 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS, set_fs_defaults): If the sector size of the - device is larger than the default block size, then use the - sector size of the device as the default block size. - -2003-05-18 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c: Use an unsigned integer to support 4-byte test - patterns with the high bit set. Let the user explicitly - specify a random pattern with the argument "random". - -2003-05-07 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (test_rw): Fix minor memory leak with test_rw() is - called for multiple passes. - (test_nd): Fix bug in chosing randomness for the - non-destructive test. We were only using 1 bit of - randomness per byte instead of 8 due to a bit-shift bug. - Also, initialize the random number generator from the time - in main(). Thanks to Thayne Harbaugh for pointing out - these bugs. - - * badblocks.c, badblocks.8.in: Functional enhancements contributed - by Thayne Harbaugh. These patches allow the -t option to - control the test pattern(s) used when checking the disk. - Test patterns may be specified in all modes (r/w, r/o and - non-destructive). - -2003-05-05 Theodore Ts'o <tytso@mit.edu> - - * tune2fs.c (main, add_journal_device, remove_journal_device): If - --enable-testio-debug is set, then use the test_io manager - so we can watch what tune2fs is doing. - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * uuidgen.c (main): Add setup functions for NLS support. - - * e2image.c (write_header), mke2fs.c (PRS): Add missing space in - displayed message. - - * badblocks.c (usage), findsuper.c (main), util.c - (parse_journal_opts): Fix typo in usage string. - - * tune2fs.c (parse_time): Add portability code to work around lack - of strptime(). - - * Makefile.in: Add $(LIBINTL) to the link line so we can support - using the internal gettext library. - - * nls-enable.h: Add #ifndef protection around LOCALEDIR definition. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-18 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (uuidgen): Avoid linking lsattr and chattr against - libext2fs, and avoid linking blkid against any of the ext2 - libraries. - -2003-04-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (fsck): Fsck does not need to linked against the - ext2 libraries anymore. - -2003-04-16 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (main): Put stdout and stderr into non-buffered mode to - avoid cosmetic problems when running fsck under logsave. - - * mke2fs.c (PRS): Avoid printing the version banner for mke2fs if - the -q option is specified. (Addresses Debian bug #172716) - - * logsave.c: Add support for the -a option (only partially - implemented previously). Always log the command-line and - start and stop time to the log file. Add support for the - -s option, which skips text bracketed between control-A - and control-B characters. - -2003-04-14 Theodore Ts'o <tytso@mit.edu> - - * logsave.c: New program which saves the output of a command in a - log file, even if the containing directory hasn't been - mounted yet (in which case the it saves the output in - memory until it can write out the logfile). - -2003-04-11 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): If the argument to -b is negative, treat it as a - minimum blocksize. (Feature requested by EVMS developers - for mainframe DASD's that do not support 1k blocksizes.) - - * mke2fs.8.in: Document the -g option. (Addresses Debian bug #188318) - - * mke2fs.c (PRS): Fix bug where mke2fs was incorrectly checking - the argument to the -g option, if the default block size - is used. (Addresses Debian bug #188319) - - * tune2fs.8.in, mke2fs.8.in: Document the dir_index filesystem - feature which can be used with the -O option. - -2003-04-06 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (parse_fstab_line, interpret_type, fsck_device, ignore, - main): Don't evaluate the filesystem type when loading the - fstab file, since that might cause fsck to hang trying to - read from a floppy disk. (Addresses Debian bug #187812) - Add tmpfs and devpts to filesystems that should be - ignored, and add jfs, reseirfs, and xfs as filesystems - types where we should complain if we can't find the fsck - program for that filesystem type. - -2003-04-03 Theodore Ts'o <tytso@mit.edu> - - * badblocks.c (bb_output): Flush output to the badblocks - output file as bad blocks are discovered. - -2003-03-25 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Clarified the description of the 't' (no tail) - attribute. (Addresses Debian bug #185945) - -2003-03-14 Theodore Ts'o <tytso@mit.edu> - - * fsck.c: And #ifdef protection around #include of malloc.h - -2003-03-13 Theodore Ts'o <tytso@mit.edu> - - * e2image.c (write_raw_image_file): Include blocks from slow - symbolic links in the raw image file. - -2003-03-06 <tytso@mit.edu> - - * tune2fs.c (parse_tune2fs_options, parse_e2label_options): Allow - the device name to be specified using LABEL=xxx or - UUID=xxx, since we're including the blkid library anyway. - (Addresses Debian bugs #166048, #179671) - - * tune2fs.8.in, chattr.1.in: Minor man page fixes (Addresses - Debian bugs #175233, #175113, and #170497) - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * Makefile.in (DEPLIBS_BLKID): Use DEPLIBUUID, not LIBUUID to - avoid depending on -lsocket on Solaris. - -2003-03-01 Theodore Ts'o <tytso@mit.edu> - - * fsck.c, util.c, tune2fs.c, Makefile.in: Use the blkid library - instead of the specialized functions in - get-device-by-label.c and fstype.c. - - * base_device.c (base_device): Take a const char* as an argument. - - * blkid.c: Remove deprecated -d option, - -2003-02-16 Theodore Ts'o <tytso@mit.edu> - - * blkid.c: Update to reflect renaming of blkid_get_devname() to - blkid_get_dev(), and blkid_get_token() to - blkid_get_devname(). - -2003-01-29 Theodore Ts'o <tytso@mit.edu> - - * badblocks.8.in: Fix grammar nit. - -2003-01-26 Theodore Ts'o <tytso@mit.edu> - - * blkid.c (main): Modify blkid to use the new libblkid public - interfaces. - -2003-01-23 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Integrate in new blkid library. - -2003-01-22 Theodore Ts'o <tytso@mit.edu> - - * fsck.c (parse_fstab_line, parse_escape): Add support for - backslash escaping in /etc/fstab. (i.e., so that \040 - will work.) - -2002-11-12 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Don't enable the dir_index feature by default; - the ext2 code on 2.4 kernels (but not 2.2 kernels, and not - the 2.4 ext3 code) accidentally had the backwards - compatibility support for dir_indexing removed. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Update man page. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-11-01 Theodore Ts'o <tytso@mit.edu> - - * chattr.c, chattr.1.in: Add support for a new inode flag, which - is to be used for indicating the top of directory - hierarchies for the Orlov block allocator. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * get_device_by_label.c (read_partitions): Pay attention to - partitions returned in /proc/partitions that begin with - with the string "lvm". - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (install): Search all compression extensions when - deleting old man pages. - - * dumpe2fs.c (list_desc): Fix bug in algorithm which determined - which blocks are used as backup superblock and block group - descriptors. - - * mke2fs.c (PRS): Fix bug which checked the tmp pointer - erreoneously (and needlessly). - -2002-10-28 <tytso@snap.thunk.org> - - * fsck.c (main): Fix bug reported by Gregory Mutt. Multiple - filesystems explicitly specified on the command line were - not being checked in parallel, due to a logic bug - introduced in to support the FSCK_MAX_INST environment - variable. - -2002-10-25 Theodore Ts'o <tytso@mit.edu> - - * dumpe2fs.c (list_desc, main): Make dumpe2fs more robust so that - if there is an error reading the block/inode bitmaps, it - will still print out the contents of the block group - descriptors. - -2002-10-20 Theodore Ts'o <tytso@valinux.com> - - * dumpe2fs.c (list_desc), mke2fs.c (PRS), e2image.c - (mark_table_blocks): Add support for the meta_blockgroup - filesystem format. - -2002-10-15 <tytso@snap.thunk.org> - - * tune2fs.8.in, tune2fs.c (update_mntopts, main): Add new option - 'o' which allows the system administrator to specify - default mount options. - -2002-10-13 Theodore Ts'o <tytso@mit.edu> - - * get_device_by_label.c (read_partitions): Use a 16k buffer to - read in /proc/partitions in one go. - - * badblocks.c, fsck.c, fstype.c, get_device_by_label.c, - tune2fs.c: Fix gcc -Wall nits. - -2002-10-11 Theodore Ts'o <tytso@mit.edu> - - * mklost+found.c (main): Make sure the lost+found directory is - created with 0700 permissions. - -2002-10-02 Theodore Ts'o <tytso@mit.edu> - - * e2image.c (write_raw_image_file): Handle a bad block in the - inode table correctly. - -2002-09-29 Theodore Ts'o <tytso@mit.edu> - - * get_device_by_label.c: Applied sourceforge patch #613447, which - adds support for reiserfs volumes for LABEL= and UUID= - fstab entries. - - * badblocks.c (main): Appled sourceforge patch #600451, which - addresses sourceforge bug #600388, by AEF. This allows - badblocks to work correctly on read-only devices such as - CD-ROM's, DVD's, etc. - -2002-09-24 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in, tune2fs.8.in: Clarify manual pages about using the - caret ('^') character to negate feature sets when using - the -O option. Define the has_journal feature to avoid - confusion about what ^has_journal means. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2002-09-24 Theodore Ts'o <tytso@mit.edu> - - * fsck.c: If the bone-headed user enters the filename twice, the - -R option which skips the root filesystem will skip all of - them. (Addresses Debian bug #159423). Note! This is not - a precedent for dealing intelligently with any other kind - of doubled entry in /etc/fstab! - -2002-09-22 root <tytso@mit.edu> - - * mke2fs.c (main): Enable directory indexing by default. - - * tune2fs.c (update_feature_set): Allow directory indexing flag to - be set. If so, set the default hash to be TEA, and - initialize the hash seed to a random value. - -2002-09-21 Theodore Ts'o <tytso@mit.edu> - - * get_device_by_label.c (init_lvm): Fix bug which caused - LABEL='xxx' to not work correctly when using LVM. - (Reversed sense of error check reported by ateeq@hotpop.com) - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-17 Theodore Ts'o <tytso@mit.edu> - - * findfs.8.in: New man page. - - * tune2fs.c (do_findfs): If tune2fs is executed with argv[0] set - to findfs, then it will interpret argv[1] as one of - LABEL=xxx or UUID=xxx and translate it to a device name. - - * get_device_by_label.c (uuidcache_init): Moved code which - interpreted /proc/partitions into read_partitions(), and - then added support for interpreting /proc/evms/volumes in - read_evms(). uuidcache_init() calls both read_evms() and - read_partitions(). - - * mke2fs.8.in: Add a common usage of the -n option. (Addresses - Debian Bug #146437) - - * fsck.c (main): If no filesystems are specified on the command - line, default to -As. (Addresses Debian Bug #153102) - - * badblocks.8.in: Clarify why it's bad to do a non-destructive - test on a r/o mounted filesystem. (Addresses Debian Bug - #131350) - - * chattr.1.in: Document the compression attribute flags E, X, and - Z, and explain that chattr can't set or set these flags. - (Addresses Debian Bug #151990) - - * fsck.8.in: Fix typo in man page, and clarified text regarding - options specifiers for -t option. (Addresses Debian bug - #145044) - - * mke2fs.c (main): If there is a problem zeroing blocks at the end - of the filesystem, don't abort mke2fs. Addresses Debian - bug #155007. - -2002-08-16 Theodore Ts'o <tytso@mit.edu> - - * e2image.c (write_raw_image_file): Check for an extended - attribute block before checking for has_valid_blocks. - -2002-07-21 Theodore Ts'o <tytso@mit.edu> - - * fsck.8.in: Document new fsck exit code, FSCK_CANCELED. - - * fsck.c: Trap SIGINT and SIGTERM, and relay it to all of the - child fsck processes. - -2002-07-14 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (zap_sector): Clear the buffer *after* testing for the - BSD sector label. Otherwise the first 512 bytes don't get - zapped. (Addresses Debian bug #147256.) - -2002-07-02 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.8.in: Cleaned up man page, and made it a bit more - OS-agnostic. Addresses Debian bug #144621. Hope this - makes the Hurd whiners happy. :-) - -2002-06-28 Theodore Ts'o <tytso@mit.edu> - - * chattr.1.in: Fix man page typo. (Addresses Debian bug #141938) - -2002-06-15 Theodore Ts'o <tytso@mit.edu> - - * chattr.c: Applied patch from Andrew to support the dirsync flag. - -2002-05-22 Andreas Dilger <adilger@clusterfs.com> - - * mke2fs.c (set_fs_defaults): make the default inode ratio at most - one inode per block for large blocksizes. - -2002-05-17 Theodore Ts'o <tytso@mit.edu> - - * mke2fs.c (PRS): Determine the page size using sysconf() at - runtime, instead of using the Linux system header files. - -2002-05-16 Andreas Dilger <adilger@clusterfs.com> - - * mke2fs.c (PRS): Allow blocksizes larger than 4k to be specified, - with warning printed and the user questioned if blocksize - is larger than the system's page size according to the - Linux kernel header files. Added better checking for - valid inode sizes, and again print a warning message if - using a large inode size (since most kernels today don't - support this yet). - -2002-04-30 Theodore Ts'o <tytso@mit.edu> - - * fsck.8.in: Fix typo in man page. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * mke2fs.c: Check for the BSD disklabel on all architectures, and - also check the byte-swapped magic number as well. - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * mke2fs.c: Output warnings to stderr - (From Philipp Thomas <pthomas@suse.de>) - - * base_device.c (main): Fix gcc -Wall complaints in debug code. - - * mke2fs.c (zap_sector): Don't erase BSD disklabels on Alpha. - (From Thorsten Kukuk <kukuk@suse.de>) - -2002-03-04 Philipp Thomas <pthomas@suse.de> - - * chattr.c (main), fsck.c (main), mke2fs.c (main), findsuper.c - (main), dumpe2fs.c (main), lsattr.c (main), partinfo.c (main), - tune2fs.c (main), mklost+found.c (main), badblocks.c - (main), e2image.c (main): Newer libintl needs LC_CTYPE to - be set in addition to LC_MESSAGES. - -2002-02-25 Andreas Dilger <adilger@clusterfs.com> - - * mke2fs.c: Add check for mkfs.ext3 and create a journal in - this case. - -2002-02-24 Theodore Tso <tytso@mit.edu> - - * Makefile.in (install): Install hard links for man pages for - mkfs.ext2 and mkfs.ext3. Also install hard link for - mkfs.ext3. Remove any compressed man pages before - installing the man pages. - -2002-02-23 Theodore Tso <tytso@mit.edu> - - * badblocks.8.in: Clarify man page's description of the -f option - -2002-02-12 Theodore Tso <tytso@mit.edu> - - * get_device_by_label.c: Since on non-STDC compilers, we define - away const, include get_device_by_label.h after we include - fsck.h. - - * Makefile.in (base_device): Remove use of $<, which is - non-portable. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2002-02-03 Theodore Tso <tytso@mit.edu> - - * fsck.c (interpret_type): Allow filesystems types of the form - "ext3,ext2", etc. - - * fstype.c (identify_fs): Add support for only searching for a - specified list of filesystems. Also add support for - identifying reiserfs filesystems. - -2002-01-29 Theodore Tso <tytso@mit.edu> - - * fsck.c: Allow the number of outstanding processes fs-specific - fsck programs to be capped via the FSCK_MAX_INST - envrionment variable. - - * fsck.8.in: Document all of the environment variables used by fsck. - -2002-01-27 Theodore Tso <tytso@mit.edu> - - * tune2fs.8.in: Document the -f flag to tune2fs. - -2002-01-02 Theodore Tso <tytso@mit.edu> - - * badblocks.c (main): Open the device as O_RDWR if possible, since - fsync() isn't guaranteed to work if the filesystem is - opened read-only. - -2001-12-26 Theodore Tso <tytso@mit.edu> - - * tune2fs.8.in, tune2fs.c (parse_tune2fs_options, main): Add - support for new option, -T, which allows the user to set - the last checked time on the filesystem. - -2001-12-24 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (main, test_disk): If two -c options are - specified, then perform a destructive read/write test - of the disk. - - * mke2fs.8.in: Document the double -c option; also encourage users - to use -c instead of the -l/-L options since it's too hard - for users to get things like the blocksize parameter correct. - - * badblocks.8.in: Encourage users to use the -c option in mke2fs - and e2fsck instead of running badblocks directly. - - * mke2fs.c (create_lost_and_found): The lost+found directory is - now created with 0700 permissions, since files which get - dropped into that directory may have come from a protected - directory, and the system administrator may not deal with - immediately. (Addresses Debian bug #118443) - -2001-12-23 Theodore Tso <tytso@mit.edu> - - * Makefile.in, jfs_user.h: Move linux/jbd.h to - ext2fs/kernel-jbd.h, to avoid using the system header - file version of hbd.h when using diet glibc (since it - forcibly adds /usr/include to the beginning of the - include search path.) - -2001-12-22 Theodore Tso <tytso@mit.edu> - - * get_device_by_label.c (init_lvm): Add support to read out - information from the LVM proc hierarchy, so that the UUID - cache can search the LVM logical volumes for UUID's, - labels, etc. - -2001-12-21 Theodore Tso <tytso@mit.edu> - - * dumpe2fs.c (list_bad_blocks): Change to not die if the listing - of the bad blocks can't be found. Slimmed down dumpe2fs - by eliminating duplicate code paths. - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * dumpe2fs.c (list_desc), fsck.c (fs_match), - get_device_by_label.c (get_label_uuid), - mke2fs.c (set_fs_defaults, zap_sector, PRS), - tune2fs.c (remove_journal_device, update_feature_set), - util.c (figure_journal_size), util.h: Fix gcc -Wall nits. - - * e2image.c (write_raw_image_file): Fix gcc -Wall nits, and use - the stashed inode functions to optimize away system calls. - - * Makefile.in, jfs_user.h: linux/jfs.h has been renamed to - linux/jbd.h - -2001-12-02 Theodore Tso <tytso@mit.edu> - - * dumpe2fs.c: Don't print the offset to the bitmap and inode table - if it's negative. Also did some generalized code clean up - to slim it down the support of the -x option. - -2001-11-24 Theodore Tso <tytso@mit.edu> - - * e2image.8.in: Fix cut-and-paste typo (Addresses Debian bug - #119624) - -2001-11-13 Theodore Tso <tytso@mit.edu> - - * util.c (check_plausibility): Use stat64 if available so that - check_plausibility() works with files > 2GB. - -2001-11-05 Theodore Tso <tytso@mit.edu> - - * chattr.1.in: Update the man page to document the EXT2_NOTAIL_FL - flag. - - * chattr.c: Add support for the EXT2_NOTAIL_FL flag. - - * fsck.c (interpret_type): If the "auto" type is specified, make - sure interpet_device() is called so that device - specifications which use LABEL= or UUID= are translated - into a real device name. - -2001-10-12 Theodore Tso <tytso@mit.edu> - - * e2image.c (output_meta_data_blocks): Optimize away excess - lseek() calls when creating a sparse file. Fewer system - calls are a good thing. <g> - -2001-10-07 Andreas Dilger <adilger@turbolinux.com> - - * mke2fs.c (main): Always exit with non-zero code in case of error. - - * mke2fs.c (zap_sector): Check that buffer allocation succeeded. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-19 Theodore Tso <tytso@mit.edu> - - * tune2fs.c (remove_journal_inode): Remove dead code that wasn't - in use. - - * tune2fs.8.in: Update man page to reflect the fact that adding or - removing a journal doesn't require running e2fsck. - -2001-09-13 Theodore Tso <tytso@mit.edu> - - * mke2fs.c (zap_sector): Allocate sufficient space for - zero-filled buffer. - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-31 Andreas Dilger <adilger@turbolinux.com> - - * mke2fs.c (main): Fix version format string. - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-30 Theodore Tso <tytso@valinux.com> - - * badblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621) - - * mke2fs.c (zap_sector): Now takes a third argument, which is how - many sectors to clear out. Fixed up Andreas's patch to - make it a bit more efficient/compact. - -2001-08-30 Andreas Dilger <adilger@turbolinux.com> - - * mke2fs.c (main): Zap the second sector of the disk, along with - any sectors in the same filesystem block after the superblock. - The latter will remove (for example) swapspace signatures - on 4kB+ blocksize filesystems. Also when zeroing the "end" - of the filesystem don't actually zero the start of a very - small device (less than 64 blocks). - -2001-08-27 Theodore Tso <tytso@valinux.com> - - * fsck.c (main): Make version display consistent with the other - e2fsprogs programs. - - * lsattr.c, chattr.c, mke2fs.c, tune2fs.c, dumpe2fs.c, e2image.c, - mklost+found.c: Remove EXT2FS_VERSION from the version - display, since it only confuses people. - -2001-08-18 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (remove_journal_device): Remove unused variable - check_uuid. - - * get_device_by_label.h: Define function prototype for - copy_string(), since this was moved from fsck.c to - get_device_by_label.c by Andreas's BK changeset. - -2001-08-17 Andreas Dilger <adilger@turbolinux.com> - - * get_device_by_label.[ch], fsck.c, util.c: New interpret_spec() - function in get_device_by_label.c to allow the use of - UUID= or LABEL= when creating filesystems which use external - journal dev (e.g. mke2fs -J device=LABEL=<journal_label>). - - * tune2fs.c: Use superblock s_journal_uuid to locate an external - journal device instead of s_journal_dev when removing it. - Allow opening journal devices to set the label and UUID - in the ext2 superblock. - - * mke2fs.c, tune2fs.c: Free journal_device after use, as it is - malloc'd in interpret spec. - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * tune2fs.c: Make sure that error messages are sent to stderr, and - normal messages are sent to stdout. (Addresses Debian bug - #108555.) - - * fsck.8.in: Fixed error in synopsis of the man page. - - * fsck.c (check_all): Don't bother to interpret a device where the - pass number is zero. (Addresses Debian bug #106696.) - (main): Print a warning message if there are no devices to - be checked. (Addresses Debian bug #107458.) - - * mke2fs.c (PRS): Handle -O and -s options in line in the getopt - loop, so that -s and -O handling are a bit more intuitive. - (Not that they should be mixed anyway; -s is deprecated.) - - * tune2fs.c (parse_tune2fs_options): Give an error if -O is - specified more than once. - -2001-08-10 Theodore Tso <tytso@valinux.com> - - * mke2fs.8.in: Slim down text describing the -O flag to remove - text that erroneously implied that all features - (including compatible flags) aren't compatible with older - kernels. - -2001-08-09 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if - mke2fs -O none is specified, the sparse_super feature - should not be present. - - * e2image.c, e2image.8.in: Add support for raw image files. - -2001-08-04 Andreas Dilger <root@lynx.adilger.int> - - * mke2fs.c (PRS): Put check for JOURNAL_DEV before sparse_option, - so we don't set the sparse superblock flag on journal devices. - -2001-07-31 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (update_feature_set, remove_journal_inode): If - removing an in-filesystem journal, clear out the journal - inode and update the filesystem accounting structures so - we don't have to run e2fsck to clean up after ourselves - -2001-07-30 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (update_feature_set): Don't require a forced fsck if - we're removing an external journal from a filesystem. - -2001-07-27 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (PRS): If the blocksize is not specified and the - journal device is specified, use it to determine the - blocksize of the new filesystem. - -2001-07-20 Theodore Tso <tytso@valinux.com> - - * fsck.8.in: Add much more explicit language documenting how the - fs_passno field in /etc/fstab is handled. (Addresses - Debian bug #30833). - -2001-07-19 Theodore Tso <tytso@valinux.com> - - * fstype.c (identify_fs): New file which looks at the superblock - of the filesystem to determines its type. - - * fsck.c (fsck_device, ignore, interpret_type): Call identify_fs - if the type specified in /etc/fstab is "auto". - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-14 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (PRS): Remove unneeded test in when creating a external - filesystem journal. - -2001-06-13 Theodore Tso <tytso@valinux.com> - - * tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move - the message which displays how often the filesystem will - be checked from mke2fs into a utility subroutine. Then - cause tune2fs to call that function to display the message - after adding a journal to a filesystem. - - * mke2fs.8.in: Add manual page fixups and explanation for why it's - good to check filesystems periodically from Andreas - Dilger. - - * Makefile.in: Don't build e2image if --disable-imager is - specified to configure. - -2001-06-12 Theodore Tso <tytso@valinux.com> - - * dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not - we're (not) using i386 byte order. - - * dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks - function, and use the ext2fs_badblocks_* functions - instead. - - * fsck.c (device_already_active): Fixed bug which can cause fsck - to core dump if there are a mix of devices with standard - and non-standard names. (Addresses Debian bug #100559) - -2001-06-07 Theodore Tso <tytso@valinux.com> - - * chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using - the 64-bit function, since this changes the expected size - of struct dirent. Instead use lseek64 explicitly. - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (update_feature_set): Fix capitalization typo. - -2001-05-23 Theodore Tso <tytso@valinux.com> - - * partinfo.c (main): Use unsigned long instead of long when - querying the size of a device using the BLKGETSIZE ioctl, - to remove the 1TB limit (and turn it into a 2TB limit :-) - - * fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() - instead of _() to initialize static variables. - -2001-05-20 Theodore Tso <tytso@valinux.com> - - * fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix - handling of -t option to be more intuitive. Also add - support for the Mandrake -t loop hack. See man page - for description of new -t semantics. - - * fsck.c (device_already_active): Fix bug in - device_already_active which could cause infinite loops if - we don't know the base_device of the filesystem. - - * fsck.c: Make sure all exit status codes returned by fsck are - consistent with the error codes documented in the fsck man - page. - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, - lsattr.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c: - Change location of ext2_fs.h to be ext2fs/ext2_fs.h - - * tune2fs.8.in: Fix typo's and make other clarifications suggested - by Andreas Dilger. - -2001-05-11 Andreas Dilger <adilger@turbolinux.com> - - * mke2fs.c: don't zap the superblock if we are running with noaction! - Zap the end of the device to remove stale RAID superblocks. - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (update_feature_set): Clean up some printf messages. - - * fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other - clarifications suggested by Andreas Dilger. - -2001-05-13 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (PRS): Integrated changes from Andreas Dilger which - make the revision superblock field be set to the correct - value depending on if superblock features are set. - -2001-05-12 Theodore Tso <tytso@valinux.com> - - * fsck.c (PRS): fsck -? now prints the usage message. - - * badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in, - mklost+found.8.in, tune2fs.8.in: Fix typo; removed - excess "anonymous" in the AVAILABILITY section. - - * chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of - e2fsprogs package. - -2001-05-07 Theodore Tso <tytso@valinux.com> - - * util.c: Use specific check for HAVE_SYS_STAT_H. - -2001-05-05 Theodore Tso <tytso@valinux.com> - - * fsck.8.in: Add explicit language to describe how options get - passed to filesystem-specific checkers. - - * badblocks.8.in: Fixed man page to describe the first optional - parameter to badblocks as last_block, instead of - num_blocks. (Debian bug #87216) - - * badblocks.c: Change the blocks_count variable to be last_count, - which is a more accurate description of the variable. - -2001-05-03 Theodore Tso <tytso@valinux.com> - - * e2image.8.in: New manual page - - * badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in, - tune2fs.8.in: Update location of e2fsprogs to be - http://e2fsprogs.sourceforge.net. - - * dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs - to dump out the filesystem statistics from an ext2 image - file. - - * e2image.c (main): Fix format of e2image to be easier to be parse - by ext2fs_open(). - -2001-05-01 Theodore Tso <tytso@valinux.com> - - * fsck.c (device_already_active): If we're not able to determine - the base device, we should assume that the device is - already active in order to force serialization. - -2001-04-26 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for - backwards compatibility with older kernels). -c 0 makes - more sense to users. - -2001-04-22 Theodore Tso <tytso@valinux.com> - - * tune2fs.c (remove_journal_device): If the force flag is given, - tune2fs will remove the journal device information from - the superblock even if tune2fs failed to open the journal - device or otherwise other failed to remove the filesystem - from journal device. - (parse_tune2fs_options): Fix -j option so that it works - (it was missing the open_flag being set to EXT2_FLAG_RW). - (main): Accept "-U clear" to set a null UID. - -2001-04-21 Theodore Tso <tytso@valinux.com> - - * mke2fs.8.in: Manual page cleanups. Temporarily comment out the - documentation for the extern journal device support. - - * mke2fs.c (usage): Remove the deprecated -s option from the usage - message. - -2001-04-16 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (main): Add better explanation about when the - filesystem will be checked after it is created. - - * util.c (parse_journal_opts): Remove code which allowed a bare - number to be treated as a journal size. - - * mke2fs.c, tune2fs.c: Add newlines to error messages so that they - look nicer. - - * mke2fs.c (create_journal_dev): Call - ext2fs_create_journal_superblock() first, so if it's going - to error out, the user finds out before waiting for the - entire device to get zero'ed. - -2001-03-26 Theodore Tso <tytso@valinux.com> - - * mke2fs.8.in, tune2fs.8.in: Change man paegs to document that the - journal must be bewteen 1024 and 102,400 file system - blocks. - - * mke2fs.c, tune2fs.c: Change to use figure_journal_size() - - * util.c, util.h (figure_journal_size): Change - journal_default_size into routine which also converts the - requested journal size into filesystem blocks and does - bounds checking to make sure the journal is sized - reasonably. Renamed function to journal_default_size. - (parse_journal_opts): Remove bounds check for the journal - size, since this is now done in figure_journal_size, and - based on the number of filesystem blocks, as opposed to - using the absolute size of the journal. - -2001-02-17 Theodore Tso <tytso@valinux.com> - - * mke2fs.c (main): Flush out the "creating journal" message. - Also handle the case where the default journal size - returns zero blocks == no journal. Print out how often - the filesystem will be checked. - -2001-02-08 Theodore Tso <tytso@valinux.com> - - * e2image.c (main): Add code to write the e2image header. - -2001-02-07 Theodore Tso <tytso@valinux.com> - - * tune2fs.8.in: Update man page to reflect that 2.0.39 supports - sparse_super. - - * dumpe2fs.c (list_desc): Fix fencepost error when calculating the - range of inode table blocks. Add '0x' to values printed - in hex. - - * chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the - use of the LFS so that lstat will work on large files. - -2001-01-17 Theodore Ts'o <tytso@valinux.com> - - * tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user - interface so that -J is used to specify journal options, - and -j is used to request creation of a journal using - default values. (This is a UI change, but we haven't done - a formal release, and it makes things much more consistent - with the rest of the options out there.) - - * tune2fs.c: Add support for removing a filesystem from an - external journal; we correctly remove the filesystem UUID - from the external journal's filesystem list. - - * util.h, util.c (journal_default_size): New function from Andreas - Dilger to calculate an appropriate default journal size - given a filesystem size. - - * util.c (parse_journal_opts): Allow the creation of a journal as - small as 1MB. - - * dumpe2fs.c (print_journal_information): Use s_first_data_block - to find the correct block to read the journal superblock. - -2001-01-15 Theodore Ts'o <tytso@valinux.com> - - * tune2fs.c: Changed the external journal code so that it simply - adds a filesystem to a journal; the journal must have bene - created via "mke2fs -O journal_dev /dev/XXX". - - * mke2fs.c: Add support for creating an external journal device by - using the command "mke2fs -O journal_dev /dev/XXX". Also - changed the external journal code so -j device=/dev/XXX it - simply adds a filesystem to that journal; the journal must - have been created via separate step. - - * dumpe2fs.c (print_journal_information): Add support for dumping - information about an external journal device. - -2001-01-14 Theodore Ts'o <tytso@valinux.com> - - * mke2fs.c: Add new filesystem types, largefile and largefile4, - for those filesystems whose average inode size is 1MB and - 4MB, respectively. Allow the inode ratio specified to be - has high as 4MB. Make the s_max_mount_count vary between - 20 and 40, to avoid needing to check all of the - filesystems at the same time. Add some random jitter to - the s_max_mount_count value so that we avoid checking all - of the filesystems at the same time when we reboot. - - * tune2fs.8.in: Add description of the -j option. - - * tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush - stdout after printing in-progress message. - (main): Exit with status code 1 if we failed to determine - the mount status of the device. - -2001-01-11 <tytso@snap.thunk.org> - - * e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, - uuidgen.c: Fix gcc -Wall complaints, including one bug in - tune2fs caused by a block automatic shadowing version of - the variable we really wanted to use, which broke the - logic testing to see if the filesystem was mounted. - - * badblocks.c (flush_bufs): Use ext2fs_sync_device() to sync and - flush the device. - - * mke2fs.c: Change ino_t to ext2_ino_t. - -2001-01-08 <tytso@snap.thunk.org> - - * Makefile.in, tune2fs.c: Move e2label functionality into tune2fs, - using argv[0] as a dispatch. This allows e2label to be - (more) safely used on mounted filesystems. - -2001-01-05 <tytso@snap.thunk.org> - - * get_device_by_label.h (get_volume_label_by_spec): Add function - prototype. - - * get_device_by_label.c: Use string_copy() instead of strdup() for - portability's sake. Fix a few other gcc -Wall - complaints. - - * fsck.c (string_copy): Export string_copy() extern. - - * badblocks.c: Fix various gcc -Wall complaints, including - an incorrect reference to sync in flush_bufs(). - -2001-01-03 <tytso@snap.thunk.org> - - * tune2fs.c (update_feature_set, add_journal): Moved to separate - functions. Added ability to add and remove the journal - while the filesystem is live. Added support for setting - a time-based UUID. Removed zero-initialized static variables. - - * mke2fs.c, util.c, util.h (strcasecmp, proceed_question, - check_plausibility, parse_journal_opts, check_mount): - Moved functions to util.c so they can be used by tune2fs. - - * mke2fs.c (main): Change ext2fs_add_journal_fs() to - ext2fs_add_journal_inode() to reflect function renaming. - -2001-01-01 <tytso@snap.thunk.org> - - * mke2fs.c, e2image.c: Removed references to struct ext2fs_sb to - struct ext2_super_block. - - * tune2fs.c (main): Add support to allow HAS_JOURNAL flag to be - cleared, but only if the filesystem is unmounted or - mounted read-only. Changed struct ext2fs_sb to struct - ext2_super_block, and cleaned up old code which was needed - for old versions of ext2_fs.h (not needed since we're - using our own version now). - -2000-12-31 <tytso@snap.thunk.org> - - * fsck.c (check_all): Call interpet_device to resolve LABEL= and - UUID= right away so that the device_already_active() logic - can do the right thing. Also cleaned up the the root - filesystem logic checking code; fixed up a logic bug with - the parallel_root option. - - * lsattr.1.in: Add pointer to chattr man page for definition of - the file attributes. - - * lsattr.c (list_attributes): Minor cleanup to smooth out logic - flow. Also removed static initialized variables to zero. - - * chattr.c (decode_arg, get_flag): Use a table-driven method for - decoding the ext2 file flags character options. Add - support for the journaled data flag. - - * chattr.1.in: Document the -j/+j/=j flag. - -2000-12-30 <tytso@snap.thunk.org> - - * mke2fs.8.in: Minor clarity edit. - - * mke2fs.c (usage): Document the -j option. - (main): Print the number blocks used in the journal. - -2000-12-28 <tytso@snap.thunk.org> - - * base_device.c (base_device): Add support for DAC960 device - names. - - * fsck.c (device_already_active): Handle the case where - base_device doesn't know how to interpret the device name, - instead of core dumping. - -2000-12-09 <tytso@snap.thunk.org> - - * mke2fs.c (main, parse_journal_opts): Add support for creating V1 - superblocks. We now pass in a journal_flags field to the - journal creation routines for this purpose. - - * mke2fs.c: Remove zero initializers to save a few bytes from the - executable image. (Are we excited yet?) - - * findsuper.c: And non-subtle copyright licensing restriction to - get Yann to remove this program from the Debian package. :-) - -2000-12-03 <tytso@snap.thunk.org> - - * fsck.c (device_already_active): Change to use new version of - base_device() which now returns dynamically allocated - memory. - - * base_device.c (base_device): New version moved from fsck.c which - now understands ugly devfs names. (Debian bug #65181) - - * base_device.tst: Test case for base_device.c - -2000-12-02 <tytso@snap.thunk.org> - - * fsck.8.in: Add clarification that filesystems with a fs_passno - of 0 are skipped with the -A option. (Debian wishlist/bug - #63442) - - * fsck.c (wait_one): When we let a new fsck take control of the - console to display the progress bar, set FLAG_PROGRESS to - so that fsck knows not to start new processes during an - fsck pass with the progress bar. (Should fix debian bug - #65267) - - * tune2fs.8.in: Add clarifying statement about converting user and - group names to uid's before storing them in the - superblock. (Debian bug #67446) - -2000-11-16 Theodore Ts'o <tytso@valinux.com> - - * mke2fs.c(main): Expand the -j option so that it parses - option=argument style options, and add support for - creating filesystems with external journals. - - * mke2fs.8.in: Document new syntax for the -j option. - -2000-11-05 <tytso@snap.thunk.org> - - * e2image.c, Makefile.in: New program which saves ext2 metadata to - a file for people who need a last-ditch saving throw. - -2000-10-24 <tytso@snap.thunk.org> - - * mke2fs.c (PRS): Applied Andreas Dilger's patch to make the -r -s - handling a bit more sane. (Even though -s is deprecated - at this point.) - - * get_device_by_label.c: Apply fix from Erik Troan to support 16 - character labels. - - * fsck.c (device_already_active): Add a special case check for MD - devices, so we don't try to check them in parallel with - other devices. - - * mke2fs.c (PRS, main), mke2fs.8.in: Add support for the -j - option, which builds an ext2/3 filesystem with an ext3 - journal. - -2000-10-24 <tytso@valinux.com> - - * mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95 - didn't catch. - -2000-09-12 <tytso@valinux.com> - - * fsck.c: Add base device definitions for hd[e-h], for those - systems with four IDE interfaces. - -2000-09-11 <tytso@valinux.com> - - * mke2fs.c (zap_sector): Fix error message printed when zap_sector - fails. - - * dumpe2fs.c (list_desc): Fixed format string bug when printing - the inode table location in non-hex format. - -2000-08-20 <tytso@valinux.com> - - * get_device_by_label.c: Add call to ext2fs_find_block_device if - we can't find the device using the name given by - /proc/partitions. (This can happen if devfs is compiled - into the kernel, but not mounted.) - -2000-06-27 Andreas Dilger <adilger@turbolabs.com> - - * dumpe2fs.c (usage): add fhx options to usage message, add -x option - to print out the per-group block numbers in hex, add line for - location of primary/backup superblock and group descriptors - - * mke2fs.c: rename max to group_blk_max avoid potential macro conflict - -2000-08-14 <tytso@valinux.com> - - * mke2fs.c (zap_sector): Change zap_bootsect to more general - zap_sect. - (main): Clear the superblock when starting mke2fs, to - avoid leaving the filesystem in an inconsistent state. - -2000-07-26 <tytso@valinux.com> - - * get_device_by_label.c: Improve /proc/partitions parsing in - fsck, and speed up fsck -a. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-13 <tytso@snap.thunk.org> - - * badblocks.8.in: Added text explaining that the -n and -w options - are mutually exclusive. - - * badblocks.c (usage): Fix usage message to make it clear that the - block count must be specified if the starting block is to - be specified. (The starting block should be a option, in - the long run.) - - * badblocks.c (test_nd): Save and restore the currently_testing - variable before going into the write verification loop. - This avoids a loop termination problem if the last block - on the disk is bad. Also, turn off the SIGALRM signal - while restoring blocks after the user types ^C. The - num_saved variable is now static so that it won't get - clobbered by a longjmp. buf_used and bb_count are no - longer static, since they aren't used by the cleanup - routines anymore. - - * badblocks.c (main): Removed an unsued varaible (buf_size). - Fixed bad getopt argument that didn't allow the 'b' option - to take an argument. Added error checking when parsing - the starting block number. Fixed lint warning in fscanf - format string. - -2000-07-06 Theodore Ts'o <tytso@valinux.com> - - * fsck.c (execute, wait_one): Treat fsck.ext3 the same as - fsck.ext2 (because they are the same) for the purposes of - the progress bar display logic. - - * tune2fs.8.in: Update manual page to document what happens if - max_mount_count is negative. - - * tune2fs.c (main): Allow setting the maximal count value to be - negative, since the kernel interprets that as forcing a - check. - - * fsck.c (lookup, load_fs_info, check_all): Use lazy evaluation - for calling interpret_device(), since this requires root - privileges if the partitions need to be scanned. - Otherwise, it's not possible to do non-proot fsck's for - removeable devices such as floppies if there are any - LABEL= or UUID= entries in /etc/fstab. - - * badblocks.c (check_mount, main): Check to see if the filesystem - is mounted before doing a read/write or non-destructive - test. This can be overriden using the new -f option. - - * badblocks.8.in: Update manual page to reflect that the - blocks-count parameter is now optional. Also properly - document the start-block parameter. Added documentation - for the -f option. - - * badblocks.c (main): Allow the blocks-count parameter to be - optional. If it's not specified, use the size of the - device as a default. - -2000-07-05 Theodore Ts'o <tytso@valinux.com> - - * badblocks.c (test_nd): Significantly simplify the logic so that - it's more obviously what's going on. Fixed a few - potential cases which weren't handled correctly in the - old, overly complicated logic. - (flush_bufs): Now doesn't take a second argument, and - always forces a sync; this is required before it's really - safe to call BLKFLSBUF, at least for some kernels. - -2000-05-29 Theodore Ts'o <tytso@valinux.com> - - * mke2fs.c (PRS): Add a much more specific error message if the - filesystem size is defaulted and get_device_size returns a - size of zero. Otherwise, users get a confusing "invalid - argument while passed to ext2 library" error message. - -2000-05-08 Theodore Ts'o <tytso@valinux.com> - - * fsck.c (interpret_device): Add better error messages if a UUID= - or LABEL= specification is given. - - * mke2fs.c (main): We forcibly turn off the filetype feature if - the OS is the hurd, since the hurd doesn't support it. - (And since the hurd allows the transmogrification of files - to special files and vice versa --- for no good reason - that I can understand --- it can't support the filetype - feature for the forseeable future, either.) - - * mke2fs.c (proceed_question): Fix reversed sense of - proceed_question that was busted due to the - internationalization patch. Fixed bug where if - proceed_question was called twice, the input buffer wasn't - cleared of the previous question's newline. - -Thu Apr 6 17:50:25 2000 Theodore Y. Ts'o <tytso@signal.thunk.org> - - * badblocks.c (flush_bufs): Use fsync() if the system doesn't - support fdatasync(). - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c, - uuidgen.c: For platforms that don't define optarg.h, - manually define optarg and optind. - - * badblocks.8.in: Updated manual page with suggestions from David - Beattie. - - * badblocks.c (test_nd): Generalized cleanup and bug-fixes. We - now explicitly clear out the signal handlers to prevent a - longjmp to a deactivated stack frame. - (test_rw): Fixed a signed vs. unsigned comparison error. - - * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, lsattr.1.in, - mklost+found.8.in, tune2fs.8.in: Update Remy Card's e-mail - address. - chattr.1.in: Update which attributes aren't supported. - -2000-02-09 Theodore Ts'o <tytso@valinux.com> - - * chattr.1.in: - * lsattr.1.in: Change "version" to "version/generation number". - - * chattr.1.in: Fix stupid file vs filesystem typo. - - * tune2fs.c Fix spelling error (spare vs sparse). - - * mke2fs.c (PRS): Add safety check to make sure the number of - blocks doesn't exceed 32 bits on a 64 bit machine. - - * chattr.c: Random cleanup; file-only variables are now static. - Options for setting/clearings flags put into order, and - #ifdef's removed (since we now use a built-in header - file). Add error message if user tries to set and reset - the same flag. - - * lsattr.c: Random cleanup; file-only variables are now static. - The -l "long" listing has been changed to look nicer. - Options names have been renamed to be more descriptive. - -2000-02-06 Theodore Ts'o <tytso@valinux.com> - - * badblocks.c, chattr.c, dumpe2fs.c, e2label.c, findsuper.c, - fsck.c, get_device_by_label.c, lsattr.c, mke2fs.c, - mklost+found.c, nls-enable.h, partinfo.c, tune2fs.c, - uuidgen.c: Add Internationalization support as - suggested by Marco d'Itri <md@linux.it>. - - * badblocks.c: Fix non-destructive read/write patches from David - Beattie. Non-standard variable-length automatic arrays - removed. Non-destrutive write test fixed so that logic is - clearer and more provably correct. (I believe the old - code had a bug where the disk data wasn't restored if it - was interrupted at the wrong time.) - - * badblocks.8.in: Document new options in man page. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * fsck.c (interpret_device): If there was an attempt to interpret - a device specification of the type "UUID=" or "LABEL=", - and it fails, check to see if /proc/partitions is - readable. If not, print a warning message about /proc - perhaps not being mounted, and exit. - - * mke2fs.c (check_plausibility): Remove unneeded #include of - linux/fs.h. Add #define of MAJOR if necessary. - - * partinfo.c: Remove unneeded #include of linux/fs.h - -2000-01-19 Theodore Ts'o <tytso@valinux.com> - - * tune2fs.c (usage): Update the usage message to correctly - document the -s option. - -2000-01-18 Theodore Ts'o <tytso@valinux.com> - - * badblocks.c: Folded in patches David Beattie <dbeattie@usa.net>. - Need to do cleanup before release: use of GCC extensions - (dynamic arrays); unclean coding tricks (use of || instead - of if statements, etc.). Comments from David Beattie: - - "I added non-destructive write-testing, and quite a few - other features. The non-destructive write testing, - triggered by new "-n" command-line option, will write test - patterns to the disk, but only after reading data off the - disk into memory. Then, comparing the test patterns gives - a result as to whether or not those sectors are reliable. - Finally, the original data is written back. - - To streamline this operation, I added another option, "-c - blocks_at_once", which will give the number of disk blocks - to process at one time (mnemonic--"count"). I made this - default to 16 (as in the read-only testing mode), and also - affect the read-only testing mode. Of course, read-only - mode needs (count * block_size) amount of memory, and - non-destructive read-write needs 3 times that much, so it - makes sense to do the calculations and not overrun - available RAM...I would have liked to implement and - auto-memory-usage heuristic, but I have no idea if it's - even possible to determine the amount of free memory on a - Unix system except by reading /proc entries, and that - didn't seem portable. I did NOT make this blocks_at_once - affect the behavior of the test_rw routine, as it is - processing the whole disk at once, anyway. - - I *think* that I got higher detection rates on my hard - drive using random test data than patterned test data, so - my non-destructive mode initializes its test data buffer - randomly. - - I fixed a typo in flush_bufs that caused the ioctl - BLKFLSBUF to never get compiled into the program. - - Also, I added an "undocumented" (I didn't put it into the - usage message; you can if you think it's useful) "-h" - option to specify the host device to flush--useful if you - want to test out my "non-destructive" code on something - other than a hard drive, such as a file on a hard drive, - and want the host hard drive to flush. - - I provided support for an "input" file (via option "-i", - similar to the "-o" option)...containing a list of - already-known bad blocks; it will skip testing those - blocks, thus adding speed to the bad block scan (on my - computer, hitting a physically bad block causes a - half-second-or-more freeze as the kernel waits for the - hard drive to give up and reset itself; pretty annoying - when you already know the block is bad from a previous - scan). - - Finally, the real killer, the persistent re-scan (option: - "-p num_passes") that I created will, if desired, - persistently re-scan the drive until it has completed a - user-decidable number of passes in a row during which no - new bad blocks are found. On my drive, I would see - behavior that a certain percentage of bad blocks would be - found with each pass (it was not reliable in the defective - areas!), so I wanted it to check it over and over again - until it didn't find any more, several times. Perhaps - this will be useful to others. Defaults of course to - zero, meaning it will stop after the first pass. I used - "-p 2" on my drive, and it ran for 2 1/2 days...then used - "-p 3" a couple days later and it ran for a few more - hours, and since then the rest of my drive has been - completely reliable. - - Implementation of these last two features, "-i" and "-p", - I did using a bb_list from libext2fs. I debated whether - bad blocks input through "-i" should be output into the - "-o" file (or stdout, of course), and decided against it, - but left the code to do so in place, commented out, just - for your information. - - In order to maintain data integrity upon interruption of a - non-destructive-write test, I created a signal handler - which I install which will write back whatever original - disk data is in the buffers upon any of the fatal signals - (except SIGKILL, of course). - - Of course, ideally, the new options would be reflected in - the badblocks manual page, but I am not experienced at - manual page modification; if you decide my patch to - badblocks should be incorporated into the distribution, I - could learn how to update the manpage and other - documentation, or you could do it for me after exercising - your opinions, if you have any, on exactly what the - command-line parameters should be called and which ones - should be in the distribution." - -2000-01-07 Theodore Ts'o <tytso@valinux.com> - - * Really fix the bug where "fsck -As" will actually allow - interactive fsck's. (For those people who like to do - interactive fsck's in the /etc/rc scripts!?!) - -1999-11-23 <tytso@valinux.com> - - * tune2fs.8.in: Fix man page so that the sparse_super filesystem - option is properly named. - -1999-11-22 <tytso@valinux.com> - - * mke2fs.c: Change log2() and log10() to int_log2() and - int_log10() to avoid namespace collisions. Change #ifdef - sparc to #ifdef __sparc__. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-11-10 <tytso@valinux.com> - - * mke2fs.8.in: Update manual page so that the sparse_option - filesystem option is properly named. - -1999-11-04 <tytso@valinux.com> - - * fsck.c (main): Move setting of the interactive flag to before - the call to check_all(), so that people who try to use - fsck -As can do so interactively. - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * fsck.c (PRS, device_already_active): Add debugging hook; if the - environment variable FSCK_FORCE_ALL_PARALLEL is set, then - force all fsck runs to happen in parallel. - - * get_device_by_label.c (has_right_label): Fixed bug where code - used a strncmp to compare a binary UUID value which may - contain a NULL. Fixed GCC warnings; added const to char * - typed variables. Eliminated non-portable use of u_char. - - * mke2fs.c (PRS): Fix gcc warnings; add const to some char * - variables, including in struct mke2fs_defaults. - (set_fs_defaults): Changed parameter name to avoid - gcc warnings. - - * fsck.c (wait_one): Fix gcc warnings; add #include for ctype.h, - add const to char * variables, and use NOARGS to declare - functions that take no arguments. Also fix a memory leak - in execute() where we weren't freeing argv[] after forking - the child process. - - * chattr.c: Add hack to compile in a definition for S_ISLNK so we - can successfully compile even with warnings turned on. - -1999-10-25 <tytso@valinux.com> - - * mke2fs.c (show_stats): Capitalized Hurd to make the GNU types - happy. - (PRS): Use __u64 instead of long long for portability - reasons. Also moved #include of sys/stat.h inside #ifdef - HAVE_LINUX_MAJOR_H for portability reasons. - - * fsck.c (execute): Fix really stupid bug in the linked list - management which caused fsck in parallel mode to go into - an infinite loop. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-10-22 <tytso@valinux.com> - - * tune2fs.c (main): Add a new option -O which allows the user to - set and clear certain "safe" filsystem feature flags. - Currently, the only ones which are supported for - modification are sparse_superblock and filetype. - - * mke2fs.c (PRS): Add new option -O which allows the user to - request filesystems with specific filesystem options. By - default on 2.2 and later systems, create filesystems that - have both file type information and sparse superblocks. - -1999-10-21 <tytso@valinux.com> - - * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in, - fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in, - tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard - format (bold option flags and italicized variables), as - suggested by Andreas Dilger (adilger@enel.ucalgary.ca) - -1999-10-14 <tytso@valinux.com> - - * tune2fs.c (main): Fix typo (double spaces) in messages regarding - changing the sparse superblock option - - * fsck.c (wait_one): If the fsck process just started, wait a - second before sending a SIGUSR1, to give it a chance - to set the signal handler; otherwise, fsck will die on an - unhandled SIGUSR1. - -1999-09-15 <tytso@valinux.com> - - * mke2fs.c (show_stats): Fix display bug when printing out the - number of superblocks. Suggested by Yann Dirson. - -1999-09-08 <tytso@valinux.com> - - * partinfo.c: Fix minor compilation bugs pointed out by Yann - Dirson. - - * mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2 - kernels. - - * mke2fs.8.in: Add the possible valid block sizes for mke2fs. - Document the -n flag, and the new defaults for the -s - flag. - - * dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h - (header-only). - -1999-08-13 <tytso@valinux.com> - - * mke2fs.c (PRS): Fix logic for turning on/off the sparse - superblock option. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-07-18 <tytso@rsts-11.mit.edu> - - * mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows - the user to specify the how the filesystem is to be used. - Mke2fs now chooses the filesystem parameters automatically - based on the size of the filesystem and the intended use - of the filesystem. Add new option -n which simply goes - through the calculations to determine the parameters of - the filesystem the system would make. - -1999-07-18 <tytso@valinux.com> - - * fsck.c, fsck.h: Add support for new option -C. This option will - automatically manage e2fsck processes so that they will - print completion/progress bars. If multiple filesystems - are being checked, arrange to make sure that only one - e2fsck process is displaying a progress bar at a time. - -1999-07-08 <tytso@valinux.com> - - * badblocks.c (do_test): Don't complain if the write error occurs - on a non-block boundary. This is perfectly common when - using blocksizes larger than 1k. - -1999-07-03 <tytso@valinux.com> - - * uuidgen.c: Add option parsing so that user can ask for either a - time-based UUID or a random-based UUID. - -1999-07-02 <tytso@valinux.com> - - * fsck.c: Added support for LABEL= and UUID= specifications for - the filesystem's device, to match what recent mount - programs can support. Also, close stdin when doing fsck - -A or when checking more than one filesystem at a time, so - that e2fsck doesn't try to ask interactive questions if - the filesystem appears to be mounted. - - * get_device_by_label.c: New file added to support LABEL=foo and - UUID=bar type specifications. - -1999-07-01 <tytso@valinux.com> - - * badblocks.c: Make the "done" string include enough spaces to - clear out a large block number. - -1999-06-29 <tytso@valinux.com> - - * mke2fs.c (check_mount): Allow a filesystem to be made even if it - appears mounted if the force option is given. - -1999-06-24 <tytso@valinux.com> - - * mke2fs.8.in: Fix typo in man page which caused the badblocks - command to not show up in the "SEE ALSO" section. - -1999-05-02 <tytso@rsts-11.mit.edu> - - * findsuper.c: Added documentation from aeb@cwi.nl; some minor - code cleanups. - -1999-05-20 <tytso@rsts-11.mit.edu> - - * dumpe2fs.c, dumpe2fs.8.in: Added new command-line options which - allow a filesystem expert to specify the superblock and - blocksize when opening a filesystem. This is mainly - useful when examining the remains of a toasted filesystem. - -1999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca> - - * uuidgen.c, uuidgen.1.in: Created command-line utility to - generate UUIDs. - -1999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (fsck_device, execute): Don't dereference a null pointer - when checking a filesystem not in /etc/fstab. - -1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (fsck_device): Print an error message if the user passes - in a device or directory name which isn't found in /etc/fstab. - Allow the location of /etc/fstab to be overridden by - the FSTAB_FILE environment variable. - -1999-01-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (write_inode_tables): Add kludge code so that when the - MKE2FS_SYNC environment variable is set, mke2fs will sync - every MKE2FS_SYNC block groups, while it is writing out - the inode tables. This is to work around a VM bug in the - 2.0 kernel. I've heard a report that a RAID user was able - to trigger it even using a 2.2 kernel. - -1999-01-16 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (execute, wait_one): Modified routines so that they - accurately create an fsck_instance even when the noexecute - flag is set. This allows for accurate debugging of the - fsck pass structure. - (check_all): When the verbose flag is given twice, print - debugging information about when fsck is waiting for jobs - to finish. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.8.in: Clarified and expanded the documentation for the -A - switch. - -1999-01-07 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (load_fs_info): If the pass number field is missing, it - needs to be treated as zero. - -1999-01-05 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (PRS): Add -N option to allow the user to specify - exactly how many inodes he/she wishes. - - * chattr.c, lsattr.c: Only print the version information for the - program if the -V option is given. - - * chattr.c: Ignore symbolic links when doing a recursive descent - through a directory. - -1999-01-01 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines - are commented out. Also allow blank lines in the - /etc/fstab file. - (execute): In verbose mode, print the mountpount of the - filesystem which we are checking (user request). - -1998-12-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for - compatibility with Linux 1.2.13 header files. - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-07 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.8.in: Fixed stupid typo ("Raid options are _comma_ - seperated", instead of common separated) - -1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-11-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of - relying on getmntent(). This has the advantage of - allowing us to properly handle missing pass numbers correctly. - -1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tune2fs.8.in: Fix minor display bug in the nroff. - - * mke2fs.c (show_stats, write_inode_tables): Use the log10 - function to calculate the display of block numbers so that - things look nice on an 80 character display. - -1998-10-12 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (usage): Add the sparse-super-flag to the usage - message. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-07-04 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * findsuper.c (main): Print the block group number which is now - being written by e2fsprogs. - -1998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (ignore): Remove unused variable cp. - - * chattr.c (fatal_error): - * tune2fs.c (usage): - * lsattr.c (usage): - * dumpe2fs.c (usage): - * badblocks.c (usage): Remove volatile from declaration. - - * fsck.c: Change use of strdup to be string_copy, since we don't - trust what glibc is doing with strdup. (Whatever it is, - it isn't pretty.) - -1998-06-19 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (PRS): Add a -V option which prints the version number - and exit. - -1998-05-14 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (ignore): Remove check for filesystems with the noauto - option. - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. Remove cat8dir and cat1dir from the installdirs - target, since modern man package don't necessarily put the - cat directory in /usr/man/cat?. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e2label.8.in: New man page to document the e2label function. - - * e2label.c: Fix -Wall warning by making functions static. - -1998-03-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * chattr.1.in: Document that the append-only attribute may - only be set or cleared by the superuser. - - * Update all manual pages to that the availability section is - up-to-date. - - * e2label.8.in, tune2fs.8.in: Update manual page to state that - labels must be no longer than 16 characters, or they will - be truncated. - - * e2label.c (change_label), tune2fs.c (main): If the label is - longer than 16 characters, print a warning message stating - that the label will be truncated. - - * mke2fs.c (PRS): If the user specifies a filesystem size, and - it's larger than the apparent size of the device, print a - warning message and ask if the user wants to proceed. - -1998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (check_plausibility): Fixed spelling typo in warning - message. Fixed up -Wall warnings in file. - -Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an - int. - -Sun Feb 1 16:53:36 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.8: Update documentation to note that output format - of badblocks is suitable for use with e2fsck -l or - mke2fs -l. - - * mke2fs.c (handle_bad_blocks): Fix bug so that all groups with - bad superblock backup blocks are printed (not just the - first one). - -Mon Dec 1 17:01:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.8.in: Add documentation for the -s option. - -Fri Oct 24 23:37:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c: - * chattr.c: Remove #include of getopt.h, since it's not needed. - - * tune2fs.c (main): - * lsattr.c (main): - * badblocks.c (main): - * dumpe2fs.c (main): - * mke2fs.c (PRS): Make the variable which getopt returns into be - an int, so that it won't lose on platforms where char is - unsigned. - -Fri Oct 3 13:38:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (parse_raid_opts): Make parse_raid_opts return a void, - to fix a -Wall warning. - -Mon Sep 15 22:07:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tune2fs.c (main): - * mklost+found.c (main): - * lsattr.c (main): - * dumpe2fs.c (main): - * chattr.c (main): - * badblocks.c (main): Declare main to return an int, as required. - Make sure main always ends with an exit(0). (Some - programs weren't doing this, and thus were returning a - random exit value.) - -Mon Jul 14 15:27:29 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * e2label.c: New file contributed by Andries Brouwer which - provides an easy-to-use interface to modify the filesystem - label. - - * Makefile.in (SPROGS): Add Makefile support to build e2label - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Mon Jun 16 23:37:54 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (show_stats): Adjust the number of columns printed when - displaying the superblock backups to avoid running over - 80 columns when making a really big disk. - -Thu May 8 22:22:08 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.8.in, chattr.1.in, dumpe2fs.8.in, fsck.8.in, - mke2fs.8.in, tune2fs.8.in: Fix minor typos and grammer - oops found by Bill Hawes (whawes@star.net). - - * mke2fs.c (test_disk): Pass the blocksize to the bad blocks - command so that all of the filesystem gets tested in the - case where the blocksize 2048 or 4096. - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 24 09:52:47 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * mke2fs.c: Added new option -R, which specifies RAID options. - Currently the only supported RAID option is "stride" which - specifies the stripe width in RAID filesystem. This is - used to aid in the placement of the inode and block - bitmaps. - - * mke2fs.8.in, tune2fs.8.in: Added warnings that the sparse - superblock option isn't yet supported by most kernels. - -Wed Apr 23 22:42:51 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * mke2fs.c (PRS): Make the default filesystem revision be 0, not - 1. (Since some people are still worried about 1.2.13 - compatibility). - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:57:24 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * chattr.1.in: Updated man page so that the 'A' attribute is - specified everywhere. - - * chattr.c (usage): Added usage message for the 'A' attribute. - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Thu Apr 10 07:08:03 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * dumpe2fs.c (list_desc): List the offsets of the inode and block - bitmaps, and the inode table. List the block boundaries - for the groups. - -Sat Apr 5 11:55:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tune2fs.c (main): Implement the -s flag allows the user to - set and reset the sparse superblock flag. - - * mke2fs.c (PRS): By default generate DYNAMIC revision - filesystems. The -s flag controls whether or not the - sparse superblock flag is set. - (PRS): Change to allow the user to specify the true - maximum number of blocks per group to reflect the - blocksize. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Thu Mar 6 17:15:05 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (create_root_dir): Set the root directory's i_uid and - i_gid to be the real user and group id. - -Tue Mar 4 10:14:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (check_plausibility): Add more intelligent error - messages when the device doesn't exist. - -Sat Mar 1 10:43:32 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * fsck.c (main): Fix bug where the PATH environment variable isn't - set when it is unset. - -Tue Jan 14 12:30:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (write_inode_tables): Fixed bug in write_inode_tables - where a loop variable was getting reused in a nested loop. - This caused the inode table to not be correctly - initialized. - -Thu Jan 2 00:00:37 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * lsattr.c, chattr.c: Include string.h, since we use memcpy(). - - * findsuper.c: Use time_t for ctime(), not __u32. - -Sat Dec 28 23:39:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * badblocks.c: Adapted -vv modifications from Rik Faith so that - they frequently update the block number field. - - * badblocks.8.in: Document the optional start-block parameter - -Mon Oct 14 11:52:58 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c: Updated to use new ext2fs_allocate_tables() function. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Mon Oct 7 00:56:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * chattr.1.in: Documented the 'A' (noatime) attribute. - - * dumpe2fs.c (main): Change EXT2_SWAP to EXT2_FLAG_SWAP for - consistency's sake. - -Sun Sep 22 16:18:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * chattr.c (decode_arg): Add support for the 'A' (noatime) flag. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Sat Sep 7 07:34:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tune2fs.c (main): Add support for new option -C, which sets the - current number of mounts. - (main): Allow the interval to be specified in seconds, - mostly for debugging. - -Tue Aug 27 17:27:43 1996 Miles Bader <miles@gnu.ai.mit.edu> - - * Makefile.in (SMANPAGES): Use @FSCK_MAN@ instead of fsck.8. - (SPROGS): Use @FSCK_PROG@ instead of fsck. - -Thu Aug 22 00:51:44 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * mke2fs.c (zap_bootblock): Don't do zap_bootblock on a - sparc. - -Tue Aug 20 00:15:46 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * chattr.c (main): Fixed bug so that chattr -v works. (Bug report - and fix sent by Charles Howes, chowes@eznet.ca) - -Fri Aug 9 11:52:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * tune2fs.8.in: - * tune2fs.c: Added support for the -L option which sets the volume - label, the -M option which sets the last mounted - directory, and the -U option which sets the filesystem UUID. - - * mke2fs.8.in: - * mke2fs.c: Added support for the -o option, which overrides the - creator OS. Generate a UUID for the filesystem, if - applicable. Added support for the -L option which sets - the volume label, and the -M option which sets the last - mounted directory. - -Sat Jun 22 17:43:17 1996 Remy Card <card@bbj.linux.eu.org> - - * chattr.c (decode_arg): Integrated Michael Nonweiler's fix to - avoid a segmentation fault when the "-v" option is used - and no version number is specified. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed May 15 21:15:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (fsck): fsck doesn't need to be linked with the ext2 - libraries. - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Thu Mar 7 03:43:20 1996 <tytso@rsts-11.mit.edu> - - * mke2fs.c (PRS): Add (for development only) support to - specify revision and inode size of the new filesystem. - -Tue Mar 5 03:51:35 1996 <tytso@rsts-11.mit.edu> - - * mke2fs.8.in: Fix a few minor typo's in the man page. - - * mke2fs.c (reserve_inodes): Add support for dynamic first inode - revision. - -Mon Feb 5 22:19:49 1996 <tytso@rsts-11.mit.edu> - - * fsck.c (check_all, PRS): Added new flag -P, which turns on the - parallel root option. This allows you to check the root - filesystem in parallel with the other filesystems. Note - that this is not the safest thing in the world to do, - since if the root filesystem is in doubt things like - the e2fsck executable might be corrupted! But some - sysadmins, who don't want to repartition the root - filesystem to be small and compact, may really want this - option turned on. - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Tue Oct 30 21:14:12 1995 <tytso@rsts-11.mit.edu> - - * mke2fs.c (check_plausibility): Add check to warn user if they - are trying to mke2fs the whole disk. (/dev/hda - vs. /dev/hda1) - -Fri Dec 15 19:09:56 1995 <tytso@rsts-11.mit.edu> - - * fsck.c (check_all): If we break out of the loop because we are - serializing and have just started at fsck we haven't - finished the pass. We need to go round again in case there - are more filesystems to be done in this pass. (Patch - submitted by Mike Jagdis) - -Sat Dec 9 10:07:16 1995 <tytso@rsts-11.mit.edu> - - * dumpe2fs.c (in_use): test_bit() was renamed to - ext2fs_test_bit(). - -Mon Oct 30 20:21:18 1995 <tytso@rsts-11.mit.edu> - - * fsck.c (fsck_device): Check fstype instead of type; this was a - stupid typo which caused coredumps in some cases. - -Thu Oct 26 12:05:18 1995 <tytso@rsts-11.mit.edu> - - * Makefile.in (install): Strip programs when they are installed. - -Fri Aug 18 15:10:40 1995 Theodore Y. Ts'o <tytso@dcl> - - * mke2fs.c (PRS): Move call of check_mount() from main() to PRS(), - so we do the check to see if the filesystem is mounted - *before* we try to determine the size of the device. - -Wed Sep 6 23:34:07 1995 Remy Card <card@bbj> - - * fsck.c (load_fs_info): Load the informations from /etc/fstab in - the same order. - -Thu Aug 17 22:33:09 1995 <tytso@rsts-11.mit.edu> - - * mke2fs.c (check_mount): Use the new ext2fs_check_if_mounted() - function to determine if the device is mounted. - - * mke2fs.c (PRS): Change call to use the new - ext2fs_get_device_size() function in order to determine - the size of the filesystem. Remove get_size() and - is_valid_offset(), which are no longer called. - -Fri Aug 11 08:26:24 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * fsck.c (fsck_device): Make sure fstype has been set by the user - and that it does not begin with "no" and the user has - specified exactly one type before using it as the type to - check. - -Fri Aug 11 14:17:18 1995 Remy Card <card@bbj> - - * badblocks.8: - * chattr.1: - * dumpe2fs.8: - * fsck.8: - * lsattr.1: - * mke2fs.8: - * mklost+found.8: - * tune2fs.8: Updated date and version number. - -Thu Aug 10 14:18:36 1995 Remy Card <card@bbj> - - * tune2fs.c: Fixed a bug which prevented the use of user and group - names with the -g and -u options. Thanks to Jean Christophe - ANDRE <progfou@mycrob.cafard.freenix.fr>. - - * mke2fs.8: - * tune2fs.8: Fixed a spelling error in Ted's name :-) - -Wed Aug 9 20:41:54 1995 Theodore Y. Ts'o <tytso@dcl> - - * mke2fs.c (count_blocks): Divide the size by - EXT2_BLOCK_SIZE(¶m), instead of assuming that the - blocksize is always 1024 bytes. - -Sat Aug 5 12:00:51 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * mke2fs.c (PRS): Use malloc() instead of alloca() --- alloca() is - not portable!! In any case putenv() in some systems must - take a static character array or malloc()'ed memory; - passing memory allocated using alloca() to putenv() is not - advisable. - - * chattr.c (chattr_dir_proc): - * lsattr.c (lsattr_dir_proc): Use malloc() instead of alloca() --- - alloca is not portable! - - * fsck.c (fsck_device): If the filesystem type is specified by the - user using the -t option, let it override the type in - /etc/fstab. - - * fsck.c (strdup): Don't build strdup() if the system defines it. - -Mon Jun 12 19:15:10 1995 Theodore Y. Ts'o (tytso@dcl) - - * chattr.c, lsattr.c: Include <sys/types.h> for <dirent.h>'s - benefit. - - * The $(UPROGS) go in bin, not sbin. - - * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c, - tune2fs.c: Don't include <getopt.h> if it doesn't exist. - -Mon Jun 12 16:36:04 1995 Theodore Y. Ts'o <tytso@dcl> - - * badblocks.c, chattr.c, dumpe2fs.c, fsck.c, lsattr.c, mke2fs.c, - tune2fs.c: Only include getopt.h if HAVE_GETOPT_H is defined. - -Sat Jun 10 23:37:09 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * chattr.c: Include errno.h, since we use errno - - * fsck.c (load_fs_info): If HAVE_MNTENT_H is not defined, - explicitly initialize filesys_info to be NULL. - - * mke2fs.c: Include the stdio.h and errno.h header files - -Thu Jun 8 13:25:23 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> - - * mke2fs.c: Only include <linux/fs.h> if we can. - (get_size): Don't try to use the BLKGETSIZE ioctl unless it's defined. - (check_mount): Only check to see if the device is mounted if - HAVE_MNTENT_H is defined (by configure). - - * fsck.c (load_fs_info): Only try to get info about filesystems if - HAVE_MNTENT_H is defined (by configure). - (main): Allocate space for a new fsck_path instead of append to a - statically sized buffer. - (PRS): Use alloca to allocate the new path string, instead of - having a fixed size buffer (which was the wrong size anyway). - - * chattr.c (chattr_dir_proc): Use alloca to allocate space for a - filename instead of using a fixed-size buffer. - * lsattr.c (lsattr_dir_proc): Ditto. - * mklost+fond.c (main): Calculate the actual needed size for the - path buffer instead of using MAXPATHLEN (which not all systems have). - - * badblocks.c: Only include linux include files if we have them. - (flush_bufs): New function to flush a block device, optionally - syncing it first. This replaces other copies of this code. - (test_ro): Replace calls to ioctl with flush_bufs(). - (test_rw): Ditto. - - * Makefile.in: Rewritten to conform to GNU coding standards and - support separate compilation directories. - -Sat Mar 11 10:59:58 1995 Theodore Y. Ts'o <tytso@localhost> - - * mke2fs.c (main, zap_bootblock): Added new function - zap_bootblock() which clears the first 512 bytes of the - filesystem. This protects the filesystem from being - misidentified as a MS-DOS FAT filesystem. - - * badblocks.c (alarm_intr, test_ro, test_rw): Increase the space - allocated for printing the block numbers, so that the - display doesn't get corrupted when running badblocks on a - very large partition. - - * badblocks.c (do_test, test_ro, test_rw): Added missing cast to - ext2_loff_t, so that when checking a large device, - spurious seek errors aren't reported. - - * mke2fs.c (count_blocks): Declare mid to be of type ext2_loff_t - instead of type int, so that it works for filesystems - greater than 2 GB. (Fortunately count_blocks is only - called if the device does not support the BLKGETSIZE - ioctl, which most do.) - - * fsck.c (ignore): Add check to ignore filesystems with a pass - number of zero. (This check was accidentally deleted at - during 0.5b development.) - -Sat Dec 31 00:47:16 1994 <tytso@rsx-11.mit.edu> - - * mke2fs.c (new_table_block, alloc_tables, PRS, main): Add a new - option, -S, which only writes the superblock and group - descriptors. Useful for recovering when all of the - superblocks are corrupted somehow (as a last ditch - measure). - - Also, don't bother initializing the bitmap blocks in - alloc_tables(), since they will be overwritten at the end - anyway. (Should speed up mke2fs by a little.) - -Tue Dec 6 02:20:55 1994 <tytso@rsx-11.mit.edu> - - * fsck.c (main): Fix stupid typo where a null inst would be freed. - - * fsck.c (wait_one): Check WIFEXITED on status before trying to - extract the exit status. In other cases, return - FSCK_ERROR if the back end processor exited with a signal. - -Tue Nov 15 10:20:00 1994 Remy Card <card@bbj> - - * tune2fs.c (main): Fixed a bug which prevented the use of the - new options. - Added the `w' (week) suffix recognition in the check interval. - -Sun Nov 13 15:58:48 1994 (tytso@rsx-11) - - * fsck.c (load_fs_info): If the user has an obviously old - /etc/fstab file, issue a warning message and assume that - all partitions should be checked. - -Sat Nov 12 00:33:18 1994 (tytso@rsx-11) - - * dumpe2fs.c (list_desc): Update to new inode and block bitmap - structures. - - * mke2fs.c (create_root_dir): Create the root directory owned by - the effective uid. - -Mon Nov 7 22:04:37 1994 Remy Card <card@bbj> - - * tune2fs.c (main.c): Added support for new options: - -r reserved_blocks_count, -g reserved_gid, -u reserved_uid. - -Sun Aug 21 00:57:33 1994 Theodore Y. Ts'o (tytso@rt-11) - - * fsck.c (ignore): If the pass number is 0, ignore the filesystem. - -Wed Aug 17 21:55:03 1994 Remy Card (card@bbj) - - * badblocks.c (test_rw): Added verbose output like in the - read-only test. - - (do_test and test_rw): Use the llseek system call if available. - - * chattr.c: Added support for new attributes. - - * lsattr.c: Added support for long format. - - * mke2fs.c (usage): Fixed bogus usage message. - - (valid_offset): Use the llseek system call if available. - -Wed Aug 17 10:50:57 1994 Theodore Y. Ts'o (tytso@rt-11) - - * mke2fs.c (handle_bad_blocks): Check to see if a bad block is - where a backup superblock/group descriptor is stored. If so, - print a warning message and adjust the superblock counts so that - they are correct. (Otherwise, the bad block will get counted - twice and the # of free blocks count will be wrong.) - - (alloc_tables): Removed code which calcualated the free block - statistics, which was moved to lib/ext2fs/initialize.c. This - allows the bad block code to adjust the group descriptor - statistics if necessary. diff --git a/po/ChangeLog b/po/ChangeLog deleted file mode 100644 index 9a314e62..00000000 --- a/po/ChangeLog +++ /dev/null @@ -1,227 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * Makefile.in.in: Add datarootdir definition for compatibility - with autoconf 2.60. - -2006-09-13 Theodore Tso <tytso@mit.edu> - - * Update French and Dutch translations - -2006-08-19 Theodore Tso <tytso@mit.edu> - - * LI?NGUAS, vi.po, vi.gmo: Add Vietnamese translation - -2006-04-09 Theodore Ts'o <tytso@mit.edu> - - * Update French, Dutch, Polish, Swedish, and Turkish translations. - -2006-03-29 Theodore Ts'o <tytso@mit.edu> - - * e2fsprogs.pot: Update template file. - - * fr.po: Update French translation file. (Addresses Debian Bugs: - #341911, #300871, #316604, #316782, #330789) - -2006-01-06 Theodore Ts'o <tytso@mit.edu> - - * Update Dutch, Polish, and Swedish translations. (Addresses - Debian Bug: #343149) - -2005-12-09 Theodore Ts'o <tytso@mit.edu> - - * Update Dutch translation file - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-26 Theodore Ts'o <tytso@mit.edu> - - * Update French, Dutch, Polish, Swedish, and Turkish translations. - -2005-06-19 Theodore Ts'o <tytso@mit.edu> - - * POTFILES.in: remove the findsuper and partinfo programs, as they - are not installed anywhere (and shouldn't be). - - * at-expand.pl: Add an explanation of how the @-expansion and - %-expansion works in e2fsck/problem.c as part of the - "translator help". - - * Makefile.in.in: Update e2fsprogs.pot if at-expand.pl has changed. - - * fr.po: Update Franch translation - -2005-06-05 Theodore Ts'o <tytso@mit.edu> - - * nl.po: Add Dutch translation - -2005-05-09 Theodore Ts'o <tytso@mit.edu> - - * rw.po: Add Rwandan translation - - * sv.po: Update Swedish translation. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-04 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in.in: Only update the gmo files if maintainer mode is - enabled. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Update to gettext version 0.14.1 - - * Makefile.in.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-11-09 Theodore Ts'o <tytso@mit.edu> - - * it.po: Updated Italian translation. - -2004-09-20 Theodore Ts'o <tytso@mit.edu> - - * fr.po: Updated French translation. - -2004-05-04 Theodore Ts'o <tytso@mit.edu> - - * de.po: Minor updates to translation file, courtesy of Florian - Ernst (Addresses Debian bug #244105). - -2004-04-11 Theodore Ts'o <tytso@mit.edu> - - * fr.po: Added new French translation - -2004-03-20 Theodore Ts'o <tytso@mit.edu> - - * pl.po, sv.po, tr.po: Update Polish, Swedish, and Turkish - translations. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * cs.po: Fix mangled encoding in Czech locale file. (Addresses - Debian bug #214633) - -2003-11-21 Theodore Ts'o <tytso@mit.edu> - - * pl.po: Added new Polish translation. - - * sv.po: Updated Swedish translation - - * de.po: Fixed and updated German translations from Marc Langer. - (Addresses Debian bug #200086) - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * LINGUAS, sv.po: Added Swedish translation from Göran Uddeborg - <goeran@uddeborg.se> - -2003-05-17 Theodore Ts'o <tytso@mit.edu> - - * LINGUAS, de-utf.po: Remove de-utf.po; de.po is newer, and we - shouldn't have two versions using different charset - encodings anyway. - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * LINGUAS, cs.po: Add Czech translation file - -2003-05-03 gettextize <bug-gnu-gettext@gnu.org> - - * Makefile.in.in: Upgrade to gettext-0.11.5. - * Rules-quot: New file, from gettext-0.11.5. - * boldquot.sed: New file, from gettext-0.11.5. - * en@boldquot.header: New file, from gettext-0.11.5. - * en@quot.header: New file, from gettext-0.11.5. - * insert-header.sin: New file, from gettext-0.11.5. - * quot.sed: New file, from gettext-0.11.5. - * remove-potcdate.sin: New file, from gettext-0.11.5. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-26 Theodore Ts'o <tytso@mit.edu> - - * tr.po: Update from nilgun@superonline.com. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2000-12-08 <tytso@snap.thunk.org> - - * Makefile.in.in: Fix so that top-level "make check" works - correctly. - diff --git a/resize/ChangeLog b/resize/ChangeLog deleted file mode 100644 index 601fb1bb..00000000 --- a/resize/ChangeLog +++ /dev/null @@ -1,702 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-12 Theodore Tso <tytso@mit.edu> - - * resize2fs.c (resize_fs): Clear the EXT2_FLAG_MASTER_SB_ONLY flag - to make sure the superblock changes are written out to the - backup superblocks. - -2007-05-22 Theodore Tso <tytso@mit.edu> - - * sim_progress.c (ext2fs_progress_init): Fix type-punning warning. - - * resize2fs.h: #include the e2p.h header file to get the function - prototypes. - - * resize2fs.c (adjust_fs_info): Declare new_inodes as an unsigned - long long to avoid gcc -Wall complaints on 64-bit - platforms. - (adjust_fs_info): Fix signed vs unsigned complaint. - - * online.c (online_resize_fs): Mark flags parameter as unused. - Make new_desc_blocks be an unsigned long to fix signed - vs. unsigned comparsions, and fix up the printf format - - * main.c (main): Fix signed vs. unsigned comparison - -2007-05-18 Theodore Tso <tytso@mit.edu> - - * main.c (determine_fs_stride): Use the superblock s_raid_stride - if it is set; save the hueristically determined stride to - the superblock if it is not set. - -2007-03-18 Theodore Tso <tytso@mit.edu> - - * resize2fs.c (check_and_change_inodes): Check to make sure the - inode write was sucessful. - -2006-12-22 Theodore Tso <tytso@mit.edu> - - * main.c (main): Use the new {add,remove}_error_table comerr - interfaces instead of initialize_*_error_table. - -2006-10-01 Theodore Tso <tytso@mit.edu> - - * online.c (online_resize_fs): Check to make sure the filesystem - has a resize inode if it is needed to grow the filesystem. - Print the correct error message if the kernel returns an - ENOTTY error to the group extend ioctl. - (Addresses Debian bug #380548) - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * online.c (online_resize_fs): use div_ceil for r_frac calculation. - * resize2fs.c (adjust_fs_info): avoid overflow in blk calculation - when figuring new reserved blocks count. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * resize2fs.c (adjust_fs_info): Disallow > 2^32 indoes at resize time. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * online.c (online_resize_fs): Fix printf formats. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * resize2fs.c (mark_table_blocks): Remove unused variable. - -2006-08-30 Theodore Tso <tytso@mit.edu> - - * resize2fs.c (adjust_fs_info), online.c (online_resize_fs): Use - e2p_percent to properly calculate the number of reserved - blocks without worrying about overflow. - - * resize2fs.c (ext2fs_calculate_summary_stats): Fix potential - overflow problems when the number of blocks is close to - 2**31. - - * resize2fs.c (adjust_fs_info): Use ext2fs_div_ceil() instead of a - using an open-coded expression which was subject to - overflows. - -2006-05-22 Theodore Tso <tytso@mit.edu> - - * resize2fs.8.in: Fixed spelling mistake (Addresses Debian Bug: - #368393) - -2006-05-21 Theodore Tso <tytso@mit.edu> - - * resize2fs.8.in: Clarify man page to indicate that supports ext2 - and ext3 filesystems, and add reference to LVM. - (Addresses Debian Bug: #368179) - -2006-05-14 Theodore Tso <tytso@mit.edu> - - * main.c (main, determine_fs_stride), resize2fs.8.in: Add a new - option (-S) to resize2fs which allows the user to specify - the RAID stride parameter to be used on new block groups. - In addition, add code so that resize2fs can automatically - determine the RAID stride parameter that had been - previously used on the filesystem. - -2006-03-18 Theodore Ts'o <tytso@mit.edu> - - * main.c, resize2fs.c: Change printf statements to use %u instead - of %d when printing block numbers. - - * main.c (main): If the filesystem is mounted, open it in - read-only mode since the userspace program should not try - to modify it directly. If the filesystem is not mounted, - open it in exclusive mode to avoid potential problems - (such as someone trying to mount the filesystem while it - is being resized). - -2006-03-17 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.8.in: Update manpage to document that that resize2fs - can expand a mounted filesystem. - - * online.c (online_resize_fs): New file which contains the on-line - resizing code. - - * main.c (main): If the filesystem to be resized is already - mounted, determine the mountpoint, and call online_resize_fs(). - - * resize2fs.c (adjust_fs_info, adjust_superblock): Factor out code - which only adjusts the in-memory data structures from the - code which writes to the disk, since the former can be - used by the on-line resizing code. - - * resize2fs.h: Add function prototypes for online_resize_fs() and - adjust_fs_info(). - - * Makefile.in (RESIZE_OBJS): Add online.o to list of files to be built. - -2005-12-29 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (mark_table_blocks): Remove unused variables to - clean up gcc -Wall complaints. - - * main.c (main): If the filesystem being resized is a regular - file, truncate or expand the file to match the new - filesystem size. (Addresses Debian Bug: #271607) - -2005-08-08 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (move_itables): Fix fencepost error caught by valgrind. - (adjust_superblock): Clear the newly allocated descriptor - blocks when we allocate them to avoid false positives from - valgrind (and so that the unusued descriptors at the tail - end of the newly allocated descriptor blocks are zero'ed - out, include of random garbage). - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-05-09 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (fix_resize_inode): Don't bother to translate - debugging printf's. - - * main.c: Fix case on usage message, and remove _() from messages - from a version string that doesn't need translation. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-01-26 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c: Fix bug where we don't release the blocks belonging - to the old inode table blocks when we move the inode - table. (Addresses Debian Bug: #290894) - -2005-01-05 Theodore Ts'o <tytso@mit.edu> - - * main.c (main): Use parse_num_blocks() from the e2p library to - parse the number of blocks from the command line. - -2004-12-16 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (resize_fs): Call ext2fs_create_resize_inode to - fill in the necessary fields in the resize inode. - (adjust_superblock): Reserve blocks that are needed for - on-line resizing if that feature is enabled. - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Move strip command to install-strip target. - Use Linux-kernel-style makefile output for "make install" - - * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * main.c: If there is a question mark in the device name, - separate out the options to the IO layer, and pass it on - to ext2fs_open2(). - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (check_and_change_inodes): Fix debugging printf to - mask off the high 256 bits of dirent->name_len (which is - where the file type information is stored). (Addresses - Debian Bug #271605) - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Update the modtime even if subst doesn't need to - update the resize2fs man page, to avoid always re-running - subst, especially since there are no dependencies on the - man page. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * main.c, resize2fs.c: Fix gcc -Wall nitpicks. - -2003-08-24 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.8.in: Adjust description line so that apropos - "ext2" or "ext3" will find the man page. (Addresses - Debian Bug #206845) - -2003-08-01 Philipp Thomas <pthomas@suse.de> - - * extent.c, resize2fs.c, sim_progress.c: ext2fs_getmem(), - ext2fs_free_mem(), and ext2fs_resize_mem() all now take a - 'void *' instead of a 'void **' in order to avoid pointer - aliasing problems with GCC 3.x. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-07-08 Theodore Ts'o <tytso@mit.edu> - - * main.c (main): Round the default size of the filesystem to be an - even multiple of the pagesize to work around a potential - Linux kernel bug. - -2003-06-24 <tytso@snap.thunk.org> - - * resize2fs.c (block_mover): Don't move blocks associated with the - bad blocks inode. Instead, just remove them from the - badblocks list. (Note this means that shrinking and then - enlarging a filesystem is not a reversible operation; - information about bad blocks in the part of the filesystem - which is to be chopped off is discarded.) - -2003-06-08 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.8.in: Make explicit that you need to run resize2fs - after using fdisk to adjust the partition size when - expanding the filesystem. (Addresses Debian Bug #195616) - -2003-05-13 root <tytso@mit.edu> - - * main.c (main): Add the ability to specify units to the size - parameter, and make the error and information messages - display explicitly the blocksize used by the filesystem, - to avoid confusion. (Addresses Debian bug: #189814) - -2003-05-03 Theodore Ts'o <tytso@mit.edu> - - * main.c (main): Add calls to setup functions for NLS support. - - * Makefile.in: Add $(LIBINTL) to the link line so we can support - using the internal gettext library. - - * resize2fs.h: Add #ifndef protection around LOCALEDIR definition. - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on - Darwin systems when building with shared libraries. - -2003-03-06 <tytso@mit.edu> - - * resize2fs.c (blocks_to_move): Bug fix; we were incorrectly - moving the block and inode bitmaps for sparse superblock - filesystems. (Address Debian bug #174766) - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (inode_scan_and_fix, check_and_change_inodes): When - moving an inode, set the ctime field so that people using - dump/restore will backup the changed inode. Also update - the mtime and ctime of directories which get updated when - we need to move an inode. - -2002-10-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (install): Search all compression extensions when - deleting old man pages. - - * resize2fs.c (adjust_superblock, mark_table_blocks, - blocks_to_move): Add support for resizing filesystems that - use the meta block group layout. - - * main.c (main): Fixed bug that erroneously (and - needlessly) checked the incompat feature flag field - against the supported ro_compat feature set. - -2002-10-03 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.8.in: Fix typo in man page. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-16 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (inode_scan_and_fix): Add code to move the extended - attribute block. - -2002-07-26 Theodore Ts'o <tytso@mit.edu> - - * resize2fs.c (block_mover): If there are no blocks to move, - release the bmap table. This significantly speeds up - resize2fs when shrinking or expanding a filesystem by a - very small number of blocks (which EVMS will do). - -2002-05-28 <tytso@mit.edu> - - * main.c (main): If the filesystem has errors or is not valid, - then require an e2fsck -f run be done on the filesystem - more. - -2002-04-09 <tytso@snap.thunk.org> - - * main.c (main): If resize_fs returns an error, don't print the - message stating that the filesystem was resized. - -2002-03-31 <tytso@mit.edu> - - * main.c (main): If we are resizing a plain file which is smaller - than the requested size, then we will attempt to - transparently extend the filesize in a sparse fashion by - writing a block at the end of the requested part of the - filesystem. - - * main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the - function prototype of resize_fs() so that it can modify - the new_size parameter with the actual new size of the - filesystem after the resize operation. (This can - sometimes be less than the requested new size if there - isn't enough space to create the necessary block group - metadata for that last bit of disk space.) Resize2fs now - prints the actual new size of the filesystem when it finishes. - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 Theodore Tso <tytso@mit.edu> - - * resize2fs.c (process_block, inode_scan_and_fix, - check_and_change_inodes): Fix gcc -Wall complaints in - debug code. - - * Makefile.in (check): Use LD_LIBRARY_PATH to run test programs. - (From Philipp Thomas <pthomas@suse.de>) - -2002-02-24 Theodore Tso <tytso@mit.edu> - - * Makefile.in (install): Remove any compressed man pages before - installing the man pages. - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h - -2001-01-11 <tytso@snap.thunk.org> - - * main.c (main): Use ext2fs_sync_device() instead of calling the - BLKFLSBUF ioctl directly. - - * extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t. - -2001-01-01 <tytso@snap.thunk.org> - - * main.c (main): Replace use of struct ext2fs_sb with struct - ext2_super_block. - -2000-12-08 <tytso@snap.thunk.org> - - * Makefile.in: Fix so that top-level "make check" works correctly. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-05 <tytso@snap.thunk.org> - - * Makefile.in (install): Install resize2fs in /sbin, not /usr/sbin. - -2000-06-12 Theodore Ts'o <tytso@valinux.com> - - * main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support. - -2000-04-06 Theodore Ts'o <tytso@valinux.com> - - * Update copyright of files in preparation for release of - resize2fs. Also removed the (obsolete) beta-test check - that had been in the code, as well as the old spec files - used to package the separate distribution of resize2fs. - - * Makefile.in: No longer build resize2fs.static, since there's no - real point in it any more. - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * main.c: For platforms that don't define optarg.h, manually - define optarg and optind. - -2000-02-02 Theodore Ts'o <tytso@valinux.com> - - * resize2fs.h: Remove unneeded #include of linux/fs.h - - * main.c: Fix gcc -Wall bug. main() should return an int. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-03 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Updated dependencies. - -1998-09-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * main.c (main): Print a feedback message stating the new size of - the filesystem when we're through. - -1998-09-02 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c: Rename max to max_groups and max_dirs to avoid - possible conflicts with a cpp macro named "max". - -1998-07-26 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.h: Protect include of unistd.h with HAVE_UNISTD_H. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-10 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c (process_block): Change blkcnt_t to be e2_blkcnt_t - to avoid collision with LFS API. - -1998-04-28 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * extent.c (ext2fs_create_extent_table): Use ext2fs_free_mem - instead of free(). - (extent_cmp): Use EXT2_QSORT_TYPE to define the appropriate - return type for comparison functions for qsort. - -1998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c (adjust_superblock): - * extent.c (ext2fs_add_extent_entry): Update functions to - pass the old size of the memory to be resized to - ext2fs_resize_mem(). - -1998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change to use new installation directory variables - convention. Fix uninstall rules to take $(DESTDIR) into - account. Remove cat8dir from the installdirs target, - since modern man package don't necessarily put the cat - directory in /usr/man/cat?. - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * extent.c (extent_cmp): Add const to cast to prevent -Wall warning. - - * main.c (check_mount): Rename function argument to prevent -Wall - warning. - -1998-03-24 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * main.c (main): Check to make sure we can really resize this - filesystem. If there are compatible feature sets that we - don't support, we need to abort. - - * resize2fs.c: Change to use the new prototype required by - block_iterate2 (which uses blkcnt_t for the blockcount). - -1998-03-20 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c (inode_scan_and_fix): If we are expanding the - filesystem, temporarily set - rfs->old_fs->super->s_blocks_count to ultimate size of the - filesystem, to avoid catching an error on the block - iterator. - -Mon Mar 9 12:02:47 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * main.c: Use a local version.h file. - -Sat Mar 7 18:18:04 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Change the name of the complete source file that we - built (that includes resize2fs) to be - e2fsprogs-ALL-<version>.tar.gz. Don't link with libuuid, - since it's not needed. - - * main.c (main): Add copyright notice. - - * resize2fs.c (blocks_to_move): Create the meta_bmap using the old - filesystem, not the new filesystem. - (get_new_block): Don't try checking the old block bitmap - if the block we're testing is beyond the boundaries of the - old filesystem. - -Fri Feb 27 01:02:50 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Add rule to build a static version of resize2fs. - Update dependency rules. - - * main.c: #include ../version.h, instead of using a hard-coded - version string. - -Tue Feb 24 15:22:52 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Change the progress function to return an errcode_t; this allows - the progress function to return a error indicating a - user-requested cancel. - -1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu> - - * main.c (check_mount, main): Resize2fs now checks the size of the - partition, and uses this as a default new_size of the - partition if one is not specified. Resize2fs will not let - you resize a mounted partition. - - * resize2fs.c: Change how the progress function for the INODE_SCAN - pass is performed, so that the maximum size is never zero. - - * resize2fs.8.in: Updated man page. - -Mon Feb 16 17:13:01 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c, resize2fs.h, main.c, ext2_block_move.c, - ext2_inode_move.c: Major reoganization of how resizing - works. Functions in ext2_block_move.c, and - ext2_inode_move.c moved into resize2fs.c. Multiple passes - in those two files also combined into a single inode - scanning pass. Made the inode table moving function - better handling the case where it needs to abort - mid-operation. When moving blocks around, made the block - allocation function preferentially avoid the old group - descriptor blocks, to make resize2fs more robust. - -Fri Feb 13 17:15:43 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c, - main.c: Reorganize how the progress functions are called. - -Mon Jan 19 09:12:28 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.h: If EXT2_FLAT_INCLUDES is defined, then assume all - of the ext2-specific header files are in a flat directory. - - * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, - resize2fs.h: Rename variables named "new" to "new_block", - "new_inode", or "new_loc" to avoid C++ reserved word - clash. - - * ext2_block_move.c, ext2_inode_move.c, extent.c, resize2fs.c, - sim_progress.c: Use ext2fs_get_memory(), - ext2fs_free_memory(), et. al., instead of malloc() and - free(). - - * ext2_block_move.c, ext2_inode_move.c, extent.c: Explicitly cast - all assignments from void * to be compatible with C++. - -Mon Dec 29 19:09:45 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * banalysis.c, banalysis.h, ext2_inode_move.c, ext2_block_move.c: - Change private to priv_data to avoid C++ namespace clash. - -Mon Nov 3 14:45:06 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.h: Remove STDC magic, since everyone is STDC these days. - - * resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include - printf statements if RESIZE2FS_DEBUG is defined. - - * main.c: Don't read in the bitmaps since resize2fs.c does that. - -Sun Oct 19 20:40:42 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * resize2fs.h: Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H. - -Wed Sep 3 17:31:49 1997 Theodore Y. Ts'o <tytso@edt.mit.edu> - - * resize2fs.h: Add #include for errno.h - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - diff --git a/tests/ChangeLog b/tests/ChangeLog deleted file mode 100644 index 1316fae7..00000000 --- a/tests/ChangeLog +++ /dev/null @@ -1,851 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-06-21 Theodore Tso <tytso@mit.edu> - - * f_badjour_indblks: New test case which checks if a corrupted - indirect block in the journal inode will get caught. - -2007-04-10 Theodore Tso <tytso@mit.edu> - - * f_dup4: New test cases which tests a bugfix in e2fsck where if an - inode which has blocks claimed by other inodes has - multiple hard links, e2fsck could fail to collect the - directory information for all of the inodes with multiply - claimed blocks. - -2007-04-07 Theodore Tso <tytso@mit.edu> - - * test_script.in: Skip completely empty directories - -2007-04-01 Theodore Tso <tytso@mit.edu> - - * f_dir_bad_mode: New test case. - -2007-03-31 Theodore Tso <tytso@mit.edu> - - * f_orphan_dotdot_ft: New test case which checks to see what - happens when an orphaned directory's '..' entry points to - special device. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * f_extents: This test is currently skipped, but we are adding it - now so that the binary image file can be added into the - source tree, so that patch files can add extent support - without having to worry about manually adding a binary file - -2006-11-11 Theodore Tso <tytso@mit.edu> - - * filter_dumpe2fs: Filter out the filesystem flags field since it - will be different for filesystems created with unsigned - char types. - - * f_dup_de, f_h_badnode, f_h_badroot, f_h_reindex: Set the - directory hash bits so that these images are known to be - using the standard signed dirhash algorithm. - - * f_h_normal: Add an 8-bit filename so we can test to make sure the - directory hash is working correctly when using the signed - dirhash algorithm. - - * f_h_unsigned: New test to test calculating an unsigned directory - hash algorithm. - - * Makefile.in (check-failed): New target which automatically - re-runs any failed tests - - * f_badinode, f_bad_disconnected_inode: Update expect scripts to - show check for i_blocks_hi instead of i_frag and i_fsize. - -2006-08-30 Eric Sandeen <esandeen@redhat.com> - - * m_raid_opt/expect.1: - Change expected values for last group due to correctly - calculated last block when using strides. - -2006-08-06 Theodore Tso <tytso@mit.edu> - - * Makefile.in, test_config: If available, use unified diffs to - report test failures - -2006-05-28 Theodore Tso <tytso@mit.edu> - - * test_config: Unset all locale-related environment variables - since they might affect the test scripts - -2006-05-24 Theodore Tso <tytso@mit.edu> - - * d_lodadump, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt, - m_read_opt, m_std, r_move_itable, r_resize_inode: Update - expect files to reflect new mke2fs.conf defaults. - -2006-05-13 Theodore Tso <tytso@mit.edu> - - * m_raid_opt: Update expect files to match with new mke2fs layout - used when the stride raid option is specified. - -2006-03-23 Theodore Ts'o <tytso@mit.edu> - - * test_config: Set up MKE2FS_CONFIG to point at the mke2fs.conf - file in the source tree. - -2005-09-24 Theodore Ts'o <tytso@mit.edu> - - * f_dup_resize: Set the current time to in debugfs to a value - which avoids triggering the "s_mtime in the future" - warning from e2fsck. - -2005-08-08 Theodore Ts'o <tytso@mit.edu> - - * test_config, test_script.in, d_loaddump, f_dup_resize, - r_move_itable, r_resize_inode: Add the --valgrind option - to the tests/test_script which allows us to run the - e2fsprogs regression test suite under valgrind. - -2005-07-04 Theodore Ts'o <tytso@mit.edu> - - * f_bbfile, f_dup, f_dup2, f_dup3, f_dup_resize, f_dupfsblks, - f_dupsuper: Update expect files to remove period from the - Pass 1C header. - - * f_bad_disconnected_inode: New test case - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-06-16 Theodore Ts'o <tytso@mit.edu> - - * defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode, - f_swapfs, f_move_itable, f_resize_inode, test_config: - Allow the diff options to be set in test_config so that - diff -u can be used on platforms that have it. (To be - done: checking whether diff can support -u in the - configure script.) - -2005-04-14 Theodore Ts'o <tytso@mit.edu> - - * f_dup_resize: New test case - -2005-04-09 Theodore Ts'o <tytso@mit.edu> - - * test_script.in: Make the test script driver exit with a non-zero - status if there are any failed tests. - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * f_valid_ea_in_inode: New test case - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-02-05 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Remove emacs backup files on "make clean" - - * Makefile.in, f_h_badnode, f_dup_de, f_h_reindex, f_h_normal, - f_h_badroot: Remove support for --enable-htree-clear - -2005-01-28 Theodore Ts'o <tytso@mit.edu> - - * f_bad_inode, f_recnect_bad: Adjust test cases to take into - account the change which clears the i_file_acl field earlier. - -2005-01-27 Theodore Ts'o <tytso@mit.edu> - - * f_clear_xattr: New test case - -2005-01-25 Theodore Ts'o <tytso@mit.edu> - - * f_summary_counts: New test case - -2005-01-21 Theodore Ts'o <tytso@mit.edu> - - * r_resize_inode: Skip this test if resize2fs is not compiled (due - to configure's --disable-resizer option) - -2005-01-19 Theodore Ts'o <tytso@mit.edu> - - * r_resize_inode, m_dasd_bs, m_large_file, m_meta_bg, m_no_opt, - m_read_opt, m_std, run_mke2fs, filter_dumpe2fs: Make tests - portable so they pass correctly on a FreeBSD system. - -2005-01-17 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in, test_script.in: Use @EGREP@ instead of grep -E for - portability with Solaris systems. - -2005-01-13 Matthias Andree <matthias.andree@gmx.de> - - * f_dup_de, r_resize_inode: change ">& /dev/null" to ">/dev/null 2>&1" - for compatibility with FreeBSD. In $DEBUGFS commands, move the - -R arg argument first so that systems with non-GNU getopt() - can see the request argument (they would otherwise stop - parsing at the first non-option argument). - -2004-12-24 Theodore Ts'o <tytso@mit.edu> - - * f_resize_inode, r_resize_inode: New tests to e2fsck and - resize2fs, which exercise their resize_inode handling and - code. - - * test_config: Add support for calling debugfs from the testing - framework. - -2004-12-15 Theodore Ts'o <tytso@mit.edu> - - * m_meta_bg, m_no_opt, m_raid_opt: Adjust tests to take into - account the resize inode patch. - -2004-10-04 Richard Mortimer <richm@oldelvet.org.uk> - - * f_badjourblks: Add test case which tests a Journal with illegal - block numbers in both the journal inode and the superblock - inode backup. - -2004-09-17 Theodore Ts'o <tytso@mit.edu> - - * test_script.in: Remove XSI:isms for greater portability. - (Addresses Debian Bug #255589) - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-01-30 Theodore Ts'o <tytso@mit.edu> - - * f_selinux: Add test case which tests SE Linux generated symlinks - that contain extended attribute data. - -2003-12-12 Theodore Ts'o <tytso@mit.edu> - - * f_lpf2: New test case to validate reconnecting a directory after - creating /lost+found. - -2003-09-03 Theodore Ts'o <tytso@mit.edu> - - * m_meta_bg: New test case to test the meta block group feature. - - * m_raid_opt: New test case to test raid striping - - * run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to - the test output for comparison. Add support for - compressed expect scripts. - -2003-09-01 Theodore Ts'o <tytso@mit.edu> - - * f_dup_de: Remove spurious rm error messages when htree is - enabled - - * run_e2fsck, run_mke2fs: Add new support for mke2fs test cases. - - * m_dasd_bs, m_large_file, m_no_opt, m_std: New test cases - exercising mke2fs. - -2003-08-20 Theodore Ts'o <tytso@mit.edu> - - * f_bad_local_jnl, f_badorphan, f_h_badroot, f_h_reindex, - f_special_ea: Update tests to reflect that e2fsck will - backup the journal inode. - - * f_journal: Change test to include a backed up journal location - in the superblock, and then corrupt the inode table so the - journal inode is trashed. Make sure e2fsck can recover - from it. - -2003-08-01 Theodore Ts'o <tytso@mit.edu> - - * f_salveage_dir: Remove HTREE flag from the test image's - superblock. (It is not needed). - - * f_h_reindex: Skip this test of the htree is not enabled - - * f_dup_de: If htree is not enabled, clear the htree flag, and use - alternate expect scripts for the test. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-04-19 Theodore Ts'o <tytso@mit.edu> - - * test_config: Define DYLD_LIBRAY_PATH so that "make check" works on - Darwin systems when building with shared libraries. - -2003-04-05 Theodore Ts'o <tytso@mit.edu> - - * f_baddir, f_dup, f_dup2, f_end-bitmap, f_lpf: Update test cases - to deal with changes to automatically calculate and update - the global inode and block counts at the beginning of the - e2fsck run. - -2003-03-25 Theodore Ts'o <tytso@mit.edu> - - * f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to - remove the optimizing directories message. - -2003-03-15 Theodore Ts'o <tytso@mit.edu> - - * f_dup_de: Added test case provided from Debian bug report #176814 - -2003-03-06 Theodore Tso <tytso@mit.edu> - - * run_e2fsck, defaults/e_script: Solaris doesn't support "tr -d \r", - so use "tr -d \015" instead. - - * tests/f_swapfs/script: Avoid bash'ism; Solaris doesn't support - put a ! character in a "if ! cmd ; then .. fi" construct. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-11-08 <tytso@snap.thunk.org> - - * f_swapfs: Skip the test if swapfs has been disabled via the - configure switch --disable-swapfs. - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2002-09-30 Theodore Ts'o <tytso@mit.edu> - - * f_h_badroot, f_h_badnode: Update test cases to deal with - additional HTREE checks in e2fsck. - - * f_h_reindex, f_h_salvage_dir: New test cases. - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-08-17 Theodore Ts'o <tytso@mit.edu> - - * f_badinode, f_badroot, f_badsymlinks, f_badtable, f_dupdot, - f_filetype, f_illitable, f_imagic, f_imagic_fs, f_lpf, - f_lpffile, f_mke2fs2b, f_noroot, f_recnect_bad: Update - expect files to deal with changes in the extended - attribute block processing, and in how e2fsck updates - filesystem statistics when deleting files and creating - /lost+found. - - * f_special_ea: New test which checks to make sure e2fsck - correctly handles special device files with extended - attribute blocks. - -2002-08-01 Theodore Ts'o <tytso@mit.edu> - - * f_dup, f_dup2, f_dup3, f_bbfile, f_dupfsblks: Update expect - scripts to deal with ordering changes caused by use of a - red-block tree in pass1b. - -2002-07-19 Theodore Ts'o <tytso@mit.edu> - - * f_expand, f_h_badnode, f_h_badroot: Modify the expect scripts to - reflect the rebuild hash index directories. - -2002-06-26 Theodore Ts'o <tytso@mit.edu> - - * f_h_badroot: New test cases to test bogus HTREE node values - -2002-06-25 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in (test_script): Add pass in the state of - --enable-htree and --enable-clear-htree to the test - script. - - * f_h_normal, f_h_badnode: New test cases to test the htree - directory code. - -2002-06-09 Andreas Dilger <adilger@clusterfs.com> - - * f_8192_block, f_16384_block: Basic tests of 8192-byte block - and 16384-byte blocksize filesystems. - -2002-05-21 Theodore Ts'o <tytso@mit.edu> - - * f_badsymlinks: Check for symlink too big error message. - - * f_lotsbad: Check for directory too big error message. - - * f_big_sparse: New test case which e2fsck's response to a large, - sparse file, and tests the code which adds the LARGE_FILE - feature to a filesystem. - - * f_badsymlinks, f_filetype: Revert expected text since we're no - longer checking for EXT2_INDEX_FL along with the other - immutable flags. - - * f_badsymlinks, f_badinode: The symlink invalid size problem text - has been generalized to "invalid symlink". - -2002-05-18 Andreas Dilger <adilger@clusterfs.com> - - * f_badsymlink: Add extra length checks for symlinks - - missing nul termination test (new) - - nul terminated but i_size is wrong - - i_size == maximum size (no space for nul, new) - - too many blocks for long symlink - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-03-07 <tytso@mit.edu> - - * f_miss_journal, f_extra_journal: Added new test cases. - -2002-03-06 <tytso@mit.edu> - - * f_badorphan, f_badtable, f_bbinode, f_dupsuper, f_expand, - f_illbbitmap, f_illibitmap, f_illitable, f_imagic, - f_imagic_fs, f_lotsbad, f_lpf, f_messy_inode, - f_miss_blk_bmap, f_misstable, f_overfsblks: Adjust expect - files to deal with the fact that e2fsck is now reporting - ranges during pass 5. - -2002-02-12 Theodore Tso <tytso@mit.edu> - - * run_e2fsck (status): Use separate sed invocations for greater - portabilty. AIX's sed doesn't support multiple -e - specifications, even though it's required by Unix 98. - - * test_script.in: Use printf instead of "echo -n", since the -n - option to echo is a BSD'ism which isn't specified by the - Unix 98 / SUSv3 specification. (And which of course, AIX - doesn't implement as a result.) - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2002-02-03 Theodore Tso <tytso@valinux.com> - - * f_swapfs: Fix expect script to deal with extra spaces now - printed by debugfs's ls command. - -2002-01-06 Andreas Dilger <adilger@turbolinux.com> - - * Makefile: Add new target "make testnew" which will create a new - testcase for e2fsck with an empty 8MB filesystem. After - the test filesystem is appropriately "broken" the new - target "make testend" will create expect files for it. - -2001-12-16 Theodore Tso <tytso@mit.edu> - - * f_ext_journal: Add new test which checks e2fsck's ability to use - an external journal. - -2001-11-30 Gabriel Paubert <paubert@iram.es> - - * f_badorphan: Revert previous, erroneous change. - -2001-11-30 Theodore Tso <tytso@mit.edu> - - * f_badorphan, f_journal: Update expect files to reflect the fact - that new e2fsck's will move the .journal file to a hidden - inode. - -2001-11-26 Theodore Tso <tytso@mit.edu> - - * f_miss_blk_bmap: Add new test which checks for bug in e2fsck - where it wouldn't allocate a missing block bitmap on - filesystems with a blocksize of 2k or 4k. - -2001-10-07 Theodore Tso <tytso@mit.edu> - - * f_bad_local_jnl: New test which tests for a V2 journal with bad - fields caused by a botched V1->V2 upgrade. - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-08-04 Theodore Tso <tytso@valinux.com> - - * f_bad_inode, f_badsymlinks: Update expect files to reflect - changes in the problem code texts. - - * f_swapfs: The image file used by f_swapfs had bugs which got - caught by Andreas' changes to be more strict about - symlinks. - -2001-07-26 Andreas Dilger <adilger@turbolinux.com> - - * f_symlinks: Add several fast symlink error cases to test. - -2001-07-27 Theodore Tso <tytso@valinux.com> - - * f_filetype: Update expect.1 to match changed problem message - text and the fact that symlinks shouldn't be immutable. - -2001-07-07 Theodore Tso <tytso@valinux.com> - - * f_badinode: Update expect.1 to match change in invalid symlink - size text. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-22 Theodore Tso <tytso@valinux.com> - - * run_e2fsck, defaults/e_script: Filter out CR characters from the - output, since BK filtered \r fromthe expect files. This - is needed to make the regression test suite work again. - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-02 Theodore Tso <tytso@valinux.com> - - * f_badinode: Added a fast symlink with an invalid size to test - e2fsck's handling of this case. - - * f_dup3: New test case which checks handling of blocks claimed - multiple times by one inode which weren't handled - correctly by e2fsck 1.20. - - * d_loaddump: Fix test script to remove bash'isms, and make the - shell script more robust in cases where the user has - overridden CFLAGS so that the debugfs binary isn't - compiled with -g, and is smaller than 128k. Also specify - the blocksize to be used explictly to avoid problems with - people who change the mke2fs default parameters. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * f_badorphan: New test which verifies corrupted orphan list - handling. - -2001-05-05 Theodore Tso <tytso@valinux.com> - - * d_loaddump: New test which verifies debugfs's dump and load - routines. - -2000-10-24 <tytso@snap.thunk.org> - - * f_journal: Update to take into account new printing by the - e2fsck program. - -2000-08-22 <tytso@valinux.com> - - * f_journal: Make the test check for a wide variety of mixed sizes - of orphaned inodes (and not just a size of 0). - -2000-08-20 <tytso@valinux.com> - - * run_e2fsck: Filter out JFS DEBUG messages when comparing e2fsck - output. - - * f_journal: New test case which checks out running the ext3 - journal. - - * f_orphan: New test case which checks clearing the list of orphan - inodes (files and directories). - - * f_swapfs/expect: Update to reflect new debugfs format for - dumping the blocks of an inode. - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-05-25 <tytso@snap.thunk.org> - - * test_script.in: Ignore files in the test directory (to avoid - spurious messages when builddir==srcdir). - -2000-05-08 Theodore Ts'o <tytso@valinux.com> - - * f_hurd: Add test for Hurd-specific features (right now, just - checks to make sure the filetype feature is cleared) - -2000-04-06 Theodore Ts'o <tytso@valinux.com> - - * f_filetype: Updated expect script to match with new text for - immutable/append-only files. - -2000-02-07 Theodore Ts'o <tytso@valinux.com> - - * f_swapfs: Fix expected text to match changed debugfs dump - command for i_generation field. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-11-10 <tytso@valinux.com> - - * f_imagic: New test case which tests handling of imagic inodes in - an non-imagic-enabled filessystem. - - * f_imagic_fs: New test case which tests handling of imagic inodes - in an imagic-enabled filesystem. - - * f_filetype: New test case which tests setting filetype - information in a filesystem. Also tests handling of - immutable special files (device/fifo). - - * run_e2fsck: Add support for PREP_CMD, which allows a test case - to specify some commands which will be run (via eval) - after the image is compressed and before running e2fsck. - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-09-16 <tytso@rsts-11.mit.edu> - - * f_dupdot: New test case which tests duplicate '.' and '..' entries. - -1999-09-07 <tytso@rsts-11.mit.edu> - - * f_expand: Make test case better by testing increasing the size - of lost+found where an indirect block must be created. - Also add checks to see what happens when directories are - disconnected because their containing directory is - destroyed (turned into a socket :-) - -1999-08-02 <tytso@rsts-11.mit.edu> - - * f_dupfsblks: Add additional test cases where files share - duplicate blocks with both other files and filesystem - metadata. - -1999-07-30 <tytso@valinux.com> - - * f_swapfs: Change to deal with new dump_inode command. - -1999-07-18 Theodore Ts'o <tytso@valinux.com> - - * Release of E2fsprogs 1.15 - -1999-06-25 <tytso@rsts-11.mit.edu> - - * f_recnect_bad: New test which checks the case where a disconnect - inode also bad inode fields; we need to make sure e2fsck - offers to fix the inode (or clear the inode, as necessary). - -1999-03-14 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_lpffile: New test which checks how e2fsck handles a the case - where lost+found exists, but it's not a directory. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_badtable, f_illitable, f_lpf: Update to deal with the fact - that e2fsck will now create a lost+found directory at the - end of pass 3 if one isn't present. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-07-05 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_swapfs: Fix script to ignore the version string header which - debugfs now prints when it starts up. - -1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_messy_inode: Modify test to deal with changes to support - 64-bit size files. (/MAKEDEV had i_dir_acl, now - i_size_high, set.) - -1998-02-20 Theodore Y. Ts'o <tytso@edt.mit.edu> - - * f_badinode: Set the immutable flag on the block and - character device so that e2fsck notices them as bad - devices, and offers to fix them. E2fsck currently - only checks devices with the immutable flag set, since - otherwise there might be some false positives --- the - kernel doesn't always clear the all of i_blocks[n], - n>=4, due to a race condition. - -Sat Oct 25 18:38:56 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Add scripts to skip the e_brel_bma and e_irel_ima tests (since - they have been removed from the library for now) - -Thu Aug 14 11:25:23 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_badinode: Modify test to check for "bad" character and block - devices (i.e., ones which contain garbage block entries) - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 26 09:29:25 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * e_icount_normal, e_icount_opt: New tests which validate the - icount abstraction. - - * test_script.in: New feature; an argument of a single character - means do all the tests in that series. - -Tue Mar 18 15:11:04 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_config (LANG): Set the language to be C so that the brel - and irel tests don't fail. - -Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> - - * Release of E2fsprogs version 1.07 - -Thu Mar 6 23:23:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_misstable: New test case which checks what happens when the - inode table for a block group is missing - - * f_reconnect: New test case which makes sure a simple - disconnected inode is properly handled. - -Mon Dec 2 09:33:31 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_script.in: Add error checking to make sure a requested test - exists. - -Tue Oct 15 00:10:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_bbinode: New test case which exercises what happens when a bad - block appears in the inode table. - -Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.06 - -Mon Oct 7 07:52:41 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_preen: New test case which makes sure that e2fsck -p won't - bash the backup superblock in case of a corrupted master - superblock. - - * test_script.in: Let the environment variable TEST_CONFIG to - override the location of the test_config file. Move - definition of TMP_DIR to test_config. - - * test_config: Add new defnitions for mke2fs, dumpe2fs, tune2fs, - lsattr, and chattr. - -Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.05 - -Mon Sep 9 23:09:47 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (check): Add explicit ./ to test_script invokation, - since not all people will have "." in their path. - -Tue Sep 3 15:13:05 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_config (PAGER): Unset pager to prevent debugfs forking a - pager, since the escape sequences confuse the expect - script. - -Sun May 19 23:37:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_script: New feature; second optional argument allows - developers to only run one test case. - - * f_crashdisk: New test case which contains a patently illegal - superblock with a valid magic number. - -Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.04 - -Wed May 15 21:41:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * f_illibitmap/expect.1, f_illbbitmap/expect.1: Changed - expected output to reflect hint which e2fsck will print when - there is a illegal block in the block group - descriptors, pointing at a block bitmap, inode bitmap, - or block in the inode table. - -Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.03 - -Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.02 - -Mon Sep 4 23:06:06 1995 Remy Card <card@bbj> - - * Makefile.in (clean, distclean): Use the -f option when removing - files. - -Fri Aug 11 10:10:30 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> - - * test_script: Count up the number of passed and failed tests by - tallying the *.ok and *.failed files. - - * run_e2fsck: Create foo.ok and foo.failed files when tests - succeed or fail, respectively. - - * test_config (TZ): Set the timezone to be GMT, so that test - results are consistent. - diff --git a/tests/progs/ChangeLog b/tests/progs/ChangeLog deleted file mode 100644 index 613ad578..00000000 --- a/tests/progs/ChangeLog +++ /dev/null @@ -1,228 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-04-06 Theodore Tso <tytso@mit.edu> - - * test_icount.c: Fix up usage and decrement error messages - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2004-12-14 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Add install-strip target - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-06-01 Theodore Tso <tytso@valinux.com> - - * Makefile.in: Move include/asm/types.h.in to - lib/ext2fs/ext2_types.h.in. - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-05-14 Theodore Tso <tytso@valinux.com> - - * test_icount.c, test_rel.c: Change location of ext2_fs.h to be - ext2fs/ext2_fs.h - -2001-05-10 Theodore Tso <tytso@valinux.com> - - * random_exercise.c: Also do some random truncating as well. - -2001-01-11 <tytso@snap.thunk.org> - - * test_icount.c, test_rel.c: Change ino_t to ext2_ino_t - -2000-12-08 <tytso@snap.thunk.org> - - * Makefile.in (srcdir): Fix so that top-level "make check" works - correctly. - -2000-10-18 <tytso@valinux.com> - - * random_exercise.c: Add support for making the test files have a - certain size, and also add directories as test inodes as - well. - -2000-08-20 <tytso@valinux.com> - - * random_exercise.c: New file which feeds a lot of file creations - and deletions (while leaving the file descriptor open, and - then closing the file descriptor later). This generates - lots of fodder for the orphan list code, as well as for - the ext3 journal. - - * hold_inode.c: New file which holds an inode or a directory open - (for testing orphan list code). - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-07-04 <tytso@snap.thunk.org> - - * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the - mk_cmds support files from the source tree. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-06-27 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_icount.c (main): The variable which gets the return value - from getopt should be an int so that the comparisons - against EOF work on systems with unsigned chars. - -1998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_icount.c (main): Fix main() declaration so that it returns - int, not void. - -1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in: Add uninstall target (which is a just a no-op). - -1998-03-29 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_icount.h (do_dump, do_validate): Add prototypes to fix - -Wall warnings. - - * test_icount.c: Fix -Wall warnings. - -Sat Oct 25 18:50:33 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Makefile.in (PROGS): Remove test_rel from the test programs that - we build for now. - - * test_icount.c: Fix some random lint warnings. - -Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.11 - -Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu> - - * Release of E2fsprogs version 1.10 - -Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.09 - -Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs version 1.08 - -Wed Mar 26 15:38:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * test_icount.c: New file which tests the icount abstraction. - diff --git a/util/ChangeLog b/util/ChangeLog deleted file mode 100644 index 5970f94b..00000000 --- a/util/ChangeLog +++ /dev/null @@ -1,272 +0,0 @@ -2006-06-24 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.40 - -2007-03-21 Theodore Tso <tytso@mit.edu> - - * subst.c (compare_file): Close old FILE handle if the new FILE - handle open failed. - -2006-11-12 Theodore Tso <tytso@mit.edu> - - * gen-tarball.in: Use E2FSPROGS_PKGVER to simplify script - - * subst.c (substitute_line): Avoid infinite loop caused by a - substition such as @datarootdir@ --> @datarootdir@. (This - was caused by autoconf versions before 2.60, which didn't - define the @datarootdir@ expansion. - -2006-10-22 Theodore Tso <tytso@mit.edu> - - * subst.conf.in: Add datarootdir definition for compatibility with - autoconf 2.60. - -2006-08-05 Andreas Dilger <adilger@clusterfs.com> - - * subst.c (main): Create automatically-generated files be - read-only in order to remind developers not to end them. - -2005-10-26 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use BUILD_CCFLAGS and BUILD_LDFLAGS instead of - CCFLAGS and LDFLAGS when to avoid potential problems when - cross-compiling some of the options are not recognized as - valid by the host compiler. (Addresses Sourceforge Bug - #1261547) - -2005-07-19 Theodore Ts'o <tytso@mit.edu> - - * all.exclude, subset.exclude: Remove BitKeeper and add - mercurial/quilt files to the exclusion files. - -2006-06-30 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.38 - -2005-03-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.37 - -2005-03-02 Theodore Ts'o <tytso@mit.edu> - - * gen_tarball.in: Don't remove the .gmo files from the generated - tarball; they are now treated as source files instead of - generated files. - -2006-02-05 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.36 - -2005-01-21 <tytso@snap.thunk.org> - - * copy_sparse.c: Utility program which is very useful for dealing - with large sparse files (such as e2image files). - -2005-01-07 Theodore Ts'o <tytso@mit.edu> - - * gen-tarball.in: Remove the hyphen in 1.36-rc1, since Debian - version numbers can't have '-' in them. - -2004-11-30 Theodore Ts'o <tytso@mit.edu> - - * Makefile.in: Use Linux-kernel-style makefile output to make it - easier to see errors/warnings. - -2004-04-03 Theodore Ts'o <tytso@mit.edu> - - * subst.c (main): Add new option to update the timestamp of the - generated file. - -2004-02-28 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.35 - -2004-02-21 Matthias Andree <matthias.andree@gmx.de> - - * gen-tarball.in: Do not package autom4te.cache directory. - -2003-12-07 Theodore Ts'o <tytso@mit.edu> - - * subst.c: Fix gcc -Wall nitpicks. - - * gcc-wall-cleanup: Remove missing initalizer, zero-length format - string, and some more long long warnings. - -2003-07-25 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.34 - -2003-04-21 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.33 - -2003-03-23 Theodore Ts'o <tytso@mit.edu> - - * gen-tarball.in, all.exclude, subset.exclude: New files for - managing the automatic generation of distribution - tarballs. - -2002-11-09 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.32 - -2002-11-08 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.31 - -2002-10-31 Theodore Ts'o <tytso@mit.edu> - - * Release of E2fsprogs 1.30 - -2001-09-24 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.29 - -2001-08-31 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.28 - -2002-05-11 <tytso@snap.thunk.org> - - * subst.conf.in: Add root_sysconfdir and $root_prefix - -2002-03-08 Theodore Tso <tytso@mit.edu> - - * Release of E2fsprogs 1.27 - -2002-02-03 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.26 - -2001-09-20 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.25 - -2001-09-02 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24a - -2001-08-30 Theodore Tso <tytso@thunk.org> - - * Release of E2fsprogs 1.24 - -2001-08-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.23 - -2001-07-27 Theodore Tso <tytso@valinux.com> - - * subst.conf.in: Enable documentation of the external journal - functionality in mke2fs, e2fsck, and tune2fs. - -2001-06-23 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.22 - -2001-06-15 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.21 - -2001-05-25 Theodore Tso <tytso@valinux.com> - - * Release of E2fsprogs 1.20 - -2001-04-21 Theodore Tso <tytso@valinux.com> - - * subst.conf.in: Add definition of JDEV for mke2fs' and tune2fs' - man page. - -2001-04-17 Theodore Tso <tytso@valinux.com> - - * subst.c (replace_string): Fix replace_string so that it - correctly handles replacing a substitution variable with a - zero-length string. - -2001-01-14 Theodore Ts'o <tytso@valinux.com> - - * gcc-wall-cleanup: Remove additional annoying warning messages - emited by gcc 2.95.2. - -2001-01-11 <tytso@snap.thunk.org> - - * gcc-wall-cleanup: New file which is used to clean up unnecessary - crud from gcc -Wall that we're not interested in seeing - -2000-07-13 <tytso@valinux.com> - - * Release of E2fsprogs 1.19 - -2000-04-03 Theodore Ts'o <tytso@valinux.com> - - * subst.c: For platforms that don't define optarg.h, manually - define optarg and optind. - -1999-11-19 <tytso@valinux.com> - - * Makefile.in (distclean): Remove TAGS and Makefile.in.old from - the source directory. - -1999-11-10 <tytso@valinux.com> - - * Release of E2fsprogs 1.18 - -1999-10-26 <tytso@valinux.com> - - * Release of E2fsprogs 1.17 - -1999-10-26 <tytso@valinux.com> - - * subst.c (substitute_line): Removed some unused variables. - -1999-10-22 <tytso@valinux.com> - - * Release of E2fsprogs 1.16 - -1999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.15 - -1999-07-03 <tytso@valinux.com> - - * Makefile.in (subst): Build subst using $(BUILD_CC), since it's a - helper program which must be built using the native C - compiler during a cross-compilation. - -1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.14 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.13 - -1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * subst.c (get_subst_symbol): Add [0-9] to the list of valid - characters for a substitution symbol. - -1998-08-01 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * subst.c: Add the ability to substitute apparent shell/make - variables such as ${prefix}, since this is needed to make - the shell scripts work correctly. - - * subst.conf.in: Add ${prefix} to the list of substitutions which - subst should make. - -1998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * Release of E2fsprogs 1.12 - -1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * subst.conf.in: Add substitution for @datadir@ - -Mon Jan 19 09:25:24 1998 Theodore Ts'o <tytso@rsts-11.mit.edu> - - * subst.c: Rename "new" to "new_f" to avoid C++ reserved word - clash. - - * subst.c: Explicitly cast all assignments from void * to be - compatible with C++. - |