Many files:

Checked in e2fsprogs 1.09
bitmap-optimize
Theodore Ts'o 1997-04-29 17:57:00 +00:00
parent 521e368572
commit 2ecc6fefa1
32 changed files with 248 additions and 164 deletions

24
.release-checklist Normal file
View File

@ -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

View 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

View 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.

2
README
View File

@ -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

View 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)
===============================

View 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

View 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 \

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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 \
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 \
$(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 \
$(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 \
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
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 \
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
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_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
dblist_dir.o: $(srcdir)/dblist_dir.c \
$(srcdir)/ext2fsP.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 \
$(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 \
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
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 \
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
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 \
$(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
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
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 \
$(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 \
$(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 \
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
namei.o: $(srcdir)/namei.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
native.o: $(srcdir)/native.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
newdir.o: $(srcdir)/newdir.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
openfs.o: $(srcdir)/openfs.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
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 \
$(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 \
$(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 \
$(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 \
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 \
$(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

View 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
*/

View File

@ -198,6 +198,17 @@ retry:
fs->group_desc_count;
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

View 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');

View 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

View 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

View 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

View 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

View 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

View 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

View 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)

View 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

View 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.

View File

@ -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"