Whamcloud - gitweb
Many files:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 29 Apr 1997 17:57:00 +0000 (17:57 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Apr 1997 17:57:00 +0000 (17:57 +0000)
  Checked in e2fsprogs 1.09

32 files changed:
.release-checklist [new file with mode: 0644]
ChangeLog
INSTALL.elfbin
README
RELEASE-NOTES
debugfs/ChangeLog
debugfs/Makefile.in
doc/libext2fs.texinfo
e2fsck/ChangeLog
e2fsck/Makefile.in
e2fsprogs-1.09.lsm [moved from e2fsprogs-1.08.lsm with 63% similarity]
e2fsprogs-1.09.spec [moved from e2fsprogs-1.08.spec with 97% similarity]
include/linux/ChangeLog
install-utils/ChangeLog
lib/ChangeLog
lib/e2p/ChangeLog
lib/et/ChangeLog
lib/ext2fs/ChangeLog
lib/ext2fs/Makefile.in
lib/ext2fs/alloc_tables.c
lib/ext2fs/initialize.c
lib/ext2fs/version.c
lib/ss/ChangeLog
lib/ss/test_ss.c
lib/uuid/ChangeLog
misc/ChangeLog
misc/Makefile.in
misc/chattr.1.in
misc/chattr.c
tests/ChangeLog
tests/progs/ChangeLog
version.h

diff --git a/.release-checklist b/.release-checklist
new file mode 100644 (file)
index 0000000..c830488
--- /dev/null
@@ -0,0 +1,24 @@
+1)  Do "make depend" if necessary
+
+2)  "make check"!!!
+
+3)  Use ./.head-Changelog to assemble release notes.
+
+4)  Update files which contain version information
+       version.h
+       README
+       RELEASE-NOTES
+       e2fsprogs-VER.lsm
+       e2fsprogs-VER.spec
+       doc/libext2fs.texinfo (three places)
+
+5)  Update ChangeLog files using ./.fix-ChangeLogs
+
+6)  Make source distribution
+
+7)  Build RPM files
+
+8)  Build ELF binary distribution
+
+9)  Adjust sizes in e2fsprogs-VER.lsm; rebuild source files; rebuild RPM files
+
index 3ccc1a1..3d8c757 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+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
index c69834c..fab2858 100644 (file)
@@ -1,15 +1,12 @@
 NOTE: This is the ELF version of the binary distribution.  If you have
-a DLL system, please either compile e2fsprogs from sources yourself,
-or get the DLL version of the binary distribution.  The DLL version
-will have a filename of e2fsprogs-1.04-dllbin.tar.gz
-
+a DLL system, please compile e2fsprogs from sources yourself.
 
        To install the binary distribution of the second extended file
 system management programs, just follow the steps:
 
 1) Install this tar file using the following command:
 
-       gunzip < e2fsprogs-1.04-elfbin.tar.gz | (cd /; tar Sxvpf - )
+       gunzip < e2fsprogs-1.09-elfbin.tar.gz | (cd /; tar Sxvpf - )
 
 2) Run ldconfig to update the shared library pointers.
 
diff --git a/README b/README
index 7306282..33ec614 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-       This is the new version (1.08) of the second extended file system
+       This is the new version (1.09) of the second extended file system
 management programs.
 
        See the file INSTALL for installation instructions.  This is
index da1d22e..f76a237 100644 (file)
@@ -1,3 +1,17 @@
+E2fsprogs 1.09 (April 14, 1997)
+===============================
+
+Fixed bug in mke2fs (really in lib/ext2fs/initialize.c) which was
+accidentally introduced in the 1.08 release.  The overhead calculation
+was accidentally removed, which caused ext2fs_initialize() to not
+notice when the filesystem size needed to be adjusted down because
+there wasn't enough space in the last block group.
+
+Fixed bug in version parsing library routine; it was always parsing
+the library version string, instead of using the passed-in string.
+
+Clarified chattr man page.
+
 E2fsprogs 1.08 (April 10, 1997)
 ===============================
 
