diff options
32 files changed, 236 insertions, 152 deletions
diff --git a/.release-checklist b/.release-checklist new file mode 100644 index 00000000..c8304888 --- /dev/null +++ b/.release-checklist @@ -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 + @@ -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 diff --git a/INSTALL.elfbin b/INSTALL.elfbin index c69834c3..fab2858d 100644 --- a/INSTALL.elfbin +++ b/INSTALL.elfbin @@ -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. @@ -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 diff --git a/RELEASE-NOTES b/RELEASE-NOTES index da1d22ea..f76a2372 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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) =============================== diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index c143fc63..e7aca8d5 100644 --- a/debugfs/ChangeLog +++ b/debugfs/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 + 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 diff --git a/debugfs/Makefile.in b/debugfs/Makefile.in index dad1f907..7cb8ceaa 100644 --- a/debugfs/Makefile.in +++ b/debugfs/Makefile.in @@ -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 \ diff --git a/doc/libext2fs.texinfo b/doc/libext2fs.texinfo index 0506e5c4..49094d5b 100644 --- a/doc/libext2fs.texinfo +++ b/doc/libext2fs.texinfo @@ -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 diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index 51db19bd..0c0435ba 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/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 + 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 diff --git a/e2fsck/Makefile.in b/e2fsck/Makefile.in index 9d0cbb13..4c4166c6 100644 --- a/e2fsck/Makefile.in +++ b/e2fsck/Makefile.in @@ -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 + diff --git a/e2fsprogs-1.08.lsm b/e2fsprogs-1.09.lsm index ff39e413..78f3af15 100644 --- a/e2fsprogs-1.08.lsm +++ b/e2fsprogs-1.09.lsm @@ -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 diff --git a/e2fsprogs-1.08.spec b/e2fsprogs-1.09.spec index b75943b0..01cde694 100644 --- a/e2fsprogs-1.08.spec +++ b/e2fsprogs-1.09.spec @@ -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 diff --git a/include/linux/ChangeLog b/include/linux/ChangeLog index 7656dfdf..5bfd6986 100644 --- a/include/linux/ChangeLog +++ b/include/linux/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 diff --git a/install-utils/ChangeLog b/install-utils/ChangeLog index aeff14f8..62d249c5 100644 --- a/install-utils/ChangeLog +++ b/install-utils/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 diff --git a/lib/ChangeLog b/lib/ChangeLog index aa723a3a..aa5a2f88 100644 --- a/lib/ChangeLog +++ b/lib/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 diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog index 1329eb37..0656914b 100644 --- a/lib/e2p/ChangeLog +++ b/lib/e2p/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 + 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 diff --git a/lib/et/ChangeLog b/lib/et/ChangeLog index a0f5fbf2..e33cab72 100644 --- a/lib/et/ChangeLog +++ b/lib/et/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 diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index e191b7d9..a30b2ba9 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -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 diff --git a/lib/ext2fs/Makefile.in b/lib/ext2fs/Makefile.in index cea8490e..348d6221 100644 --- a/lib/ext2fs/Makefile.in +++ b/lib/ext2fs/Makefile.in @@ -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 diff --git a/lib/ext2fs/alloc_tables.c b/lib/ext2fs/alloc_tables.c index 4bfc91d3..65c129f8 100644 --- a/lib/ext2fs/alloc_tables.c +++ b/lib/ext2fs/alloc_tables.c @@ -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 */ diff --git a/lib/ext2fs/initialize.c b/lib/ext2fs/initialize.c index 72f40eaa..874b1180 100644 --- a/lib/ext2fs/initialize.c +++ b/lib/ext2fs/initialize.c @@ -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. diff --git a/lib/ext2fs/version.c b/lib/ext2fs/version.c index df7236e1..38accf6b 100644 --- a/lib/ext2fs/version.c +++ b/lib/ext2fs/version.c @@ -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'); diff --git a/lib/ss/ChangeLog b/lib/ss/ChangeLog index e5467a01..d5b9e256 100644 --- a/lib/ss/ChangeLog +++ b/lib/ss/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 diff --git a/lib/ss/test_ss.c b/lib/ss/test_ss.c index f58e73fe..98cb2636 100644 --- a/lib/ss/test_ss.c +++ b/lib/ss/test_ss.c @@ -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 diff --git a/lib/uuid/ChangeLog b/lib/uuid/ChangeLog index 67395752..9e97cf23 100644 --- a/lib/uuid/ChangeLog +++ b/lib/uuid/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 diff --git a/misc/ChangeLog b/misc/ChangeLog index b761fb47..66ab5a4a 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -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 diff --git a/misc/Makefile.in b/misc/Makefile.in index 2bff4225..768ff560 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -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 - diff --git a/misc/chattr.1.in b/misc/chattr.1.in index ad38443a..af9d6a03 100644 --- a/misc/chattr.1.in +++ b/misc/chattr.1.in @@ -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 diff --git a/misc/chattr.c b/misc/chattr.c index 3bee82f3..60379a47 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -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) diff --git a/tests/ChangeLog b/tests/ChangeLog index 4ebb21e4..fd27671e 100644 --- a/tests/ChangeLog +++ b/tests/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 26 09:29:25 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> * e_icount_normal, e_icount_opt: New tests which validate the diff --git a/tests/progs/ChangeLog b/tests/progs/ChangeLog index 625919e6..2ddbf506 100644 --- a/tests/progs/ChangeLog +++ b/tests/progs/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 26 15:38:52 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> * test_icount.c: New file which tests the icount abstraction. @@ -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" |