From ae85148246952016865e2792b49d6b68649b6063 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 29 Apr 1997 18:13:24 +0000 Subject: [PATCH] Many files: Checked in e2fsprogs 1.10 --- ChangeLog | 14 ++++++++ README | 13 ++++--- RELEASE-NOTES | 56 ++++++++++++++++++++++++++++++ configure | 34 +++++++++++++++--- configure.in | 16 +++++---- e2fsprogs-1.09.lsm => e2fsprogs-1.10.lsm | 17 ++++----- e2fsprogs-1.09.spec => e2fsprogs-1.10.spec | 4 +-- version.h | 8 ++--- 8 files changed, 132 insertions(+), 30 deletions(-) rename e2fsprogs-1.09.lsm => e2fsprogs-1.10.lsm (60%) rename e2fsprogs-1.09.spec => e2fsprogs-1.10.spec (97%) diff --git a/ChangeLog b/ChangeLog index 3d8c757..d13fc23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +Thu Apr 24 12:16:42 1997 Theodre Ts'o + + * Release of E2fsprogs version 1.10 + +Tue Apr 22 10:48:03 1997 Theodore Ts'o + + * 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 + + * Release of E2fsprogs version 1.09 + Fri Apr 11 18:56:26 1997 Theodore Ts'o * Release of E2fsprogs version 1.08 diff --git a/README b/README index 33ec614..1062056 100644 --- a/README +++ b/README @@ -1,9 +1,14 @@ - This is the new version (1.09) of the second extended file system + This is the new version (1.10) of the second extended file system management programs. - See the file INSTALL for installation instructions. This is -important! Note that your /etc/fstab file may need modifying before -you install the new fsck program. See the INSTALL file for more details. + Note: If you are using the RedHat RPM distributions of +e2fsprogs, don't worry about the next paragraph; all others, please +read on! + + See the file INSTALL for instructions on building and +installing e2fsprogs. This is important! Note that your /etc/fstab +file may need modifying before you install the new fsck program. See +the INSTALL file for more details. This version contains programs written by Theodore Ts'o and Remy Card. This distribution was packaged by Ted and Remy with the help of Stephen Tweedie diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f76a237..360f0ec 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,59 @@ +E2fsprogs 1.10 (April 24, 1997) +=============================== + +Mke2fs once again defaults to creating revision #0 filesystems, since +people were complaining about breaking compatibility with 1.2 kernels. +Warning messages were added to the mke2fs and tune2fs man pages that +the sparse superblock option isn't supported by most kernels yet (1.2 +and 2.0 both don't support parse superblocks.) + +Added new flag to mke2fs, -R , which allows the user to +tell mke2fs about the RAID configuration of the filesystem. Currently +the only supported raid option is "stride" which specifies the width +of the RAID stripe. + +Fixed bug in e2fsck where pass1b would bomb out if there were any +blocks marked bad in the inode table. + +Fixed rare bug in mke2fs where if the user had a very unlucky number +of blocks in a filesystem (probability less than .002) the resulting +filesystem would be corrupt in the last block group. + +Fixed bug where if e2fsck tried to allocate a block to fix a +filesystem corruption problem and the filesystem had no free blocks, +ext2fs_new_block() would loop forever. + +The configure script now checks explicitly to see if "-static" works, +since that can't be assumed to be true --- RedHat doesn't install +libc-static by default. + +Fixed bug in libext2's block iterator functions where under some +cirmcustances, file with holes would cause the bcount parameter to the +callback function to be incorrect. This bug didn't affect any of +e2fsprogs programs, but it was discovered by Paul Mackerras, the +author of the PPC boot loader. + +Removed use of static variables to store the inode cache in libext2fs. +This caused problems if more than one filesystem was accessed via +libext2fs (static variables in libraries are generally a bad idea). +Again, this didn't affect e2fsprogs programs, but it was discovered by +Paul Mackerras. + +Fixed minor bugs and version code drift to assure that e2fsprogs 1.10 +will compile cleanly with 1.2.13 kernels (even with a.out shared +libraries!) + +Programmer's notes: +------------------- + +Added new functions to duplicate an ext2 filesystem handle, and its +associated substructure. New functions: ext2fs_dup_handle(), +ext2fs_copy_dblist(), ext2fs_badblocks_copy(), ext2fs_copy_bitmap(). +Other structures, such as the io_channel and the inode_cache, now have +a ref count so that they only get freed when they are no longer used +by any filesystem handle. (These functions were added as part of the +development effort for an ext2 resizer). + E2fsprogs 1.09 (April 14, 1997) =============================== diff --git a/configure b/configure index be4f88f..f961e51 100644 --- a/configure +++ b/configure @@ -2318,14 +2318,38 @@ linux* | gnu*) fi ;; esac +echo $ac_n "checking whether linker accepts -static""... $ac_c" 1>&6 +echo "configure:2323: checking whether linker accepts -static" >&5 +if eval "test \"`echo '$''{'ac_cv_e2fsprogs_use_static'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static" +cat > conftest.$ac_ext < +int main() { +fflush(stdout); +; return 0; } +EOF +if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + ac_cv_e2fsprogs_use_static=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_e2fsprogs_use_static=no +fi +rm -f conftest* +LDFLAGS=$SAVE_LDFLAGS +fi +echo "$ac_t""$ac_cv_e2fsprogs_use_static" 1>&6 LDFLAG_STATIC= -case "$host_os" in -linux* | gnu*) +if test $ac_cv_e2fsprogs_use_static = yes; then LDFLAG_STATIC=-static - echo "On $host_os systems, assume -static works" -;; -esac +fi SS_DIR=`cd ${srcdir}/lib/ss; pwd` ET_DIR=`cd ${srcdir}/lib/et; pwd` diff --git a/configure.in b/configure.in index c191596..d7fcebf 100644 --- a/configure.in +++ b/configure.in @@ -463,16 +463,18 @@ linux* | gnu*) esac dnl dnl See if -static works. -dnl XXX for now, assume that only Linux/hurd systems support -static dnl -AC_REQUIRE([AC_CANONICAL_HOST]) +AC_MSG_CHECKING([whether linker accepts -static]) +AC_CACHE_VAL(ac_cv_e2fsprogs_use_static, +[SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static" +AC_TRY_LINK([#include ],[fflush(stdout);], + ac_cv_e2fsprogs_use_static=yes, ac_cv_e2fsprogs_use_static=no) +LDFLAGS=$SAVE_LDFLAGS]) +AC_MSG_RESULT($ac_cv_e2fsprogs_use_static) LDFLAG_STATIC= -case "$host_os" in -linux* | gnu*) +if test $ac_cv_e2fsprogs_use_static = yes; then LDFLAG_STATIC=-static - echo "On $host_os systems, assume -static works" -;; -esac +fi AC_SUBST(LDFLAG_STATIC) dnl dnl Make the ss and et directories work correctly. diff --git a/e2fsprogs-1.09.lsm b/e2fsprogs-1.10.lsm similarity index 60% rename from e2fsprogs-1.09.lsm rename to e2fsprogs-1.10.lsm index 78f3af1..42387a1 100644 --- a/e2fsprogs-1.09.lsm +++ b/e2fsprogs-1.10.lsm @@ -1,19 +1,20 @@ Begin3 Title: EXT2 Filesystem utilities -Version: 1.09 -Entered-date: 15Apr97 +Version: 1.10 +Entered-date: 24Apr97 Description: The filesystem utilities for the EXT2 filesystem, including e2fsck, mke2fs, dumpe2fs, fsck, and others. Keywords: utilities, fsck, filesystem, Ext2fs Author: tytso@mit.edu (Theodore Tso) Maintained-by: tytso@mit.edu (Theodore Tso) Primary-site: tsx-11.mit.edu /pub/linux/packages/ext2fs - 634kB e2fsprogs-1.09.tar.gz - 227kB e2fsprogs-1.09-elfbin.tar.gz - 211kB e2fsprogs-1.09-0.i386.rpm - 71kB e2fsprogs-devel-1.09-0.i386.rpm - 635kB e2fsprogs-1.09-0.src.rpm - 1kB e2fsprogs-1.09.lsm + 639kB e2fsprogs-1.10.tar.gz + 234kB e2fsprogs-1.10-elfbin.tar.gz + 176kB e2fsprogs-1.10-dllbin.tar.gz + 213kB e2fsprogs-1.10-0.i386.rpm + 72kB e2fsprogs-devel-1.10-0.i386.rpm + 641kB e2fsprogs-1.10-0.src.rpm + 1kB e2fsprogs-1.10.lsm Alternate-site: Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x Copying-policy: GPL diff --git a/e2fsprogs-1.09.spec b/e2fsprogs-1.10.spec similarity index 97% rename from e2fsprogs-1.09.spec rename to e2fsprogs-1.10.spec index 01cde69..8dad93c 100644 --- a/e2fsprogs-1.09.spec +++ b/e2fsprogs-1.10.spec @@ -1,10 +1,10 @@ Summary: Tools for the second extended (ext2) filesystem Name: e2fsprogs -Version: 1.09 +Version: 1.10 Release: 0 Copyright: GPL Group: Utilities/System -Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.09.tar.gz +Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.10.tar.gz BuildRoot: /tmp/e2fsprogs-root %description diff --git a/version.h b/version.h index 1ddb38f..593e11a 100644 --- a/version.h +++ b/version.h @@ -2,9 +2,9 @@ * version.h --- controls the version number printed by the e2fs * programs. * - * Copyright 1995, Theodore Ts'o. This file may be redistributed - * under the GNU Public License. + * Copyright 1995, 1996, 1997 by Theodore Ts'o. This file may be + * redistributed under the GNU Public License. */ -#define E2FSPROGS_VERSION "1.09" -#define E2FSPROGS_DATE "14-Apr-97" +#define E2FSPROGS_VERSION "1.10" +#define E2FSPROGS_DATE "24-Apr-97" -- 1.8.3.1