index c143fc6..e7aca8d 100644 (file)
@@ -1,3 +1,7 @@
+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
index dad1f90..7cb8cea 100644 (file)
@@ -85,10 +85,15 @@ util.o: $(srcdir)/util.c $(srcdir)/debugfs.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(top_srcdir)/lib/ext2fs/bitops.h
-ncheck.o: $(srcdir)/ncheck.c $(srcdir)/debugfs.h \
+ls.o: $(srcdir)/ls.c $(srcdir)/debugfs.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(top_srcdir)/lib/ext2fs/bitops.h
+ncheck.o: $(srcdir)/ncheck.c \
+ $(srcdir)/debugfs.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h \
+ $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
+ $(top_srcdir)/lib/ext2fs/bitops.h
 icheck.o: $(srcdir)/icheck.c $(srcdir)/debugfs.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
index 0506e5c..49094d5 100644 (file)
@@ -1,7 +1,7 @@
 \input texinfo    @c -*-texinfo-*-
 @c %**start of header
 @setfilename libext2fs.info
-@settitle The EXT2FS Library (version 1.08)
+@settitle The EXT2FS Library (version 1.09)
 @synindex tp fn
 @comment %**end of header
 
@@ -60,7 +60,7 @@ by the author.
 
 @title The EXT2FS Library
 @subtitle The EXT2FS Library
-@subtitle Version 1.08
+@subtitle Version 1.09
 @subtitle April 1997
 
 @author by Theodore Ts'o
@@ -101,7 +101,7 @@ by the Foundation.
 
 @top The EXT2FS Library
 
-This manual documents the EXT2FS Library, version 1.08.
+This manual documents the EXT2FS Library, version 1.09.
 
 @end ifinfo
 
index 51db19b..0c0435b 100644 (file)
@@ -1,3 +1,7 @@
+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
index 9d0cbb1..4c4166c 100644 (file)
@@ -195,7 +195,7 @@ util.o: $(srcdir)/util.c \
  $(srcdir)/e2fsck.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h
+ $(top_srcdir)/lib/ext2fs/bitops.h  
 dirinfo.o: $(srcdir)/dirinfo.c $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/e2fsck.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/ext2fs/io.h \
@@ -204,9 +204,10 @@ ehandler.o: $(srcdir)/ehandler.c \
  $(srcdir)/e2fsck.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h 
+ $(top_srcdir)/lib/ext2fs/bitops.h  
 problem.o: $(srcdir)/problem.c \
  $(srcdir)/e2fsck.h \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/problem.h
+
similarity index 63%
rename from e2fsprogs-1.08.lsm
rename to e2fsprogs-1.09.lsm
index ff39e41..78f3af1 100644 (file)
@@ -1,19 +1,19 @@
 Begin3
 Title:          EXT2 Filesystem utilities
-Version:        1.08
-Entered-date:   11Apr97
+Version:        1.09
+Entered-date:   15Apr97
 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
-               630kB e2fsprogs-1.08.tar.gz
-               227kB e2fsprogs-1.08-elfbin.tar.gz
-               211kB e2fsprogs-1.08-0.i386.rpm
-               71kB  e2fsprogs-devel-1.08-0.i386.rpm
-               632kB e2fsprogs-1.08-0.src.rpm
-                1kB   e2fsprogs-1.08.lsm
+               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
 Alternate-site: 
 Platforms:     linux 1.2.x/1.3.x/2.0.x/2.1.x
 Copying-policy: GPL
similarity index 97%
rename from e2fsprogs-1.08.spec
rename to e2fsprogs-1.09.spec
index b75943b..01cde69 100644 (file)
@@ -1,10 +1,10 @@
 Summary: Tools for the second extended (ext2) filesystem 
 Name: e2fsprogs
-Version: 1.08
+Version: 1.09
 Release: 0
 Copyright: GPL
 Group: Utilities/System
-Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.08.tar.gz
+Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.09.tar.gz
 BuildRoot: /tmp/e2fsprogs-root
 
 %description
index 7656dfd..5bfd698 100644 (file)
@@ -1,3 +1,7 @@
+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
index aeff14f..62d249c 100644 (file)
@@ -1,3 +1,7 @@
+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
index aa723a3..aa5a2f8 100644 (file)
@@ -1,3 +1,7 @@
+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
index 1329eb3..0656914 100644 (file)
@@ -1,3 +1,7 @@
+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
index a0f5fbf..e33cab7 100644 (file)
@@ -1,3 +1,7 @@
+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
index e191b7d..a30b2ba 100644 (file)
@@ -1,3 +1,19 @@
+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
index cea8490..348d622 100644 (file)
@@ -201,201 +201,154 @@ alloc.o: $(srcdir)/alloc.c \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-alloc_tables.o: $(srcdir)/alloc_tables.c \
- $(srcdir)/ext2fs.h \
+alloc_tables.o: $(srcdir)/alloc_tables.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-badblocks.o: $(srcdir)/badblocks.c \
- $(srcdir)/ext2fsP.h \
+badblocks.o: $(srcdir)/badblocks.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-bb_compat.o: $(srcdir)/bb_compat.c \
- $(srcdir)/ext2fsP.h \
+bb_compat.o: $(srcdir)/bb_compat.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-bb_inode.o: $(srcdir)/bb_inode.c \
- $(srcdir)/ext2fs.h \
+bb_inode.o: $(srcdir)/bb_inode.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-bitmaps.o: $(srcdir)/bitmaps.c \
- $(srcdir)/ext2fs.h \
+bitmaps.o: $(srcdir)/bitmaps.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-bitops.o: $(srcdir)/bitops.c \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-block.o: $(srcdir)/block.c \
- $(srcdir)/ext2fs.h \
+bitops.o: $(srcdir)/bitops.c $(srcdir)/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(srcdir)/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+block.o: $(srcdir)/block.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-brel_ma.o: $(srcdir)/brel_ma.c \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h $(srcdir)/brel.h
-check_desc.o: $(srcdir)/check_desc.c \
- $(srcdir)/ext2fs.h \
+brel_ma.o: $(srcdir)/brel_ma.c $(srcdir)/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(srcdir)/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/brel.h
+check_desc.o: $(srcdir)/check_desc.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-closefs.o: $(srcdir)/closefs.c \
- $(srcdir)/ext2fsP.h \
+closefs.o: $(srcdir)/closefs.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-cmp_bitmaps.o: $(srcdir)/cmp_bitmaps.c \
- $(srcdir)/ext2fs.h \
+cmp_bitmaps.o: $(srcdir)/cmp_bitmaps.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-dblist.o: $(srcdir)/dblist.c \
- $(srcdir)/ext2fsP.h \
+dblist.o: $(srcdir)/dblist.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-dblist_dir.o: $(srcdir)/dblist_dir.c \
- $(srcdir)/ext2fsP.h \
+dblist_dir.o: $(srcdir)/dblist_dir.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-dirblock.o: $(srcdir)/dirblock.c \
- $(srcdir)/ext2fs.h \
+dirblock.o: $(srcdir)/dirblock.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-dir_iterate.o: $(srcdir)/dir_iterate.c \
- $(srcdir)/ext2fsP.h \
+dir_iterate.o: $(srcdir)/dir_iterate.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-expanddir.o: $(srcdir)/expanddir.c \
- $(srcdir)/ext2fs.h \
+expanddir.o: $(srcdir)/expanddir.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-freefs.o: $(srcdir)/freefs.c \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-get_pathname.o: $(srcdir)/get_pathname.c \
- $(srcdir)/ext2fs.h \
+freefs.o: $(srcdir)/freefs.c $(srcdir)/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(srcdir)/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+get_pathname.o: $(srcdir)/get_pathname.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-getsize.o: $(srcdir)/getsize.c \
- $(srcdir)/ext2fs.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+getsize.o: $(srcdir)/getsize.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
 icount.o: $(srcdir)/icount.c $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/ext2fs.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
