mirror of https://github.com/vitalif/e2fsprogs
parent
7fd86d2d5c
commit
24757fa046
18
COPYING
18
COPYING
|
@ -1,14 +1,14 @@
|
||||||
This package, the EXT2 filesystem utilities, are protected by the GNU
|
This package, the EXT2 filesystem utilities, are protected by the GNU
|
||||||
Public License, with the following exception ---
|
Public License, with the following exception ---
|
||||||
|
|
||||||
If the version string in the file version.h contains the words
|
If the version string in the file version.h contains the
|
||||||
"WORK IN PROGRESS", then this package must be distributed in
|
string "pre-", then this package must be distributed in source
|
||||||
source form only. You can give a copy of the binary for
|
form only. You can give a copy of the binary for e2fsck to
|
||||||
e2fsck to help a friend recover his or her filesystem, as the
|
help a friend recover his or her filesystem, as the need
|
||||||
need arises. However, "WORK IN PROGRESS" means exactly that.
|
arises. However, "pre" indicates that this release is under
|
||||||
The package is in ALPHA testing, and for your protection as
|
development, and availble for ALPHA testing. So for your
|
||||||
much as mine, I'd rather not have it appear in a some
|
protection as much as mine, I'd rather not have it appear in a
|
||||||
distribution --- especially not a CD-ROM distribution!
|
some distribution --- especially not a CD-ROM distribution!
|
||||||
|
|
||||||
The most recent officially distributed version can be found on
|
The most recent officially distributed version can be found on
|
||||||
tsx-11.mit.edu, in /pub/linux/packages/ext2fs. If you need to make a
|
tsx-11.mit.edu, in /pub/linux/packages/ext2fs. If you need to make a
|
||||||
|
@ -20,4 +20,4 @@ this package are flexible, if you give me enough lead time.
|
||||||
|
|
||||||
|
|
||||||
Theodore Ts'o
|
Theodore Ts'o
|
||||||
17-Aug-94
|
26-Mar-97
|
||||||
|
|
|
@ -89,7 +89,8 @@ distribution_tar_file:
|
||||||
(cd /tmp/dest; $(TAR) cf - . ) | gzip -9 \
|
(cd /tmp/dest; $(TAR) cf - . ) | gzip -9 \
|
||||||
> e2fsprogs-@E2FSPROGS_VERSION@-@BINARY_TYPE@.tar.gz
|
> e2fsprogs-@E2FSPROGS_VERSION@-@BINARY_TYPE@.tar.gz
|
||||||
|
|
||||||
SRCROOT = `echo e2fsprogs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//'`
|
SRCROOT = `echo e2fsprogs-@E2FSPROGS_VERSION@ | sed -e 's/-WIP//' \
|
||||||
|
-e 's/pre-//'`
|
||||||
|
|
||||||
$(srcdir)/.exclude-file:
|
$(srcdir)/.exclude-file:
|
||||||
(cd $(srcdir)/.. ; find $(SRCROOT) \( -name \*~ -o -name \*.orig \
|
(cd $(srcdir)/.. ; find $(SRCROOT) \( -name \*~ -o -name \*.orig \
|
||||||
|
|
2
README
2
README
|
@ -1,4 +1,4 @@
|
||||||
This is the new version (1.07) of the second extended file system
|
This is the new version (1.08) of the second extended file system
|
||||||
management programs.
|
management programs.
|
||||||
|
|
||||||
See the file INSTALL for installation instructions. This is
|
See the file INSTALL for installation instructions. This is
|
||||||
|
|
|
@ -1,3 +1,78 @@
|
||||||
|
E2fsprogs 1.08 (April 10, 1997)
|
||||||
|
===============================
|
||||||
|
|
||||||
|
E2fsck 1.07 was very slow when checking very large filesystems with a
|
||||||
|
lot of files that had hard links (i.e., news spools). This was fixed
|
||||||
|
by seriously revamping the icount abstraction. Added a formal test
|
||||||
|
suite for the icount abstraction.
|
||||||
|
|
||||||
|
Debugfs now has a "-l" option to the "ls" command, which lists the
|
||||||
|
inode number, permissions, owner, group, size, and name of the files
|
||||||
|
in the directory.
|
||||||
|
|
||||||
|
Fix a bug in e2fsck where when a directory had its blocks moved to
|
||||||
|
another location during the pass 1b processing, the directory block
|
||||||
|
list wasn't updated, so pass 2 wouldn't check (and correct) the
|
||||||
|
correct directory block.
|
||||||
|
|
||||||
|
E2fsck will now treat inodes which contain blocks which are claimed by
|
||||||
|
the filesystem metadata by treating them as multiply claimed blocks.
|
||||||
|
This way, the data in those blocks can be copied to a new block during
|
||||||
|
the pass 1b--1d processing.
|
||||||
|
|
||||||
|
E2fsck will attempt to determine the correct superblock number and
|
||||||
|
display it in the diagnostic and warning messages if possible.
|
||||||
|
|
||||||
|
Add support for a new (incompatible) feature, "sparse_super". This
|
||||||
|
feature reduces the number of blocks which contain copies of backup
|
||||||
|
superblocks and block group descriptors. (It is only an incompatible
|
||||||
|
feature because of a bug in ext2_free_blocks.) mke2fs and tune2fs now
|
||||||
|
support a new -s option; e2fsck will recognize filesystems built with
|
||||||
|
this feature turned on.
|
||||||
|
|
||||||
|
E2fsck now checks the library to make sure is the correct version,
|
||||||
|
using new library functions. (This helps to diagnose incorrectly
|
||||||
|
installed e2fsprogs distributions.)
|
||||||
|
|
||||||
|
Dumpe2fs now prints more information; its now prints the the
|
||||||
|
filesystem revision number, the filesystem sparse_super feature (if
|
||||||
|
present), the block ranges for each block group, and the offset from
|
||||||
|
the beginning of the block group.
|
||||||
|
|
||||||
|
Mke2fs now distributes the inode and block bitmap blok so that the
|
||||||
|
won't be concentrated in one or two disks in RAID/striping setups.
|
||||||
|
Also, if the user chooses a 2k or 4k block group, mke2fs will try to
|
||||||
|
choose the largest blocks per group that be chosen. (For 2k blocks,
|
||||||
|
you can have up to 16384 blocks/group; for 4k blocks, you can have up
|
||||||
|
to 32768 blocks/group.) Previously mke2fs would not allow
|
||||||
|
specification of more than 8192 blocks per group, even if you were
|
||||||
|
using a 2k or 4k block group.
|
||||||
|
|
||||||
|
Programmer's notes:
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
Added a new function ext2fs_create_icount2() which takes a "hint"
|
||||||
|
argument. This hint argument presets the icount array with the list
|
||||||
|
of inodes which actually need to be in the icount array. This really
|
||||||
|
helps to speed up e2fsck.
|
||||||
|
|
||||||
|
Added a new function ext2fs_icount_validate() which checks the rep
|
||||||
|
invariant for the icount structure. This is used mostly for testing.
|
||||||
|
|
||||||
|
The error mesasage given when a bad inode number is passed to
|
||||||
|
test_generic_bitmap to reflect EXT2FS_TEST_ERROR (instead of
|
||||||
|
EXT2FS_UNMARK_ERROR).
|
||||||
|
|
||||||
|
Added a new function ext2fs_set_dir_block which sets the block of a
|
||||||
|
dblist entry, given the directory inode and blockcnt.
|
||||||
|
|
||||||
|
Added a new function ext2fs_get_library_version() which returns the
|
||||||
|
current library version, and ext2fs_parse_version_string() which
|
||||||
|
returns a version number based on a e2fsprogs version string.
|
||||||
|
|
||||||
|
The icount functions will return EINVAL if the passed in inode number
|
||||||
|
is out of bounds.
|
||||||
|
|
||||||
E2fsprogs 1.07 (March 9, 1997)
|
E2fsprogs 1.07 (March 9, 1997)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
|
|
@ -1,93 +0,0 @@
|
||||||
Summary: Tools for the second extended (ext2) filesystem
|
|
||||||
Name: e2fsprogs
|
|
||||||
Version: 1.07
|
|
||||||
Release: 0
|
|
||||||
Copyright: GPL
|
|
||||||
Group: Utilities/System
|
|
||||||
Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.07.tar.gz
|
|
||||||
BuildRoot: /tmp/e2fsprogs-root
|
|
||||||
|
|
||||||
%description
|
|
||||||
This package includes a number of utilities for creating, checking,
|
|
||||||
and repairing ext2 filesystems.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: e2fs static libs and headers
|
|
||||||
Group: Development/Libraries
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
Libraries and header files needed to develop ext2 filesystem-specific
|
|
||||||
programs.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup
|
|
||||||
|
|
||||||
%build
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
|
|
||||||
|
|
||||||
make libs progs docs
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH=/sbin:$PATH
|
|
||||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
|
||||||
make install-libs DESTDIR="$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
mv $RPM_BUILD_ROOT/usr/sbin/debugfs $RPM_BUILD_ROOT/sbin/debugfs
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
|
||||||
/sbin/e2fsck
|
|
||||||
/sbin/fsck.ext2
|
|
||||||
/usr/man/man8/e2fsck.8
|
|
||||||
/sbin/debugfs
|
|
||||||
/usr/man/man8/debugfs.8
|
|
||||||
/sbin/mke2fs
|
|
||||||
/sbin/badblocks
|
|
||||||
/sbin/tune2fs
|
|
||||||
/sbin/dumpe2fs
|
|
||||||
/sbin/fsck
|
|
||||||
/usr/sbin/mklost+found
|
|
||||||
/sbin/mkfs.ext2
|
|
||||||
|
|
||||||
/lib/libe2p.so.2.2
|
|
||||||
/lib/libext2fs.so.2.2
|
|
||||||
/lib/libss.so.2.0
|
|
||||||
/lib/libcom_err.so.2.0
|
|
||||||
/lib/libuuid.so.1.1
|
|
||||||
|
|
||||||
/usr/bin/chattr
|
|
||||||
/usr/bin/lsattr
|
|
||||||
/usr/man/man8/tune2fs.8
|
|
||||||
/usr/man/man8/mklost+found.8
|
|
||||||
/usr/man/man8/mke2fs.8
|
|
||||||
/usr/man/man8/dumpe2fs.8
|
|
||||||
/usr/man/man8/badblocks.8
|
|
||||||
/usr/man/man8/fsck.8
|
|
||||||
/usr/man/man1/chattr.1
|
|
||||||
/usr/man/man1/lsattr.1
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
/usr/info/libext2fs.info*
|
|
||||||
/usr/lib/libe2p.a
|
|
||||||
/usr/lib/libext2fs.a
|
|
||||||
/usr/lib/libss.a
|
|
||||||
/usr/lib/libcom_err.a
|
|
||||||
/usr/lib/libuuid.a
|
|
||||||
/usr/include/ss
|
|
||||||
/usr/include/ext2fs
|
|
||||||
/usr/include/et
|
|
||||||
/usr/include/uuid
|
|
||||||
/usr/lib/libe2p.so
|
|
||||||
/usr/lib/libext2fs.so
|
|
||||||
/usr/lib/libss.so
|
|
||||||
/usr/lib/libcom_err.so
|
|
||||||
/usr/lib/libuuid.so
|
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
Begin3
|
Begin3
|
||||||
Title: EXT2 Filesystem utilities
|
Title: EXT2 Filesystem utilities
|
||||||
Version: 1.07
|
Version: 1.08
|
||||||
Entered-date: 14Mar97
|
Entered-date: 11Apr97
|
||||||
Description: The filesystem utilities for the EXT2 filesystem, including
|
Description: The filesystem utilities for the EXT2 filesystem, including
|
||||||
e2fsck, mke2fs, dumpe2fs, fsck, and others.
|
e2fsck, mke2fs, dumpe2fs, fsck, and others.
|
||||||
Keywords: utilities, fsck, filesystem, Ext2fs
|
Keywords: utilities, fsck, filesystem, Ext2fs
|
||||||
Author: tytso@mit.edu (Theodore Tso)
|
Author: tytso@mit.edu (Theodore Tso)
|
||||||
Maintained-by: tytso@mit.edu (Theodore Tso)
|
Maintained-by: tytso@mit.edu (Theodore Tso)
|
||||||
Primary-site: tsx-11.mit.edu /pub/linux/packages/ext2fs
|
Primary-site: tsx-11.mit.edu /pub/linux/packages/ext2fs
|
||||||
620kB e2fsprogs-1.07.tar.gz
|
630kB e2fsprogs-1.08.tar.gz
|
||||||
222kB e2fsprogs-1.07-elfbin.tar.gz
|
227kB e2fsprogs-1.08-elfbin.tar.gz
|
||||||
199kB e2fsprogs-1.07-0.i386.rpm
|
211kB e2fsprogs-1.08-0.i386.rpm
|
||||||
68kB e2fsprogs-devel-1.07-0.i386.rpm
|
71kB e2fsprogs-devel-1.08-0.i386.rpm
|
||||||
622kB e2fsprogs-1.07-0.src.rpm
|
632kB e2fsprogs-1.08-0.src.rpm
|
||||||
1kB e2fsprogs-1.07.lsm
|
1kB e2fsprogs-1.08.lsm
|
||||||
Alternate-site:
|
Alternate-site:
|
||||||
Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x
|
Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x
|
||||||
Copying-policy: GPL
|
Copying-policy: GPL
|
|
@ -0,0 +1,94 @@
|
||||||
|
Summary: Tools for the second extended (ext2) filesystem
|
||||||
|
Name: e2fsprogs
|
||||||
|
Version: 1.08
|
||||||
|
Release: 0
|
||||||
|
Copyright: GPL
|
||||||
|
Group: Utilities/System
|
||||||
|
Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.08.tar.gz
|
||||||
|
BuildRoot: /tmp/e2fsprogs-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package includes a number of utilities for creating, checking,
|
||||||
|
and repairing ext2 filesystems.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: e2fs static libs and headers
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Libraries and header files needed to develop ext2 filesystem-specific
|
||||||
|
programs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-elf-shlibs
|
||||||
|
|
||||||
|
make libs progs docs
|
||||||
|
|
||||||
|
%install
|
||||||
|
export PATH=/sbin:$PATH
|
||||||
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||||
|
make install-libs DESTDIR="$RPM_BUILD_ROOT"
|
||||||
|
|
||||||
|
mv $RPM_BUILD_ROOT/usr/sbin/debugfs $RPM_BUILD_ROOT/sbin/debugfs
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README RELEASE-NOTES
|
||||||
|
%attr(-, root, root) /sbin/e2fsck
|
||||||
|
%attr(-, root, root) /sbin/fsck.ext2
|
||||||
|
%attr(-, root, root) /sbin/debugfs
|
||||||
|
%attr(-, root, root) /sbin/mke2fs
|
||||||
|
%attr(-, root, root) /sbin/badblocks
|
||||||
|
%attr(-, root, root) /sbin/tune2fs
|
||||||
|
%attr(-, root, root) /sbin/dumpe2fs
|
||||||
|
%attr(-, root, root) /sbin/fsck
|
||||||
|
%attr(-, root, root) /usr/sbin/mklost+found
|
||||||
|
%attr(-, root, root) /sbin/mkfs.ext2
|
||||||
|
|
||||||
|
%attr(-, root, root) /lib/libe2p.so.2.3
|
||||||
|
%attr(-, root, root) /lib/libext2fs.so.2.3
|
||||||
|
%attr(-, root, root) /lib/libss.so.2.0
|
||||||
|
%attr(-, root, root) /lib/libcom_err.so.2.0
|
||||||
|
%attr(-, root, root) /lib/libuuid.so.1.1
|
||||||
|
|
||||||
|
%attr(-, root, root) /usr/bin/chattr
|
||||||
|
%attr(-, root, root) /usr/bin/lsattr
|
||||||
|
%attr(-, root, root) /usr/man/man8/e2fsck.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/debugfs.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/tune2fs.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/mklost+found.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/mke2fs.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/dumpe2fs.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/badblocks.8
|
||||||
|
%attr(-, root, root) /usr/man/man8/fsck.8
|
||||||
|
%attr(-, root, root) /usr/man/man1/chattr.1
|
||||||
|
%attr(-, root, root) /usr/man/man1/lsattr.1
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%attr(-, root, root) /usr/info/libext2fs.info*
|
||||||
|
%attr(-, root, root) /usr/lib/libe2p.a
|
||||||
|
%attr(-, root, root) /usr/lib/libext2fs.a
|
||||||
|
%attr(-, root, root) /usr/lib/libss.a
|
||||||
|
%attr(-, root, root) /usr/lib/libcom_err.a
|
||||||
|
%attr(-, root, root) /usr/lib/libuuid.a
|
||||||
|
%attr(-, root, root) /usr/include/ss
|
||||||
|
%attr(-, root, root) /usr/include/ext2fs
|
||||||
|
%attr(-, root, root) /usr/include/et
|
||||||
|
%attr(-, root, root) /usr/include/uuid
|
||||||
|
%attr(-, root, root) /usr/lib/libe2p.so
|
||||||
|
%attr(-, root, root) /usr/lib/libext2fs.so
|
||||||
|
%attr(-, root, root) /usr/lib/libss.so
|
||||||
|
%attr(-, root, root) /usr/lib/libcom_err.so
|
||||||
|
%attr(-, root, root) /usr/lib/libuuid.so
|
||||||
|
|
Loading…
Reference in New Issue