Merge branch 'maint' into next

Conflicts:
	RELEASE-NOTES
	debian/changelog
	version.h
crypto
Theodore Ts'o 2014-05-18 23:05:37 -04:00
commit 0cdb66c8eb
35 changed files with 21003 additions and 14214 deletions

2
README
View File

@ -1,4 +1,4 @@
This is the new version (1.42.9) of the second extended file
This is the new version (1.42.10) of the second extended file
system management programs.
From time to time, I release new versions of e2fsprogs, to fix

View File

@ -18,6 +18,166 @@ needed by boot loadsers such as yaboot.
Support for the MMP feature can now be disabled at compile time.
E2fsprogs 1.42.10 (May 18, 2014)
================================
Mke2fs now creates file systems in regular files (which is very often
used when maintaining virtual machine images) without requiring the
user to use the force option. In addition, the mke2fs output has been
made much less verbose and only displays information that users will
be more likely to find useful by default.
Mke2fs now will ask the user to confirm that they want to continue
before wiping out a pre-existing file system, partition table, or LVM
physical volume.
Mke2fs now has the ability to create file systems where all the
metadata is located at the very beginning of the device. This can be
useful for flash devices which have SLC flash at the beginning of the
disk, for FAT compatibility, for example. As part of this, mke2fs and
tune2fs can control the location of the data blocks used by the
journal inode. In addition, the new sparse_super2 feature allows for
even fewer (anywhere from zero to two) backup superblocks.
Mke2fs now uses much less CPU when allocating the blocks used for very
large file systems.
Mke2fs can now support creating a file system at an offset. This can
be useful when creating a disk image for virtual machines (Addresses
Debian Bug: #497984)
Previously, e2fsck had a number of very serious bugs when checking a
file system wich used the new the quota file system option (where the
quota inodes were stored in hidden inodes) and the quota inode was
inconsistent with the actual usage data. This problem was documented
in https://ext4.wiki.kernel.org/index.php/Quota. These problems have
been fixed in 1.42.10, so the quota should be safe to use with
e2fsprogs 1.42.10.
Fixed in a bug in resize2fs which could cause shrink operation fail in
the unlikely situation when the inode table needs to be moved to a
location before the current location.
Resize2fs now has a much more accurate (and less conservative)
estimation of how far the file system can be shrunk. This allows a
mostly empty filesystem which is a few terabytes, to be shrunk to a
few megabytes in a single resize2fs -M operation.
E2fsck will now force a full file system check if there are any file
system inconsistencies detected in the super block.
The filefrag program will now display hte shared extent flag, which is
used by file systems such as btrfs.
If the number of inodes in the file systems is larger than the time
that file sytem was created (as measured by the number of seconds
since January 1, 1970) e2fsck would print a scary (but otherwise
harmless) warning of file system corruption for each inode in the
orphan list. This false positive has been fixed.
The e4defrag program has been fixed so it will no longer refuse with
filesystem with the 64-bit or the bigalloc feature enabled.
The logsave progam will print a much less scary message which could
lead users to believe something has gone very wrong with e2fsck exits
with a non-zero exit status (since this is normal after e2fsck has
automatically fixed a file system corruption during a preen
operation). (Addresses Debian Bug: #468821)
When creating a file system which is larger than 16TB, the
resize_inode option must be disabled -- since the resize_inode simply
doesn't support reserving metadata block numbers which is larger than
32 bits. The mke2fs program does this automatically if the file
system size is determined automatically. It will now also do this if
the file size is specified explicitly.
Fixed bugs associated with resize2fs and shrinking bigalloc file
systems.
The e2fsck program will no longer try to add a UUID on a mounted file
system with checksums enabled, since this could leave the file system
checksums broken.
Tune2fs will allow the removal of an external journal from file system
which is marked as needing the journal replayed when the force ("-f")
option is given twice. (Addresses Debian Bug: #559301)
Tune2fs will no longer support enabling sparse_super if the meta_bg
file system feature is enabled, since it could result in data loss.
In practice, all modern file systems have sparse_super is enabled, so
it's not worth trying to change how tune2fs handles enabling the
sparse_super feature.
Fixed support for 1k block file systems with the meta_bg feature.
When the superblock is corrupt, e2fsck can't figure out the location
of the alternate superblock. Unfortunately, the routine that
calculates the location of the alternate superblock uses 8193 if it
can't figure this out, so the message printed by e2fsck always
suggests using "e2fsck -b 8193". This message has been fixed to
suggest both the superblock location of 8193 and and 32768.
(Addresses Debian Bug: #719185)
The lookback mount detection code that was introduced in 1.42.9 wasn't
actually compiled in due to an autoconf oops, so it's fixed now in
1.42.10. (Addresses Debian Bug: #497984)
A bug introduced in 1.42.9 would cause debugfs to print two error
messages if it found an error while parsing a user-supplied block
number. This has been fixed in 1.42.10.
Update Czech, Dutch, French, German, Polish, Spanish, Sweedish, and
Vietnamese translations. (Addresses Debian Bug: #703048)
Updated/fixed various man pages. (Addresses Debian Bugs: #719189,
#719184)
Fixed various Debian Packaging Issues. (Addresses Debian Bug: #718725)
Programmer's Notes
------------------
Fixed a lot of coverity, sparce gcc -Wall, and clang warnings/nits.
Allow the location of pkg-config files to be specified independent of
the libdir location via a makefile variable.
Fixed parse-types.sh not to complain when cross-compiling and the
sizes of types are different between the target architecture and the
architecture of the build system
Allow the regression test suite to work correctly on systems which do
not have the "truncate" or "mksawp" programs.
Allow e2fsck to build correctly on systems (such as Android) that do
not have the signal.h file.
E2fsprogs now has code coverage testing which can be enbled using
"configure --enable-gcov".
The libe2p.h header file can now be used included by C++ programs.
The profile/config file used by e2fsck and mke2fs will interpret
numbers with a leading 0 character to mean that they should be
interpreted as an octal integer.
The extent handling functions in libext2fs have been improved so they
have proper rollback when there is an error splitting an extent. Also
fix a number of bugs when punching holes in files, and fix an
off-by-one bug when inserting an extent into an empty inode.
The libext2fs library now handles the support of BLOCK_UNINIT by
clearing the portion of block bitmap when it is loaded, instead of
when it is used. This reduces the chances of bugs, and and simplifies
the code. It also means that debugfs will properly show that blocks
in uninitialized block groups as being unused when using the testb
command.
The e4defrag program will try to use fadvise64 or posix_fadvise64() if
it is present, which allows 64-bit offsets on 32-bit systems.
E2fsprogs 1.42.9 (December 28, 2013)
====================================

47
debian/changelog vendored
View File

@ -1,9 +1,54 @@
e2fsprogs (1.43~WIP-2014-02-04-1) unstable; urgency=low
* Merge in updates from the maint branch (changes from 1.42.9-3)
* Merge in updates from the maint branch (changes from 1.42.10-1)
-- Theodore Y. Ts'o <tytso@mit.edu> Wed, 04 Feb 2014 23:31:56 -0500
e2fsprogs (1.42.10-1) unstable; urgency=medium
* New upstream version
* The mke2fs program no longer requires a force (-F) option when
when creating a file system in a regular file, since this is a very
common use case when managing virtual machine images
* The mke2fs program will now ask for confirmation before wiping out a
pre-existing file system, partition label, or physical volume
* Fix e2fsck so that it properly handles an inconsistent quota inode.
Previously the quota inode could be completely corrupted, and
missing quota records could be not noticed
* Fix mke2fs so if packed metadata blocks are enabled that the block
group checksum are set correctly
* Debugfs has new commands to allow the quota inode to be queried directly
* Tune2fs will allow removal of dirty journal with two "-f" options
(Closes: #559301)
* Fixed some off-line resize2fs bugs when relocating metadata blocks
when growing or shrinking bigalloc file systems
* Fixed resize2fs's calculation of the minimum required file system
size. This allows resize2fs -M to shrink the file system more
aggressively
* Fixed resize2fs to properly handle shrinking a very large and empty
file system to a very very small size
* Fixed e4defrag to work with 64-bit and bigalloc file systems
* Fixed e2fsck to not issue a large number of very scary (but
harmless) corruption messages when checking very large file systems
when the file system has more inodes than the number of seconds
since January 1, 1970.
* E2fsck will now check the whole file system if file system problems
are detected durings its initial "pass 0" sanity check
* Filefrag now prints the "shared extent" flag which is used by some
file systems such as btrfs
* The mke2fs program would previously correctly omit the resize_inode
feature when creating a file system > 16TB when the fs size was
determined automatically. It will now also do the right thing when
the user explicitly specifies the file system size.
* The message printed by logsave is now much less scary (Closes: #468821)
* Fix spelling typo in the package descriptions
* Update Czech, Dutch, French, German, Polish, Spanish, Sweedish, and
Vietnamese translations (Closes: #703048)
* Update/fix various man pages
* Fix debian/rules compatibility problem with GNU make 4.0
-- Theodore Y. Ts'o <tytso@mit.edu> Sun, 18 May 2014 22:54:38 -0400
e2fsprogs (1.42.9-3) unstable; urgency=medium
* Add the ability for mke2fs to create hugefiles

13
debian/rules vendored
View File

@ -111,6 +111,13 @@ INSTALL_PROGRAM ?= $(INSTALL) -p -o root -g root -m 0755
#INSTALL_PROGRAM += -s
#endif
ifneq (,$(findstring update-symbols,$(DEB_BUILD_OPTIONS)))
SYMBOL_LIBS := e2fslibs libcomerr2 libss2
ifneq ($(UTIL_LINUX_NG),yes)
SYMBOL_LIBS += libblkid1 libuuid1
endif
endif
DEFAULT_CFLAGS ?= -g -O2
DEFAULT_LDFLAGS ?= -Wl,-Bsymbolic-functions
@ -583,11 +590,6 @@ endif
dh_strip
# dpkg symbol handling
ifneq (,$(findstring update-symbols,$(DEB_BUILD_OPTIONS)))
SYMBOL_LIBS := e2fslibs libcomerr2 libss2
ifneq ($(UTIL_LINUX_NG),yes)
SYMBOL_LIBS += libblkid1 libuuid1
endif
for i in $(SYMBOL_LIBS); \
do \
echo "Generating symbols for $$i..."; \
@ -596,7 +598,6 @@ endif
patch debian/$$i.symbols < debian/$$i.tmp-patch; \
/bin/rm debian/$$i.tmp-patch; \
done
endif
for i in e2fsprogs e2fsprogs-dbg e2fslibs e2fslibs-dbg; do \
$(INSTALL) -p -m 0644 debian/copyright \

View File

@ -1,3 +1,4 @@
e2fsprogs source: weak-library-dev-dependency ss-dev on libss2 (= ${mainBinary})
e2fsprogs source: weak-library-dev-dependency comerr-dev on libcomerr2 (= ${mainBinary})
e2fsprogs source: weak-library-dev-dependency uuid-dev on libuuid1 (= ${mainBinary})
e2fsprogs source: source-is-missing misc/util.o

View File

@ -1,7 +1,7 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename libext2fs.info
@settitle The EXT2FS Library (version 1.42.9)
@settitle The EXT2FS Library (version 1.42.10)
@synindex tp fn
@comment %**end of header
@ -30,7 +30,7 @@ This file documents the ext2fs library, a library for manipulating the
ext2 filesystem.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Theodore Ts'o
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 by Theodore Ts'o
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@ -60,8 +60,8 @@ by the author.
@title The EXT2FS Library
@subtitle The EXT2FS Library
@subtitle Version 1.42.9
@subtitle December 2013
@subtitle Version 1.42.10
@subtitle May 2014
@author by Theodore Ts'o
@ -77,7 +77,7 @@ by the author.
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Theodore Ts'o
2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Theodore Ts'o
@sp 2
@ -101,7 +101,7 @@ by the Foundation.
@top The EXT2FS Library
This manual documents the EXT2FS Library, version 1.42.9.
This manual documents the EXT2FS Library, version 1.42.10.
@menu
* Introduction to the EXT2FS Library::

View File

@ -1,16 +1,16 @@
Begin3
Title: EXT2 Filesystem utilities
Version: 1.42.9
Entered-date: 28Dec2013
Version: 1.42.10
Entered-date: 18May2014
Description: The filesystem utilities for the EXT2, EXT3, and EXT4
filesystems, including e2fsck, mke2fs, dumpe2fs, and others.
Keywords: utilities, filesystem, Ext2fs, ext3, ext4
Author: tytso@mit.edu (Theodore Tso)
Maintained-by: tytso@mit.edu (Theodore Tso)
Primary-site: download.sourceforge.net /pub/sourceforge/e2fsprogs
5928kB e2fsprogs-1.42.9.tar.gz
564kB e2fsprogs-libs-1.42.9.tar.gz
1kB e2fsprogs-1.42.9.lsm
5984kB e2fsprogs-1.42.10.tar.gz
568kB e2fsprogs-libs-1.42.10.tar.gz
1kB e2fsprogs-1.42.10.lsm
Alternate-site:
Platforms: linux 1.2.x/1.3.x/2.0.x/2.1.x/2.2.x/2.3.x/2.4.x/2.5.x/2.6.x/3.x
Copying-policy: GPL-2/LGPL-2

BIN
po/ca.gmo

Binary file not shown.

2543
po/ca.po

File diff suppressed because it is too large Load Diff

BIN
po/cs.gmo

Binary file not shown.

2487
po/cs.po

File diff suppressed because it is too large Load Diff

BIN
po/de.gmo

Binary file not shown.

2790
po/de.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
po/es.gmo

Binary file not shown.

2774
po/es.po

File diff suppressed because it is too large Load Diff

BIN
po/fr.gmo

Binary file not shown.

2701
po/fr.po

File diff suppressed because it is too large Load Diff

BIN
po/id.gmo

Binary file not shown.

2450
po/id.po

File diff suppressed because it is too large Load Diff

BIN
po/it.gmo

Binary file not shown.

2460
po/it.po

File diff suppressed because it is too large Load Diff

BIN
po/nl.gmo

Binary file not shown.

2686
po/nl.po

File diff suppressed because it is too large Load Diff

BIN
po/pl.gmo

Binary file not shown.

2438
po/pl.po

File diff suppressed because it is too large Load Diff

BIN
po/sv.gmo

Binary file not shown.

2448
po/sv.po

File diff suppressed because it is too large Load Diff

BIN
po/tr.gmo

Binary file not shown.

2462
po/tr.po

File diff suppressed because it is too large Load Diff

BIN
po/vi.gmo

Binary file not shown.

2546
po/vi.po

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -8,4 +8,4 @@
*/
#define E2FSPROGS_VERSION "1.43-WIP"
#define E2FSPROGS_DATE "4-Feb-2014"
#define E2FSPROGS_DATE "18-May-2014"