+ $(srcdir)/ext2fs.h $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-initialize.o: $(srcdir)/initialize.c \
- $(srcdir)/ext2fs.h \
+initialize.o: $(srcdir)/initialize.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-inline.o: $(srcdir)/inline.c \
- $(srcdir)/ext2fs.h \
+inline.o: $(srcdir)/inline.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-inode.o: $(srcdir)/inode.c \
- $(srcdir)/ext2fsP.h \
+inode.o: $(srcdir)/inode.c $(srcdir)/ext2fsP.h \
  $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-irel_ma.o: $(srcdir)/irel_ma.c \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h $(srcdir)/irel.h
-ismounted.o: $(srcdir)/ismounted.c \
- $(srcdir)/ext2fs.h \
+irel_ma.o: $(srcdir)/irel_ma.c $(srcdir)/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(srcdir)/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h $(srcdir)/irel.h
+ismounted.o: $(srcdir)/ismounted.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-link.o: $(srcdir)/link.c \
- $(srcdir)/ext2fs.h \
+link.o: $(srcdir)/link.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-llseek.o: $(srcdir)/llseek.c \
+llseek.o: $(srcdir)/llseek.c $(top_srcdir)/lib/et/com_err.h \
+ $(srcdir)/io.h  
+lookup.o: $(srcdir)/lookup.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h 
-lookup.o: $(srcdir)/lookup.c \
- $(srcdir)/ext2fs.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+mkdir.o: $(srcdir)/mkdir.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-mkdir.o: $(srcdir)/mkdir.c \
- $(srcdir)/ext2fs.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+namei.o: $(srcdir)/namei.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-namei.o: $(srcdir)/namei.c \
- $(srcdir)/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-native.o: $(srcdir)/native.c \
- $(srcdir)/ext2fs.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+native.o: $(srcdir)/native.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-newdir.o: $(srcdir)/newdir.c \
- $(srcdir)/ext2fs.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+newdir.o: $(srcdir)/newdir.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-openfs.o: $(srcdir)/openfs.c \
- $(srcdir)/ext2fs.h \
+openfs.o: $(srcdir)/openfs.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-read_bb.o: $(srcdir)/read_bb.c \
- $(srcdir)/ext2fs.h \
+read_bb.o: $(srcdir)/read_bb.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-read_bb_file.o: $(srcdir)/read_bb_file.c \
- $(srcdir)/ext2fs.h \
+read_bb_file.o: $(srcdir)/read_bb_file.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-rs_bitmap.o: $(srcdir)/rs_bitmap.c \
- $(srcdir)/ext2fs.h \
+rs_bitmap.o: $(srcdir)/rs_bitmap.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-rw_bitmaps.o: $(srcdir)/rw_bitmaps.c \
- $(srcdir)/ext2fs.h \
+rw_bitmaps.o: $(srcdir)/rw_bitmaps.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
  $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
  $(srcdir)/bitops.h
-swapfs.o: $(srcdir)/swapfs.c \
- $(srcdir)/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-test_io.o: $(srcdir)/test_io.c \
+swapfs.o: $(srcdir)/swapfs.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+test_io.o: $(srcdir)/test_io.c $(top_srcdir)/lib/et/com_err.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/io.h
-unix_io.o: $(srcdir)/unix_io.c \
- $(top_srcdir)/lib/et/com_err.h \
+unix_io.o: $(srcdir)/unix_io.c $(top_srcdir)/lib/et/com_err.h \
  $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/io.h
-unlink.o: $(srcdir)/unlink.c \
- $(srcdir)/ext2fs.h \
- $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
-valid_blk.o: $(srcdir)/valid_blk.c \
- $(srcdir)/ext2fs.h \
+unlink.o: $(srcdir)/unlink.c $(srcdir)/ext2fs.h \
  $(top_srcdir)/lib/et/com_err.h \
- $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(srcdir)/bitops.h
+ $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+valid_blk.o: $(srcdir)/valid_blk.c $(srcdir)/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(srcdir)/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(srcdir)/bitops.h
+version.o: $(srcdir)/version.c $(top_srcdir)/lib/et/com_err.h \
+ $(srcdir)/ext2fs.h $(srcdir)/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
+ $(srcdir)/bitops.h $(srcdir)/../../version.h
index 4bfc91d..65c129f 100644 (file)
@@ -35,6 +35,9 @@ errcode_t ext2fs_allocate_tables(ext2_filsys fs)
        group_blk = fs->super->s_first_data_block;
        for (i = 0; i < fs->group_desc_count; i++) {
                last_blk = group_blk + fs->super->s_blocks_per_group;
+               if (last_blk >= fs->super->s_blocks_count)
+                       last_blk = fs->super->s_blocks_count - 1;
+
                /*
                 * Allocate the inode table
                 */
index 72f40ea..874b118 100644 (file)
@@ -199,6 +199,17 @@ retry:
        super->s_free_inodes_count = super->s_inodes_count;
 
        /*
+        * Overhead is the number of bookkeeping blocks per group.  It
+        * includes the superblock backup, the group descriptor
+        * backups, the inode bitmap, the block bitmap, and the inode
+        * table.
+        *
+        * XXX Not all block groups need the descriptor blocks, but
+        * being clever is tricky...
+        */
+       overhead = 3 + fs->desc_blocks + fs->inode_blocks_per_group;
+       
+       /*
         * See if the last group is big enough to support the
         * necessary data structures.  If not, we need to get rid of
         * it.
index df7236e..38accf6 100644 (file)
@@ -32,7 +32,7 @@ int ext2fs_parse_version_string(const char *ver_string)
        const char *cp;
        int version = 0;
 
-       for (cp = lib_version; *cp; cp++) {
+       for (cp = ver_string; *cp; cp++) {
                if (!isdigit(*cp))
                        continue;
                version = (version * 10) + (*cp - '0');
index e5467a0..d5b9e25 100644 (file)
@@ -1,3 +1,7 @@
+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
index f58e73f..98cb263 100644 (file)
@@ -9,8 +9,8 @@
  * $Locker$
  *
  * $Log$
- * Revision 1.11  1997/04/29 17:47:28  tytso
- * Checked in e2fsprogs 1.08.
+ * Revision 1.12  1997/04/29 17:56:52  tytso
+ * Checked in e2fsprogs 1.09
  *
  * Revision 1.1  1993/06/03  12:31:25  tytso
  * Initial revision
index 6739575..9e97cf2 100644 (file)
@@ -1,3 +1,7 @@
+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
index b761fb4..66ab5a4 100644 (file)
@@ -1,3 +1,14 @@
+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
index 2bff422..768ff56 100644 (file)
@@ -164,8 +164,8 @@ distclean: clean
 tune2fs.o: $(srcdir)/tune2fs.c \
  $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(srcdir)/../version.h \
- $(top_srcdir)/lib/uuid/uuid.h $(top_srcdir)/lib/e2p/e2p.h 
+ $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/uuid/uuid.h \
+ $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/../version.h
 mklost+found.o: $(srcdir)/mklost+found.c $(srcdir)/../version.h
 mke2fs.o: $(srcdir)/mke2fs.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/uuid/uuid.h $(top_srcdir)/lib/ext2fs/ext2fs.h \
@@ -175,11 +175,10 @@ chattr.o: $(srcdir)/chattr.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/../version.h
 lsattr.o: $(srcdir)/lsattr.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/../version.h
-dumpe2fs.o: $(srcdir)/dumpe2fs.c $(srcdir)/../version.h \
- $(top_srcdir)/lib/ext2fs/ext2fs.h $(top_srcdir)/lib/et/com_err.h \
- $(top_srcdir)/lib/ext2fs/io.h $(top_builddir)/lib/ext2fs/ext2_err.h \
- $(top_srcdir)/lib/ext2fs/bitops.h $(top_srcdir)/lib/e2p/e2p.h
+dumpe2fs.o: $(srcdir)/dumpe2fs.c $(top_srcdir)/lib/ext2fs/ext2fs.h \
+ $(top_srcdir)/lib/et/com_err.h $(top_srcdir)/lib/ext2fs/io.h \
+ $(top_builddir)/lib/ext2fs/ext2_err.h $(top_srcdir)/lib/ext2fs/bitops.h \
+ $(top_srcdir)/lib/e2p/e2p.h $(srcdir)/../version.h
 badblocks.o: $(srcdir)/badblocks.c $(top_srcdir)/lib/et/com_err.h \
  $(top_srcdir)/lib/ext2fs/io.h
 fsck.o: $(srcdir)/fsck.c $(srcdir)/../version.h $(srcdir)/fsck.h
-
index ad38443..af9d6a0 100644 (file)
@@ -19,14 +19,15 @@ mode
 .B chattr
 changes the files attributes on an second extended file system.
 .PP
-The format of a symbolic mode is +-=[Sacdisu].
+The format of a symbolic mode is +-=[ASacdisu].
 .PP
 The operator `+' causes the selected attributes to be added to the
 existing attributes of the files; `-' causes them to be removed; and
 `=' causes them to be the only attributes that the files have.
 .PP
-The letters `Sacdisu' select the new attributes for the files: synchronous
-updates (S), append only (a), compressed (c), immutable (i), no dump (d),
+The letters `ASacdisu' select the new attributes for the files: 
+don't update atime (A), synchronous updates (S), append only (a), 
+compressed (c), immutable (i), no dump (d),
 secure deletion (s), and undeletable (u).
 .SH OPTIONS
 .TP
@@ -39,6 +40,10 @@ Verbosely describe changed attributes.
 .I -v version
 Set the files version.
 .SH ATTRIBUTES
+When a file with the 'A' attribute set is modified, its atime record is
+not modified.  This avoid a certain amount of disk I/O for laptop
+systems.
+
 A file with the `a' attribute set can only be open in append mode for writing.
 
 A file with the `c' attribute set is automatically compressed on the disk
@@ -63,9 +68,6 @@ the `sync' mount option applied to a subset of the files.
 When a file with the `u' attribute set is deleted, its contents is saved.
 This allows the user to ask for its undeletion.
 
-When a file with the 'A' attribute set is modified, its atime record is
-not modified.  This avoid a certain amount of disk I/O for laptop
-systems.
 .SH AUTHOR
 .B chattr
 has been written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
index 3bee82f..60379a4 100644 (file)
@@ -60,7 +60,7 @@ static void volatile fatal_error (const char * fmt_string, int errcode)
        exit (errcode);
 }
 
-#define usage() fatal_error ("usage: %s [-RV] [-+=acdisSu] [-v version] files...\n", \
+#define usage() fatal_error ("usage: %s [-RV] [-+=AacdisSu] [-v version] files...\n", \
                             1)
 
 static int decode_arg (int * i, int argc, char ** argv)
index 4ebb21e..fd27671 100644 (file)
@@ -1,3 +1,7 @@
+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
index 625919e..2ddbf50 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 4d8aa83..1ddb38f 100644 (file)
--- a/version.h
+++ b/version.h
@@ -6,5 +6,5 @@
  * under the GNU Public License.
  */
 
-#define E2FSPROGS_VERSION "1.08"
-#define E2FSPROGS_DATE "10-Apr-97"
+#define E2FSPROGS_VERSION "1.09"
+#define E2FSPROGS_DATE "14-Apr-97"