• Home
  • History
  • Annotate
  • only in /external/e2fsprogs/lib/e2p/
History log of /external/e2fsprogs/lib/e2p/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d25948b9b4a9e361ef071dc8175df0407f60b7e0 21-Nov-2014 JP Abgrall <jpa@google.com> tune2fs: Allow building it as a static lib

This allows getting all of tune2fs as a static library.
The entry point is
int tune2fs_main(int argc, char **argv).
It requires passing argv[0]="tune2fs" to get tune2fs behavior.

Bug: 18430740
Change-Id: I7bf8d96c53066a4da37778c0d67383b0b820e2ff
ndroid.mk
e0ed7404719a9ddd2ba427a80db5365c8bad18c0 20-Mar-2014 JP Abgrall <jpa@google.com> Switch back to 1.42.9 now that there is a fix

Revert "Revert changes that moved from 1.41.14 to 1.42.9"

This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
ODULE_LICENSE_LGPL
akefile.in
2p.h
2p.pc.in
eature.c
getflags.c
setflags.c
etflags.c
etversion.c
s.c
ntopts.c
arse_num.c
f.c
etflags.c
65f0aab98b20b5994a726ab90d355248bcddfffd 06-Mar-2014 JP Abgrall <jpa@google.com> Revert changes that moved from 1.41.14 to 1.42.9

Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H"
commit e80e74c41d85ff93f3d212ba6512340f48054a93.

Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master"
This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing
changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Revert "Prepare for upstream 1.42.9"
This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Bug: 13340735
Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8
Signed-off-by: JP Abgrall <jpa@google.com>
ODULE_LICENSE_LGPL
akefile.in
2p.h
2p.pc.in
eature.c
getflags.c
setflags.c
etflags.c
etversion.c
s.c
ntopts.c
arse_num.c
f.c
etflags.c
18a1444b4f1e6a0948fd38fa0de382d86cfe04de 31-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add files that would normally be generated by the e2fsprogs build system

Android doesn't run ./configure and friends, so it has to rely on
pre-populated versions of the autogenerated files.

This is somewhat bogus (e.g. hardcoded little-endian reference in
lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's
what Android has always done, not a regression from the 1.41.14 branch.

Also, don't #include config.h which we don't generate (we pass what it
usually contains as -D parameters from Android.mk) anywhere.

Add a new Android.mk file for the quota library.

Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
eature.c
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
ashstr.c
od.c
s.c
ntopts.c
stype.c
arse_num.c
e.c
ercent.c
f.c
s.c
etflags.c
etversion.c
uid.c
5fe0b41dba699fa14432a633c863ea8cb7bf3f5d 31-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Re-add Android makefiles from AOSP master

Change-Id: I6c6dbe11baa395442f4cf845ad39801f1c426129
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
ndroid.mk
11d1116a7c0b833af317249d12025413fecbcd70 23-Dec-2013 Andreas Dilger <adilger@dilger.ca> e2fsck: verify s_desc_size is power-of-two value

Add a LOG2_CHECK mode for check_super_value() so that it is easy
to verify values that are supposed to be power-of-two values
(s_desc_size and s_inode_size so far). In ext2fs_check_desc()
also check for a power-of-two s_desc_size.

Print out s_desc_size in debugfs "stats" and dumpe2fs output, if
it is non-zero.

It turns out that the s_desc_size validation in check_super_block()
is not currently used by e2fsck, because the group descriptors are
verified earlier by ext2fs_check_desc(), and even without an
explicit check of s_desc_size the group descriptors fail to align
correctly on disk. It makes sense to keep the check_super_block()
regardless, in case the code changes at some point in the future.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
832cb612f8c1c10525fe438206d4fe5c6d38a4e7 12-Oct-2013 Darrick J. Wong <darrick.wong@oracle.com> e2fsprogs: add (optional) sparse checking to the build

Run sparse against source files when building e2fsprogs with 'make C=1'. If
instead C=2, it configures basic ext2 types for bitwise checking with sparse,
which can help find the (many many) spots where conversion errors are
(possibly) happening.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
9e20cf223ad6e44536f7e3116413cc8a445618c7 25-Feb-2013 Jan Kara <jack@suse.cz> e2p: Fix 's' handling in parse_num_blocks2()

parse_num_blocks2() wrongly did:
num << 1;
when log_block_size < 0. That is obviously wrong as such statement has
no effect (and the compiler properly warns about it). Callers expect
returned value to be in bytes when log_block_size < 0 so fix the
statement accordingly.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
arse_num.c
35d886b67947dcb802da09306b6a85f1e9f99865 15-Jan-2013 Theodore Ts'o <tytso@mit.edu> libe2p: teach parse_num_blocks2() to return bytes if log_block_size < 0

Previously the behavior of parse_num_block2 was undefined if
log_block_size was less than zero. It will now return a number in
units of bytes.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
arse_num.c
e3507739e4185bdb2394928eb6479e48f4e690a8 01-Jan-2013 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits

This fixes the last set of gcc -Wall complaints.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
etversion.c
0796e660859724f304155e094b6cf5739a610ae4 12-Jun-2012 Theodore Ts'o <tytso@mit.edu> lsattr, chattr: add support for btrfs's No_COW flag

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
f.c
8c778b3acd885c79d76d94b4ba0b7fad7b031607 21-May-2012 Theodore Ts'o <tytso@mit.edu> libe2p: teach e2p_jrnl_feature2string() about the 64-bit journal feature

This will allow dumpe2fs to correctly display the 64-bit journal
feature, if it is enabled.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
ae06582867e1a30d3f8ac2641e9f4cca8091b385 14-May-2012 Theodore Ts'o <tytso@mit.edu> Change pkg-config files so that both <et/com_err.h> and <com_err.h> work

Change the include path in the Cflags field so that #include
<lib/foo.h> and <foo.h> will work. We had originally used a C flags
which allowed <foo.h> to work, but many applications (especially those
not using pkg-config) had been using the <lob/foo.h> formulation which
didn't require an explicit -I{$includedir} option to the C compiler.

If those applications then converted over to pkg-config, and the
e2fsprogs libraries were installed with a prefix other than /usr, so
that the header files were in some directory such as
/usr/local/include, a program that used #include <lib/foo.h> would
fail to compile.

So change the pkg-config files to include both -I{$includedir} and
-I{$includir}/lib.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.pc.in
660b4c3b3fd78d0da408643b9c09b47becb5521a 12-May-2012 Theodore Ts'o <tytso@mit.edu> Reserve the codepoints for the INCOMPAT features LARGEDATA and INLINEDATA

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
991211f676f49c6cf30af368dade2f81287f1fa8 17-Feb-2012 Theodore Ts'o <tytso@mit.edu> libext2fs, libe2p: Reserve RO_COMPAT_REPLICA feature

The replica is a feature which stores multiple copies of the key
metadata blocks so a single block failure in failure-prone media
(read: certain types of flash storage) doesn't take out the entire
file system.

Discussion on the upstream list proved not to be very positive on this
feature; the arguments were that it added complexity that wasn't
warrented, since common practice in industry is to insist on reliable
media, and if media is unreliable, you're kind of toast anyway (unless
the file system is being used as the back-end store of a cluster file
system where checksuming and data replication is happening above the
local disk file system level). So, this feature is being developed
out of tree.

We reserve the code points so that other people won't accidentally
step on them. Since it's not upstream, it's a soft reservation, but
it's not like we have any shortage of RO_COMPAT features. We are a
bit more tight on reserved inodes, but EXT2_BOOT_LOADER_INO and
EXT2_UNDEL_DIR_INO are not currently used anywhere, and
EXT2_EXCLUDE_INO is a reservation for another out-of-tree feature.
There are no features currently being discussed which require a
reserved inode, but if a need were to arise, we can claw back code
point reservations that were never used or not in tree, as those will
always be considered lower priority than in-tree features.

Cc: Aditya Kali <adityakali@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
0f5eba7501f467f757792ee449d16c9259b994fd 24-Sep-2011 Andreas Dilger <adilger@whamcloud.com> ext2fs: add multi-mount protection (INCOMPAT_MMP)

Multi-mount protection is feature that allows mke2fs, e2fsck, and
others to detect if the filesystem is mounted on a remote node (on
SAN disks) and avoid corrupting the filesystem. For e2fsprogs this
means that it checks the MMP block to see if the filesystem is in use,
and marks the filesystem busy while e2fsck is running on the system.

This is useful on SAN disks that are shared between high-availability
servers, or accessible by multiple nodes that aren't in HA pairs. MMP
isn't intended to serve as a primary HA exclusion mechanism, but as a
failsafe to protect against user, software, or hardware errors.

There is no requirement that e2fsck updates the MMP block at regular
intervals, but e2fsck does this occasionally to provide useful
information to the sysadmin in case of a detected conflict.

For the kernel (since Linux 3.0) MMP adds a "heartbeat" mechanism to
periodically write to disk (every few seconds by default) to notify
other nodes that the filesystem is still in use and unsafe to modify.

Originally-by: Kalpak Shah <kalpak@clusterfs.com>

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
eature.c
s.c
d1154eb460efe588eaed3d439c1caaca149fa362 18-Sep-2011 Theodore Ts'o <tytso@mit.edu> Shorten compile commands run by the build system

The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.

So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.

In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
eature.c
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
ashstr.c
od.c
s.c
ntopts.c
stype.c
arse_num.c
e.c
ercent.c
f.c
s.c
etflags.c
etversion.c
uid.c
06e41ddea9aa7d01c9804d0da162a00efdc42d84 16-Sep-2011 Eric Sandeen <sandeen@redhat.com> libe2p: reach unreachable code

The EOPNOTSUPP case is unreachable, being outside a set of:
#if
...
return;
#else
...
return;
#endif

Fix this up so that if neither HAVE_CHFLAGS nor
HAVE_EXT2_IOCTLS applies, we set EOPNOTSUPP.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
etflags.c
9e30fb23ef85d6b2a58527048cc9208405a38299 16-Sep-2011 Eric Sandeen <sandeen@redhat.com> e2fsprogs: annotate intentional fallthroughs in case statements

Using the /* fallthrough */ comment lets Coverity (and humans)
know that we really do want to fall through in these case statements.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
eature.c
ntopts.c
arse_num.c
16c581d0e8d931f3cf0005de07481d7380ca4c0c 15-Sep-2011 Theodore Ts'o <tytso@mit.edu> debugfs: add 64-bit support to the set_field commands

The set_fields commands (set_super_value, set_inode_field,
set_block_group) now handle fields which store in split fields on
ext4's on-disk format. For example, the superblock fields
s_blocks_count and s_blocks_count_hi.

The user can either set the low or high part of the field via
"blocks_count_lo" or "blocks_count_hi", or both parts can be set via
"blocks_count".

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
89efc88e65136ece22708cc28ec4124a33feeecd 15-Sep-2011 Theodore Ts'o <tytso@mit.edu> libext2fs: add metadata checksum and snapshot feature flags

Reserve EXT4_FEATURE_RO_COMPAT_METADATA_CSUM and
EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP. Also reserve fields in the
superblock and the inode for the checksums. In the block group
descriptor, reserve the exclude bitmap field for the snapshot feature,
and checksums for the inode and block allocation bitmaps.

With this commit, the metadata checksum and exclude bitmap features
should have reserved all of the fields they need in ext4's on-disk
format.

This commit also fixes an a missing byte swap for s_overhead_blocks.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: Amir Goldstein <amir73il@gmail.com>
eature.c
s.c
75405ffde6f87f88c7172bfb431ec085c542ec1a 16-Sep-2011 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
63165136eab4ef01dae295c8e290c2a3853c936b 15-Sep-2011 Theodore Ts'o <tytso@mit.edu> libe2p: fix bug so that MNTOPT_ options can be successfully parsed

Thanks to Israel G. Lugo for pointing this out.

Addresses-Debian-Bug: #641667

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
ntopts.c
a1a769987b0604d8836541cefe89661ec8db02c7 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> misc: fix compile warnings on OSX

The BLKFLSBUF and FDFLUSH ioctls are Linux specific, and do not
really have anything to do with __GNUC__ (which is also used on
OS/X and Solaris). Only print these warnings on Linux systems.

statfs64() is deprecated on OSX and generates a deliberate warning.
Fix some other warnings that show up on OSX builds.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
getflags.c
setflags.c
etflags.c
etflags.c
cf5301d7f2c3bbed3d26600335102414cbf0c4ba 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> misc: clean up compiler warnings

Fix several types of compiler warnings (unused variables/labels),
uninitialized variables, etc that are hit with gcc -Wall.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
s.c
5af9eeaa7d36dd6f3a434697747ba8db3434eced 18-Mar-2011 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
lib/e2p/ls.c
4df1618250349dbe71f9474c42d52d7d03cc68a0 18-Mar-2011 Theodore Ts'o <tytso@mit.edu> add new superblock field: s_overhead_blocks

It turns out that it's very hard to calculate overheads in the face of
clustered allocation (bigalloc). This is because multiple metadata
blocks from different block groups can end up in the same allocation
cluster. Calculating the exact overhead requires O(all block bitmaps)
in memory, or O(number of block groups**2) in time. So we will
calculate this at mkfs time and stash it in the superblock.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
829d9994880394e48c883510799b1536812d6efb 28-Feb-2011 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
lib/ext2fs/initialize.c
412376efff3c0e0c2fea00666c2457e6f2ae1878 26-Feb-2011 Theodore Ts'o <tytso@mit.edu> Add basic BIGALLOC support for cluster-based allocation

This adds the superblock fields needed so that dumpe2fs works and the
code points and renames the superblock fields from describing
fragments to clusters.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
s.c
0edcc2702106ef8ea0d4ab60ef06c0c38b0b87ee 15-Feb-2011 Aditya Kali <adityakali@google.com> e2fsprogs: reserving code points for new ext4 quota feature

This patch adds support for detecting the new 'quota' feature in ext4.
The patch reserves code points for usr and group quota inodes and also
for the feature flag EXT4_FEATURE_RO_COMPAT_QUOTA.

Signed-off-by: Aditya Kali <adityakali@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
eature.c
s.c
9d92a201deec7bbb1911e6e5ee98abf3c83882d4 25-Sep-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
configure
configure.in
lib/ext2fs/ext2fs.h
misc/mke2fs.c
9345f02671fd39cad69338080b62e12e8b86671d 19-Sep-2010 Theodore Ts'o <tytso@mit.edu> tune2fs, debugfs, libext2fs: Add support for ext4 default mount options

Add support for 2.6.35's new default mount options which can be
specified in the superblock.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
ntopts.c
db0bdb49f49fc3dd14c12439d934a3403a3be9f1 19-Jul-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
resize/extent.c
993988f65527e5665181b3e4a6161f317e396489 25-Jun-2010 Theodore Ts'o <tytso@mit.edu> Add superblock fields which track first and most recent fs errors

Add superblock fields which track where and when the first and most
recent file system errors occured. These fields are displayed by
dumpe2fs and cleared by e2fsck.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
f5448c19acda0bae0673d17e97b8a0590c99c944 25-Jun-2010 Theodore Ts'o <tytso@mit.edu> Add support for Next3 snapshot superblock fields to dumpe2fs and debugfs

We also support for byte-swapping the Next3 fields, although the
current Next3 implementation doesn't support big-endian systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
97d26ce9e3589e9f5fa17014467a9730a884d158 07-Jun-2010 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
e2fsck/journal.c
e2fsck/pass1.c
e2fsck/pass2.c
misc/mke2fs.c
543547a52a20cb7e69d74921b2f691078fd55d83 18-May-2010 Theodore Ts'o <tytso@mit.edu> libe2p, libext2fs: Update file copyright permission states to match COPYING

The top-level COPYING file states that the e2p and ext2fs libraries
are available under the LGPLv2. The files were incorrectly labelled.
Alex Thomas/Luster has been consulted wrt to the ext3_extents.h file;
the rest of the files were primarily authored by Theodore Ts'o.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.h
eature.c
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
ashstr.c
od.c
s.c
ntopts.c
stype.c
arse_num.c
e.c
ercent.c
f.c
s.c
etflags.c
etversion.c
uid.c
c13351f6c53f175696044c0203bb3009af606c64 02-Jul-2009 Theodore Ts'o <tytso@mit.edu> Add support for configure --enable-verbose-makecmds

Some people don't want to see the concise "kernel-style" make output.
This configure option allows build engines that want to see the full
set of commands executed by the makefile to get what they want. Most
people will find this more distracting than useful, unless they need
to debug the Makefiles.

(It is not necessary to rerun configure to enable this verbose make
output temprarily; if a developer wants to do a quick debug of a
directory's makefile, he or she can simply edit the definition of the
$(E) and $(Q) variables in the Makefile; instructions can be found in
the MCONFIG file which is included in at the beginning of every
Makefile.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
b4e0163d53613ae47f79c661f7c1e2009a271c79 22-Jul-2009 Valerie Aurora Henson <vaurora@redhat.com> libe2p: Add new function parse_num_blocks2()

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.h
arse_num.c
0180a05e7449ba3ba6b15f7a5c372f712331cb89 01-Jun-2009 Theodore Ts'o <tytso@mit.edu> e2p: Print 64-bit block numbers in the superblock

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
312c2a404c1af85b88b855687b6a30cd24ca9e34 28-May-2009 Eric Sandeen <sandeen@redhat.com> chattr: manpage tidyups

Tidy up the chattr(1) manpage to completely document all
available options, and differentiate those which are read-only
early in the manpage as well.

* Remove "I" from settable attribute list
* add "e" to 2nd list of settable attributes & descriptions
* Note that h/E/I/X/Z are readonly
* Correct "H" to "h" for huge file attribute description
* fix long_name for indexed directory in flags_array

Addresses-Red-Hat-Bugzilla: BZ#502971

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
f.c
022c925c5a2e92269f5795ba85719f75874e8424 22-Apr-2009 Theodore Ts'o <tytso@mit.edu> libe2p: Declare prototypes for the journal feature name functions in e2p.h

Define the prototypes for e2p_jrnl_feature2string() and
e2p_jrnl_string2feature() in e2p.h. This promotes better error
checking and avoids warnings when compiling the library and programs
that call these functions.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.h
b7c5b4030870b31d73019d9d9ec55d550772590b 06-Mar-2009 Theodore Ts'o <tytso@mit.edu> Add support for a new superblock field: s_kbytes_written

This field tracks the lifetime amount of writes to the filesystem. It
will be updated by the kernel as well as by e2fsprogs programs which
write to the filesystem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
97be89b60bd57272ece637bc2f300a5288b78831 03-Sep-2008 Theodore Ts'o <tytso@mit.edu> Fix pkg-config files: use Requires.private and fix the include directory

Addresses-Sourceforge-Bug: #2089537

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.pc.in
7fd2651f67a43fad3cc1cc2db7c0e5f9c568023c 01-Sep-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Fix potential core-dumping bug in iterate_on_dir()

iterate_on_dir() can try to copy too much data from the directory
entry, resulting in a crash.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
od.c
94b993d56a7fbd32626f86d654640f4a80998d34 30-Aug-2008 Theodore Ts'o <tytso@mit.edu> Update makefile dependency for lib/e2p/Makefile.in

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
akefile.in
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.h
eature.c
setflags.c
etflags.c
etversion.c
ashstr.c
od.c
s.c
ntopts.c
stype.c
arse_num.c
ercent.c
f.c
etflags.c
uid.c
e32677cd58456f7581ec5dcc6583f89cb4a1acdd 25-Aug-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Fix namespace leakage of os_tab

Make os_tab static, since there's no reason it should be exposed.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
stype.c
03efde8abe79c80ff369206d06d4f1e476b08f53 24-Aug-2008 Andreas Dilger <adilger@sun.com> add debugfs command to print known features

Print out the currently supported features of e2fsprogs/libext2fs
via a new "debugfs supported_features" command. This helps scripts
to know whether it is possible to try and enable specific features
in the filesystem.

Signed-off-by: Kalpak Shah <kalpak.shah@sun.com>
Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
akefile.in
2p.h
eature.c
f64b36d138813f4128dd7d58d6131a85e5e50c99 06-Aug-2008 Li Zefan <lizf@cn.fujitsu.com> Fix a typo in lib/e2p/Makefile.in

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
akefile.in
494a1daad37a8098e7db166d558aab3e9e37ac48 22-Apr-2008 Theodore Ts'o <tytso@mit.edu> Basic flexible block group support

Add superblock definition, and dumpe2fs and debugfs support.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Valerie Clement <valerie.clement@bull.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
s.c
41a5afa87b0408bc213d72712a0f6fa9177680c4 20-Apr-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Print the s_min_extra_isize and s_wanted_extra_isize fields

Make dumpe2fs and debugfs print out the s_min_extra_isize and
s_wanted_extra_isize fields from the superblock.

Update tests expect files as appropriate.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
ba1e1254b0c173d7f2f7978feb883111e4c6b921 18-Apr-2008 Theodore Ts'o <tytso@mit.edu> Change the primary name of the extents feature to be 'extent'

This was the original name used by Lustre's patches; keep the plural
when converting feature names to a feature mask for compatibility's
sake.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
2930dad2b20fe4b04ee3e9f5c7a76d8bf63342b0 18-Apr-2008 Theodore Ts'o <tytso@mit.edu> Rename the feature uninit_groups to uninit_bg

Allow the old name of uninit_groups when converting feature names for
backwards compatibility for scripts running mke2fs and tune2fs.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
1ca1059fd0126fd2c065f272a566c18f14bab16d 09-Apr-2008 Theodore Ts'o <tytso@mit.edu> Add support for the HUGE_FILE feature

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
f.c
3542ba0d37fe58eba91b1b42f20de0fdbfb2ac43 22-Oct-2007 Jose R. Santos <jrs@us.ibm.com> Rename feature name from gdt_checksum to uninit_groups

This name is a more intuitive option when running mke2fs.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
eature.c
a49670e64e28ac3b15e36cb6bd0a8135d3ecdbbb 28-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

lib/blkid/devname.c
lib/blkid/probe.c
misc/mke2fs.c
misc/tune2fs.c
7100351d352903aa84cb2978ef9389ee5b0b09ad 26-Feb-2008 Theodore Ts'o <tytso@mit.edu> libe2p: New e2p_edit_feature2 which provides better error handling

This creates a new enhanced edit_feature function for libe2p which
supports a different set of feature flags that are OK to clear as
opposed to set, and which returns more specific information about why
the user provided an invalid edit feature command.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2p.h
eature.c
395529bb4676856a026f5f0c92d494491c3ebb75 22-Feb-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Change Raid to RAID in display option

Update m_raid_opt test so that it reflects the code change.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
0157e7c635c845c0e636576206718d8abaf70e08 19-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
6b226c3de2aea0ae3a44a56d0322ba3a7f561886 19-Feb-2008 Theodore Ts'o <tytso@mit.edu> libe2p: Make list_super2() print the RAID stride and stripe-width

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
428f6b32a9029e1f0bc2559233954955a6aae64c 28-Jan-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:

configure
lib/ext2fs/ext2_fs.h
misc/e2image.c
6cb27404f51f97e2665fa0e0c4c0f7bc47e698ec 27-Jan-2008 Theodore Ts'o <tytso@mit.edu> Add support for the test_fs flag

The test_fs flag is an "ok to be used with test kernel code" flag. It
makes it easier for us to determine whether a filesystem should be
mounted using ext4 or not.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
s.c
5ea565fd37821b2708c2b7f1e49fe6fc94587794 04-Nov-2007 Theodore Ts'o <tytso@mit.edu> Merge basic FLEX_BG support

Merge commit 'c2d4300b8a4a13d8a78b86c386f76259f23feec2' into next
c2d4300b8a4a13d8a78b86c386f76259f23feec2 14-Aug-2007 Jose R. Santos <jrs@us.ibm.com> Enable FLEX_BG feature support

Add FLEX_BG as a supported feature bit.

Add support to mke2fs to create filesystems with FLEX_BG.

Add support to tune2fs to add (and remove, if it won't break
filesystem consistency) the FLEX_BG feature.

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
--

lib/e2p/feature.c | 2 ++
lib/ext2fs/ext2fs.h | 6 ++++--
misc/mke2fs.c | 7 ++++++-
3 files changed, 12 insertions(+), 3 deletions(-)
eature.c
14bd240b4607971151611626ec83dc821f92be5f 22-Oct-2007 Theodore Ts'o <tytso@mit.edu> libe2p: Change iterate_on_dir so that it counts non-zero returns

To allow error messages to be reflected up, if the callback function
returns a non-zero value, bump a counter and return the number of
times the callback function signals an error by returning a non-zero
status code.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
od.c
1a4ce9df5884405a7152855b868c3a7bfbeec385 22-Oct-2007 Theodore Ts'o <tytso@mit.edu> libe2p: Use lstat() instead of stat() in fsetflags() and fgetflags()

We can't set the flags on symbolic links, so check for them using
lstat().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
getflags.c
setflags.c
424a3e4a2367f582edeb062ab12f3f95fdf9e31b 08-Jul-2007 Theodore Ts'o <tytso@mit.edu> Remove Changelog files since they're not used after the git migration

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
d7b64725eecb06b2bbc5e90dc338d8d08152a932 24-Jun-2007 Theodore Ts'o <tytso@mit.edu> Update Release Notes, Changelogs, version.h, etc. for 1.40 release

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
51764fb1040ab671beb0336cb7b9909830947552 03-Apr-2007 Theodore Ts'o <tytso@mit.edu> resize2fs (libe2p): Fix resize2fs parsing of size parameter (in sector units)

This was actually a bug in libe2p's parse_num_blocks() function. When
handling the 's' suffix, it was ignoring the blocksize information
passed in from the caller and always interpreting the number in terms of
a 1k blocksize.

Addresses Debian Bug: #408298

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
arse_num.c
61bf36ef2d322ccdc231557a6ee45c7569a507c5 21-Mar-2007 Brian Behlendorf <behlendorf1@llnl.gov> [COVERITY] Fix memory leak in libe2p (e2p_edit_mntopts)

Need to free memory allocated to buf.

Coverity ID: 17: Resource Leak
Coverity ID: 18: Resource Leak

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
ntopts.c
2711ca1c2344b7a8d38e36508f3daae261da7a02 21-Mar-2007 Brian Behlendorf <behlendorf1@llnl.gov> [COVERITY] Fix memory leak in libe2p (e2p_edit_feature)

Coverity ID: 15: Resource Leak

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
eature.c
477007e1b1f8880f8974729167fcfca8076dbd6c 13-Nov-2006 Theodore Ts'o <tytso@mit.edu> Add support for printing new filesystem features

Add support for printing the huge_file, gdt_checksum, dir_nlink,
extra_isize, extent, and 64bit features.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
eature.c
f77704e416fca7dbe4cc91abba674d2ae3c14f6f 12-Nov-2006 Theodore Ts'o <tytso@mit.edu> Add directory hashed signed/unsigned hint to superblock

The e2fsprogs and kernel implementation of directory hash tree has a
bug which causes the implementation to be dependent on whether
characters are signed or unsigned. Platforms such as the PowerPC,
Arm, and S/390 have signed characters by default, which means that
hash directories on those systems are incompatible with hash
directories on other systems, such as the x86.

To fix this we add a new flags field to the superblock, and define two
new bits in that field to indicate whether or not the directory should
be signed or unsigned. If the bits are not set, e2fsck and fixed
kernels will set them to the signed/unsigned value of the currently
running platform, and then respect those bits when calculating the
directory hash. This allows compatibility with current filesystems,
as well as allowing cross-architectural compatibility.

Addresses Debian Bug: #389772

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
s.c
23bb9b106adcf32c41e1700d0eb17939e55cd6bb 29-Sep-2006 Theodore Ts'o <tytso@mit.edu> Fix e2p_percent() crash if percentage was zero.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
ercent.c
a8862d9e90d0d94761ba28dbbf9674308fd7d7c0 30-Aug-2006 Theodore Ts'o <tytso@mit.edu> Fix potential 2**32-1 overflow by using e2p_percent()

Add a new functiom, e2p_percent(), which correct calculates the percentage
of a number based on a given percentage, without worrying about overflow
issues. This is used where we calculate the number of reserved blocks using
a percentage of the total number of blocks in a filesystem.

Based on patches from Eric Sandeen, but generalized to use this new function.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Eric Sandeen <esandeen@redhat.com>
hangeLog
akefile.in
2p.h
ercent.c
8fe81a3d53fbaa1670ece5fb7fd11dd5ae45b8da 06-Aug-2006 Andreas Dilger <adilger@clusterfs.com> Rename EXT3_EXTENTS_FL to EXT4_EXTENTS_FL and make it visible to the user

lsattr will display the EXT4_EXTENTS_FL flag

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
f.c
f5fa20078bfc05b554294fe9c5505375d7913e8c 09-May-2006 Theodore Ts'o <tytso@mit.edu> Add support for EXT2_FEATURE_COMPAT_LAZY_BG

This feature is initially intended for testing purposes; it allows an
ext2/ext3 developer to create very large filesystems using sparse files
where most of the block groups are not initialized and so do not require
much disk space. Eventually it could be used as a way of speeding up
mke2fs and e2fsck for large filesystem, but that would be best done by
adding an RO_COMPAT extension to the filesystem to allow the inode table
to be lazily initialized on a per-block basis, instead of being entirely initialized
or entirely unused on a per-blockgroup basis.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
eature.c
b116e781f6ea9b16d88741e9f1b4a9d0448807fa 22-Apr-2006 Theodore Ts'o <tytso@mit.edu> Fix bug which could cause dumpe2fs to rarely fail to print a UUID

uuid.c (e2p_is_null_uuid): Fix really stupid bug which could cause dumpe2fs
to fail to display a the journal or hash seed UUID. (Thanks to Guillaume
Chambraud for pointing this out.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
uid.c
9dc6ad1ecb0ba3caf14e05279f1cc3cea52095a2 24-Mar-2006 Theodore Ts'o <tytso@mit.edu> Change mke2fs to use /etc/mke2fs.conf as a configuration file

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
eature.c
3ded50b37cfb3d3864792dfed7793029a061267e 11-Dec-2005 Theodore Ts'o <tytso@mit.edu> Address parallel build problem in the library Makefiles

Add a dependency to make sure that the subdirectories are created before
creating all of the object files.

Addresses Sourceforge Bug: #1261553

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
hangeLog
akefile.in
1f965c8d961ec88a8917b2e99cfb43c4ccdfb19b 01-Jul-2005 Theodore Ts'o <tytso@mit.edu> Update for e2fsprogs 1.38 release.
hangeLog
7d9adefed874152a12feb8846ad962799c8713cc 17-Jun-2005 Theodore Ts'o <tytso@mit.edu> Makefile.in: Add an include path specifier when building
tst_ostype so that "make check" will build correctly on
systems without the include files from e2fsprogs installed
in the system include directory.
hangeLog
akefile.in
75e93ab0975f042edc25dde6f5d9496360207a94 06-May-2005 Theodore Ts'o <tytso@mit.edu> Update "make depend" information. Fixes SMP parallel build problem.
(Addresses Sourceforge Bug: #1157933)
akefile.in
9be5ba91b8f9d0f3f10b8f9d622f16bf2338f4bc 06-May-2005 Theodore Ts'o <tytso@mit.edu> Fix build of tst_ostype when doing a "make check" in lib/e2p; it was missing
CFLAGS in the compile rule. (Addresses Sourceforge Bug: #1180572)
hangeLog
akefile.in
b7e4eef304d20fabbe2dd6bfeb1bc217db280e48 09-Apr-2005 Theodore Ts'o <tytso@mit.edu> ls.c: Add stdlib.h header file since list_super2() uses the
free() function.
hangeLog
s.c
813b901d419cd700cf2fc65048142b024da49808 31-Mar-2005 Theodore Ts'o <tytso@mit.edu> ostype.c (e2p_os2string): Check to make sure malloc() is
successful before attempting to copy into it. Add
#include of stdlib.h to fix a core dump bug on the IA64
architecture. (Addresses Debian Bug #302200)
hangeLog
stype.c
fd4b28efd311e58811fcb652af003197d019ae29 22-Mar-2005 Theodore Ts'o <tytso@mit.edu> Update for the e2fsprogs 1.37 release.
hangeLog
63253946309651c1015947d522e2ba4b35a807a5 19-Mar-2005 Theodore Ts'o <tytso@mit.edu> Add new functions which convert between a string and os_type: e2p_os2string()
and e2p_string2os() in the e2p library.
hangeLog
akefile.in
2p.h
s.c
stype.c
3eee5e9eed61ab6f635f4e0c236e999564a73b77 06-Feb-2005 Theodore Ts'o <tytso@mit.edu> Update for release of e2fsprogs 1.36.
hangeLog
b7aa0d653e4fcfbff3f122e1382fcca090f82a44 05-Feb-2005 Theodore Ts'o <tytso@mit.edu> Remove *.pc files on a "make distclean"

Remove emacs backup files in tests/Makefile on a "make clean"
hangeLog
akefile.in
e644186542707a44e5fbeddd581eb3f77a30ba0f 26-Jan-2005 Theodore Ts'o <tytso@mit.edu> Add pkg-config files to e2fsprogs's libraries.
hangeLog
akefile.in
2p.pc.in
c6cdada26f774ad0a0755290c7721cf7a7a7b8b4 20-Jan-2005 Theodore Ts'o <tytso@mit.edu> Fix stupid typo in the CreateOS FreeBSD/Solaris changeset. Also included
changelogs which I forgot to include in the changeset.
hangeLog
ea1e8f471ea7f9e8e8eee002bdd37afee4af14ac 20-Jan-2005 Theodore Ts'o <tytso@mit.edu> Add interpretation of OS Creator values for FreeBSD and Lites in mke2fs
and dumpe2fs.

Eventually, we should fold this into a single function for converting
numbers to creator os codes, and vice versa (in TODO file)
s.c
55f4cbd96e0029f0ff67c4913192d87bf52fd149 05-Jan-2005 Theodore Ts'o <tytso@mit.edu> Add new function in e2p for parsing the number of blocks on the command line
for mke2fs and resize2fs, and use this function so that filesystem size
inputs to e2fsprogs command line programs are parsed consistently.
hangeLog
akefile.in
2p.h
arse_num.c
faeaf937523f452d9ad579445b88b8949a76d57a 23-Dec-2004 Theodore Ts'o <tytso@mit.edu> Dumpe2fs will print the s_reserved_gdt_blocks field if it is non-zero.
(Change to libe2p's list_super2() function.)
hangeLog
s.c
522798d3428807800d8471f5ac3050b82aa9de97 15-Dec-2004 Theodore Ts'o <tytso@mit.edu> Add install-strip and install-shlibs-strip targets

Use Linux-kernel-style makefile output for "make install"

Update intl/Makefile.in to version from gettext 0.14.1
hangeLog
akefile.in
6d4022786dc43e66f0699a72925b946b9d2e4439 15-Dec-2004 Theodore Ts'o <tytso@mit.edu> Use MKINSTALLDIRS macro so that the Makefiles can find the script
correctly.

Update Makefile dependencies.

Update "make depend" production so that it filters out comments
inserted by newer gcc compilers.

Remove sync from e2fsck's "make all" target.
hangeLog
akefile.in
47204ff9830b17fc6317f48e88d2039f57a5d10a 30-Nov-2004 Theodore Ts'o <tytso@mit.edu> Use Linux-kernel-style makefile output to make it easier to
see errors/warnings.
hangeLog
akefile.in
39dc1c45cb41ce37a56d364103bb852d0b62c835 30-Nov-2004 Theodore Ts'o <tytso@mit.edu> Add definition for the extents filesystem feature and inode flag.

Change the maximum allowable blocksize to be 65536. This allows e2fsck to
check filesystems with a pagesize of 65536, and mke2fs to accept -b 65536.
Of course such a filesystem will not currently work on a Linux/x86 system,
at least not as of this writing!
hangeLog
eature.c
2b5901d9c7eb4b60cce5a9726517b8f79e5e0bfc 19-Nov-2004 Theodore Ts'o <tytso@mit.edu> Remove the a.out DLL support, since it's been obsolete and unmaintained
for a long time now.
akefile.in
ll/jump.funcs
ll/jump.ignore
ll/jump.import
ll/jump.params
ll/jump.undefs
ll/jump.vars
919994abc0272f303d5c3388de849a12391baa26 25-Jun-2004 Theodore Ts'o <tytso@mit.edu> setflags.c, fsetflags.c: On linux systems, undefine HAVE_CHFLAGS
to deal with lame glibc's that define this function
without actually implementing it. Can you say "attractive
nuisance", boys and girls? I knew you could! (Thanks to
Pavel Troller for reporting this braindamage.)
hangeLog
setflags.c
etflags.c
aa5c0a4562fd9f991557311e400cc93972bbea3e 05-May-2004 Theodore Ts'o <tytso@mit.edu> Remove .cvsignore files; they were out of date, and causes lintian
to flame about their presence in the source tarball.
cvsignore
434661f8d5efd0999e586dfbf73b319f070bc20b 01-Mar-2004 Theodore Ts'o <tytso@mit.edu> Patch from Brian Bergstrand to use the correct -fPIC flag for
Darwin in order to get rid of the compiler warning.
hangeLog
akefile.in
b70b1167fec6d90771344d8560a1fc1b8731b9a9 28-Feb-2004 Theodore Ts'o <tytso@mit.edu> Update version number for e2fsprogs 1.35 release.
hangeLog
3c203cb6831fdfe096bae7ce60c594725f70f47d 01-Feb-2004 Theodore Ts'o <tytso@mit.edu> fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c: Apply
patch from Brian Bergstrand to support ext2_ioctl() in
Darwin. This is implemented via the fsctl system call.
hangeLog
getflags.c
getversion.c
setflags.c
setversion.c
a435ec3449694a8fa299337197cc09624960a3a6 21-Aug-2003 Theodore Ts'o <tytso@mit.edu> Add support for backing up the journal inode location in the
superblock. E2fsck will automatically save the journal information
in the superblock if it is not there already, and will use it if the
journal inode appears to be corrupted. ext2fs_add_journal_inode()
will also save the backup information, so that new filesystems
created by mke2fs and filesystems that have journals added via
tune2fs will also have journal location written to the superblock as
well. Debugfs's logdump command has been enhanced so that it can
use the journal information in the superblock.

The debugfs man page has been improved to more fully describe the
logdump command.

Added two new functions, ext2fs_file_open2() and
ext2fs_inode_io_intern2() which take a pointer to an inode structure;
this is needed so that e2fsck and debugfs can synthesize a
fake journal inode and use it to access the journal.
hangeLog
s.c
9c7ec178092d6d5be005406c2912ea6e59a996b5 26-Jul-2003 Theodore Ts'o <tytso@mit.edu> Update for 1.34 release.
hangeLog
48e6e81362f264aee4f3945c14928efaf71a06c9 06-Jul-2003 Theodore Ts'o <tytso@mit.edu> Fixx gcc -Wall nitpicks.
hangeLog
od.c
71df0dc393f959277ed985f9d1e6313df9ff9c0a 21-Apr-2003 Theodore Ts'o <tytso@mit.edu> Update for 1.33 release.

Fix typo's in README.subset

Change debian control file so it doesn't bomb out if the EVMS FSIM
is not there, since it is not built on the Hurd. Resolves Debian
bug #189687.
hangeLog
520ead378ec5ddef828a8d206434cc3a444b2e9e 19-Apr-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall warnings.
hangeLog
getflags.c
setflags.c
ashstr.c
od.c
fff45483ede7fe38a31b3364a9c07e2418776dee 13-Apr-2003 Theodore Ts'o <tytso@mit.edu> Add portability enhancements for Cygwin32 environment.
hangeLog
od.c
2c93113e6ac1384abd1935af7217b783fdcb3023 11-Apr-2003 Theodore Ts'o <tytso@mit.edu> Remove EXT2_FEATURE_RO_COMPAT_BTREE_DIR mention of since it's not
actually used, and may confuse people who are looking for
EXT2_FEATURE_COMPAT_DIR_INDEX, which is in use.
hangeLog
eature.c
9522e0aa0408a541423992f747ce49219fea97ff 17-Mar-2003 Theodore Ts'o <tytso@mit.edu> ls.c (list_super2): Display the superblock fields even if the
journal or the dir index feature is not enabled.
hangeLog
s.c
38513011b951e60abe25d85f10eec53f1fa73b7b 09-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.32 release.
hangeLog
ae65b29f112542327d05bedded745705fdabe012 09-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.31 release.
hangeLog
c4e5e36a40df0896e3d967bc266d75f155031778 09-Nov-2002 Theodore Ts'o <tytso@mit.edu> pf.c: Print the indexed directory flag if present. Don't display
all of the compression flags unless compression support has
been enabled.
hangeLog
f.c
f606dd32ffcdb872a2c635d897b79089daa47661 08-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update "make depend".
akefile.in
5d823a478f806fddd76391f3f63e61f948c9d849 01-Nov-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.30 release.
hangeLog
a2c8bf94834b29d7679ae0bb9b4e7a4deb1c6f42 01-Nov-2002 Theodore Ts'o <tytso@mit.edu> ext2_fs.h: Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
Orlov block allocator.
hangeLog
15f9011add4013d32ea2f7ca7dbf860f95b8ec53 01-Nov-2002 Theodore Ts'o <tytso@mit.edu> Add support for a new inode flag, which is to be used
for indicating the top of directory hierarchies for the
Orlov block allocator.
f.c
9d2aefb3bc0a48b1540d06e1983aa96c56d39e17 25-Oct-2002 Theodore Ts'o <tytso@mit.edu> Add a new superblock field, s_mkfs_time, which indicates when
the filesystem was created. It is set via mke2fs, and printed
via list_super2() (which is called by dumpe2fs).

Also, list_super2() will now print "n/a" if the last mount time
(s_mtime) is zero.
hangeLog
s.c
4a959fe6f18a3b6023234a66f4455f7ec660b8b4 20-Oct-2002 Theodore Ts'o <tytso@mit.edu> Add support for new default mount options for the journal data mode.
hangeLog
2p.h
s.c
ntopts.c
c046ac7f2e4c53e20cf1e909bbe511f91074b396 20-Oct-2002 Theodore Ts'o <tytso@mit.edu> Add support for the meta_blockgroup filesystem format.
hangeLog
eature.c
s.c
a0c3fd5e4cdc2e0b032c9ace89d960a622069c32 15-Oct-2002 Theodore Ts'o <tytso@mit.edu> Add support for new feature in ext2/3 filesystems; a default mount options field
in the superblock. Added the tune2fs '-o' option to set this field.
hangeLog
akefile.in
2p.h
s.c
ntopts.c
c6633059470c28757062daa811ef50265f5f582a 24-Sep-2002 Theodore Ts'o <tytso@mit.edu> Update for 1.29 release.
hangeLog
87ee8dcad3b9e42dc0576b9788b9d321076dee5e 31-Aug-2002 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.28 release
hangeLog
f61fc0b5d98ef2455252d596e7b20131526d6762 24-Aug-2002 Theodore Ts'o <tytso@mit.edu> Add support for the hash_seed and s_def_hash_ver fields in the
superblock. Dumpe2fs can now print out these fields, and they
can be modified using debugfs's set_super_value command. Also added
to debugfs was the ability to set s_uuid and s_journal_uuid features
as well.
hangeLog
akefile.in
2p.h
ashstr.c
s.c
uid.c
023d111e92195624463e870146d0f386ba5c2d87 17-Aug-2002 Theodore Ts'o <tytso@mit.edu> chattr.1.in: Document the compression attribute flags E, X, and
Z, and explain that chattr can't set or set these flags.
(Addresses Debian Bug #151990)

fsetflags.c (fsetflags), fgetflags.c (fgetflags.c), setflags.c
(setflags), getflags.c (getflags): Check to make sure the
file is a regular file or a directory before attempting to
use the ext2 ioctls. Otherwise, return EOPNOTSUPP.
(Addresses Debian Bug #152029).
hangeLog
getflags.c
setflags.c
etflags.c
etflags.c
a8a813ee3321f3d8986a88c83903b933f1b35e8e 14-Jul-2002 Theodore Ts'o <tytso@mit.edu> fsetflags.c (fsetflags), fgetflags.c (fgetflags): Save
errno if the ioctl fails, and restore it just before we
return.
hangeLog
getflags.c
setflags.c
593c6ead7e3bca412eff2d17edad790de81cb0eb 14-Jul-2002 Theodore Ts'o <tytso@mit.edu> Various portability fixes which should help out HURD.

The iterate_on_dir function in libe2p has been changed to be more
general, so it relies less on the layout of struct dirent. We also
make sure the errno returned by the ioctl is returned by
fgetversion() and fsetversion().
hangeLog
getversion.c
setversion.c
od.c
88372d5c4b2ebd0405446b42de65bf2b0ebb2408 16-Jun-2002 Theodore Ts'o <tytso@mit.edu> Applied Andrew Morton's patch to support the dirsync option.
hangeLog
f.c
a8e772498cea7d6d2d84d94c7985c79afb96a4fa 08-Mar-2002 Theodore Ts'o <tytso@mit.edu> Update for 1.27 release.
hangeLog
a5f3f5c19191c0eabd345f9cad2d9159e9bc0084 03-Feb-2002 Theodore Ts'o <tytso@mit.edu> Update files for 1.26 release.
hangeLog
4ea7bd04390935e1f8b473c8b857e518df2e226b 17-Dec-2001 Theodore Ts'o <tytso@mit.edu> Fix various gcc -Wall nits. Fixed a bug in mke2fs where a bogus
error message could be printed on an malloc() failure, and e2image
was optimized to avoid needless system calls by using the stashed
inode functions.
hangeLog
f.c
b3f5b4c22939daba86465d05842bce76053bc3cf 06-Nov-2001 Theodore Ts'o <tytso@mit.edu> Define a new ext2 file attribute, EXT2_NOTAIL_FL,
which signals that a particular inode should not have the
last bits of data (the "tail") be merged with another
file. This is necessary to keep programs like LILO happy.
hangeLog
f.c
fbf91112163add26bd9d44e992afa31a47790588 20-Sep-2001 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.25 release.
hangeLog
fb70775b0f5cb54730a294e88c7c80f0810a871b 04-Sep-2001 Theodore Ts'o <tytso@mit.edu> Update for 1.24a release
hangeLog
109624a133f147b13903f59d585b20446a3c538f 31-Aug-2001 Theodore Ts'o <tytso@mit.edu> Update for 1.24 release.
hangeLog
943ed874fc76bebf38288ebf0069718375f7f377 27-Aug-2001 Theodore Ts'o <tytso@mit.edu> Add missing log entry showing when we released e2fsprogs 1.23
hangeLog
342d847db355d81299218e07a1e58ece82080a04 02-Jul-2001 Theodore Ts'o <tytso@mit.edu> Add initial support for extended attribute blocks
hangeLog
eature.c
67960139d73fb99f579e8447b9f1c743581b6610 23-Jun-2001 Theodore Ts'o <tytso@mit.edu> Update changelogs for 1.22.
hangeLog
f4f75bae8520ae44e9c593c4d90c7bfdb6b5139a 16-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Update for 1.21 release.
hangeLog
69c09f526c7aa05129856978da6a4efa36c40c34 11-Jun-2001 Theodore Ts'o <tytso@mit.edu> .del-configure~7a460879:
Remove junk file.
onfigure
36a23e1806067074f0278de31dc94fe50d840cb0 02-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Fix typo in ChangeLog.
hangeLog
797f5ef14e92294b329e52971d467d7af5b2993e 02-Jun-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, wordwrap.pl:
Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
hangeLog
akefile.in
uid.c
bb185861d10f84b452260c6d8b89abaa23c67408 25-May-2001 Theodore Ts'o <tytso@mit.edu> e2fsprogs.lsm, version.h:
Update version string for 1.20 release
ChangeLog:
Update Changelogs for 1.20 release.
hangeLog
7c2d25699f2da458ba8201a375b00562d7a2469e 21-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, ext2fs.h:
ext2fs.h: #include <> instead of "" for ext2fs and et header files,
since they will be installed in /usr/include
ChangeLog, e2p.h:
e2p.h: #include <> instead of "" for ext2fs and et header files, since
they will be installed in /usr/include
hangeLog
2p.h
54c637d4d29af3e6365779f8b12976abe95a4753 14-May-2001 Theodore Ts'o <tytso@mit.edu> Many files:
badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
e2fsck.h, scantest.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
test_icount.c, test_rel.c: Change location of ext2_fs.h to be
ext2fs/ext2_fs.h
hangeLog
akefile.in
2p.h
49d5ddcce379a387a5105636833bd8ffcea5ec1f 14-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, feature.c:
feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features
hangeLog
eature.c
6d21621c0ce194fd3c8474b8066a06c4781fb4bc 14-May-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, ls.c:
ls.c (print_features): Added missing space when printing (none) as the
filesystem feature.
(list_super2): If the filesystem revision is unknown, say so.
hangeLog
s.c
4ecf9d6ee41fcdaf75b31aae87a5b835f69b407f 16-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, ls.c:
ls.c (list_super2): Fix bug where we were printing the filesystem UUID
instead of journal UUID when trying to display the journal UUID.
hangeLog
s.c
c2204b32851d381d491388f89243973a764d20d6 14-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, feature.c:
feature.c: Add definition for EXT3_FEATURE_INCOMPAT_JOURNAL_DEV
hangeLog
eature.c
990d4296706c911f7d29667d147104b8f0ac9f34 14-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, feature.c:
feature.c: Remove backward compatibility #ifdef's for old ext2_fs.h
header files.
.del-ext2_fs.h~7a460879, ChangeLog:
ext2_fs.h (EXT3_FEATURE_INCOMPAT_JOURNAL_DEV): Add definition for use
with external journal devices.
hangeLog
eature.c
c8199c47697b51093f032081261447a5ffb3b3ef 12-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, pf.c:
pf.c: Clarified name of the Compression_Raw_Access flag, and
capitalized Journaled_Data.
hangeLog
f.c
379955feee57506fc1f1824c5223399690ea0465 01-Jan-2001 Theodore Ts'o <tytso@mit.edu> ChangeLog, ls.c:
ls.c: Remove our own internal definition of struct ext2fs_sb. We can
assume that ext2_super_block is always up to date.
hangeLog
s.c
bda15095fc43ce87107733eec8fed5f2b33f00f3 31-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, pf.c:
pf.c: Add code to print out the journalled data flag.
hangeLog
f.c
0e8a9560d89dd9cca73037a59efa93e46abdccda 09-Dec-2000 Theodore Ts'o <tytso@mit.edu> Many files:
jfs_e2fsck.h, jfs_user.h: Replaces jfs_compat.h. The jfs.h file has
been moved to the include/linux directory.
journal.c, revoke.c, recovery.c: Updated files from Stephen to support
the V2 superblock and revoke processing. The journal.c and revoke.c
files are copies from the ext3 kernel source.
Makefile.in: Added revoke.c to the list of source/object files.
Makefile.in:
Fix up some mistakes in the source file list, and regenerate the
dependencies.
Update Makefile dependencies.
ChangeLog, jfs.h:
jfs.h: Remove excess #include of JFS_DEBUG. Not needed for e2fsprogs,
since we optioanlly define it in the configuration file system.
akefile.in
66d8c3f33f976e83ea0efd361bb5ac182315a421 02-Dec-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fgetflags.c, fgetversion.c, fsetflags.c, fsetversion.c:
fgetflags.c (fgetflags):
fgetversion.c (fgetversion):
fsetflags.c (fsetflags):
fsetversion.c (fsetversion): Use the LFS API if available so that the
files are opened with O_LARGEFILE. Addresses Debian bug #72690.
hangeLog
getflags.c
getversion.c
setflags.c
setversion.c
53d3955001593b668b15e2d10b3a191f689f9779 14-Aug-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, e2p.h, ls.c:
ls.c (list_super, list_super2): Added new API function which takes a
FILE * so that the output can be redirected to a stream.
hangeLog
2p.h
s.c
153a977a25e951955323baa2da68f8cebd986f08 14-Aug-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, ls.c:
ls.c (list_super): Use better description of s_last_orphan
.del-ext2_fs.h~7a460879, ChangeLog:
ext2_fs.h: Add comment explaining when journal fields are valid.
hangeLog
s.c
f9e67064ce720e9a8563038d07fe452ffed661bc 14-Jul-2000 Theodore Ts'o <tytso@mit.edu> configure.in:
Commit this file for future use; contains a configure.in script for when
libuuid gets separtead out into its own package.
libext2fs.texinfo:
Update version numbers for 1.19 release.
TODO:
Commit TODO list for 1.19 release.
README:
Update file for 1.19 release.
ChangeLog, e2fsprogs.spec:
e2fsprogs.spec: Merge in a few changes from the Red Hat 6.2 spec file,
now that we're using a modern rpm to build e2fsprogs. Also updated
version number to 1.19.
version.h:
Update version number for 1.19 release.
ChangeLog:
Check in changes for 1.19 release.
hangeLog
19c689196bcd90510070b50cd08d0e962fe8311c 07-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, fsck.c:
fsck.c (execute, wait_one): Treat fsck.ext3 the same as fsck.ext2
(because they are the same) for the purposes of the progress bar
display logic.
ChangeLog, ls.c:
ls.c (list_super): Display the journal information fields in the
superblock if the filesystem has a journal.
hangeLog
s.c
b2420d4057c0a151c5ada91c4648794c8c6cb1a4 04-Jul-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in:
Makefile.in: Remove explicit link of -lc in the shared library. (It
shouldn't be necessary, and is harmful in some cases).
hangeLog
akefile.in
415ed79ebcb9a48172764c7e9339001f24ef5fa2 26-May-2000 Theodore Ts'o <tytso@mit.edu> Many files:
Remove generated file.
depend
bdcb8234e7783714a83b32eea25901cd43b83817 26-May-2000 Theodore Ts'o <tytso@mit.edu> .cvsignore:
Supress build files when builddir==srcdir
cvsignore
4ea0a1109d761e9caaa53f6fa9e036321826c5fa 08-May-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, problem.c, problem.h, super.c:
problem.c, problem.h (PR_0_HURD_CLEAR_FILETYPE): Add new problem code.
super.c (check_super_block): If the OS type in the superblock is the
Hurd, check to see if the filetype feature is set, and offer to clear
it if so. This needs to be done since the Hurd doesn't properly
support the filetype feature. (And since the hurd allows the
transmogrification of files to special files and vice versa --- for no
good reason that I can understand --- it can't support the filetype
feature for the forseeable future, either.)
ChangeLog, mke2fs.c:
mke2fs.c (main): We forcibly turn off the filetype feature if the OS
is the hurd, since the hurd doesn't support it. (And since the hurd
allows the transmogrification of files to special files and vice versa
--- for no good reason that I can understand --- it can't support the
filetype feature for the forseeable future, either.)
mke2fs.c (proceed_question): Fix reversed sense of proceed_question
that was busted due to the internationalization patch. Fixed bug
where if proceed_question was called twice, the input buffer wasn't
cleared of the previous question's newline.
ChangeLog, expect.1, expect.2, image.gz, name:
f_hurd: Add test for Hurd-specific features (right now, just checks to
make sure the filetype feature is cleared)
ChangeLog, ls.c:
ls.c (list_super): Change the string displayed for the Hurd to be
GNU/Hurd, instead of just "GNU".
hangeLog
s.c
e2207ce595f05e4db5945326f9b2d553ff7a4d57 06-Apr-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, jump.funcs, jump.import, jump.params:
Makefile.in (uuid_time): Compile uuid_time in two steps (first create
.o, then link it against the libraries) to work around bug in a.out
linker.
dll/jump.funcs, dll/jump.import, dll/jump.params: Update a.out shared
library control files to reflect new added files.
ChangeLog, feature.c, jump.funcs:
feature.c: Make feature_list static; it shouldn't be exported.
dll/jump.funcs: Update a.out shared library control file.
ChangeLog, badblocks.c:
badblocks.c (flush_bufs): Use fsync() if the system doesn't support
fdatasync().
hangeLog
ll/jump.funcs
eature.c
906e1f18661b8901183a0061c50fb2f1b67e1eb1 03-Apr-2000 Theodore Ts'o <tytso@mit.edu> .del-ext2_fs.h~7a460879, ChangeLog:
ext2_fs.h (EXT2_NOCOMPR_FL): Rename EXT2_NOCOMP_FL to EXT2_NOCOMPR_FL.
ChangeLog, Makefile.in, pf.c:
pf.c (print_flags): Rename EXT2_NOCOMP_FL to EXT2_NOCOMPR_FL.
Makefile.in: Add "set -e" so that any errors in installing header
files causes an immediate exit.
hangeLog
akefile.in
f.c
dede39bbb8ef92920f26875de7d5cc64a319e033 11-Feb-2000 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, e2p.h, pf.c:
Makefile.in: Install the e2p.h header.
e2p.h, pf.c (print_flags): Change the third parameter of print_flags()
to be an option parameter, although we only support one option at this
point.
pf.c (print_flags): Updated to use a more generic structure for
storing the ext2 inode flags. Add support for the (current) set of
compression flags.
hangeLog
akefile.in
2p.h
f.c
5c36a2f85b4f8648ed7916c7e5d489dea09c1a37 19-Nov-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in:
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory. Also, when making the .exclude file for the
source_tar_file, exclude those two files as well.
Makefile.in (distclean): Remove TAGS and Makefile.in.old from the
source directory.
hangeLog
akefile.in
cd08636179a07e95e36d307ce2b158e7b276b1e5 10-Nov-1999 Theodore Ts'o <tytso@mit.edu> libext2fs.texinfo, ChangeLog:
Update for 1.18 release.
hangeLog
28e1194e6537c8448b4ce322dc13a9d781ce22b9 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> Many files:
Update for 1.17 release.
hangeLog
36caf25f8d61eb8ffddc9895463bce5807e96808 26-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, e2p.h, feature.c:
feature.c: Fix GCC warnings; add const to the char * types in the
function prototypes for e2p_feature2string and e2p_edit_feature.
ChangeLog, uuid.h, uuid_time.c:
uuid_time.c (variant_string): Declare to be static to avoid gcc warnings.
uuid.h: Add function prototypes for uuid_generate_random() and
uuid_generate_time().
ChangeLog, chattr.c:
chattr.c: Add hack to compile in a definition for S_ISLNK so we can
successfully compile even with warnings turned on.
hangeLog
2p.h
eature.c
0859c04fce317c77643dd8a69814c892613bf5f3 23-Oct-1999 Theodore Ts'o <tytso@mit.edu> Makefile.in:
Update makefile dependencies for 1.16 release.
akefile.in
614fdfd5d978a9e58c25cb4ff7f5b634063c1e6a 23-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Update for 1.16 release.
libext2fs.texinfo:
Update version number for 1.16 release.
hangeLog
944ab7139ab534cb0d4e9a2dda1cc1216ae53153 23-Oct-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, e2p.h, feature.c:
feature.c (e2p_edit_feature), e2p.h: Add a new argument which allows
the calling application to limit what features the user is allowed to
set or clear using this function. Also add support for comma
separated lists.
hangeLog
2p.h
eature.c
d7b701ded6fda284d7c77cd5ac48c2607ff72b13 14-Sep-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in, e2p.h, feature.c, ls.c:
Makefile.in, feature.c, e2p.h: New file which is used for displaying
and editing superblock feature sets.
ls.c (print_features, list_super): Add new function print_features
which is used to display the feature bits in the superblock.
hangeLog
akefile.in
2p.h
eature.c
s.c
657cb97522332b1adcd871bf8f0949e9c8d8f231 31-Jul-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Add 1.15 release note to the Changelogs.
hangeLog
45a676b5f1ae2d4048d76b67e4c21e8689ef7501 03-Jul-1999 Theodore Ts'o <tytso@mit.edu> Makefile.in:
Update dependencies.
ChangeLog:
Update ChangeLog to reflect full set of changes to configure.in
akefile.in
9e51eca782b8e17a1ec87944ccbeac94c7c8e2a1 09-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, message.c:
message.c (safe_print): New function which prints strings, converting
non-printable characters using the '^' and M-notation. This function
is now used to print directory name entries and pathnames.
ChangeLog:
Update for release of E2fsprogs 1.14.
hangeLog
73f17cfc391221a5466e95c9dc1802564ce38973 04-Jan-1999 Theodore Ts'o <tytso@mit.edu> ChangeLog, unix.c:
unix.c (main): Reset the context before calling ext2fs_close(), to
avoid referencing already freed memory.
ChangeLog, llseek.c:
llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the non-Linux case
to use EINVAL by default, unless it isn't defined, in which case we
use EXT2_ET_INVALID_ARGUMENT instead.
ChangeLog, mk_cmds.sh.in:
mk_cmds.sh.in: Fixed portability bug in shell script; we were
depending on a bash'ism.
ChangeLog, uuid.c:
uuid.c: Use asm/types.h instead of linux/types.h, to be consistent
with other locations where we've had to do this to work around glibc.
hangeLog
uid.c
556ad1327feb34ea5b711eb9c135f8e11415cf53 19-Dec-1998 Theodore Ts'o <tytso@mit.edu> Many files:
Update version information in ChangeLogs, release notes,
documentation, etc. for release of version 1.13.
hangeLog
5a679c8fb15540f86fc2eae3117412adc6ecbb33 03-Dec-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, pass3.c, problem.c:
pass3.c (get_lost_and_found): If the filesystem is not opened
read-only, then force /lost+found to be created if it is not present.
problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen operation.
ChangeLog, Makefile.in:
Makefile.in: Updated dependencies.
ChangeLog, fsck.c:
fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of relying
on getmntent(). This has the advantage of allowing us to properly
handle missing pass numbers correctly.
ChangeLog, configure.in:
configure.in: Add paths.h to header files for which we search.
hangeLog
akefile.in
4a5fa192122c996e7e42908ef9eb4fc2f1f99277 09-Jul-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, .del-ChangeLog~905e7699, version.h:
Update for 1.12 release.
hangeLog
e5fa0e3031822d3da46ac78230c0595c6c462f87 01-Apr-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, Makefile.in:
Remove libext2fs.info*, not just libext2fs.info*.gz. Add an
uninstall-doc-libs target.
ChangeLog, Makefile.in, compile_et.1, compile_et.sh.in:
Makefile.in: Fix bug where my_dir was set incorrectly. Install the
et_c.awk and et_h.awk files in $(datadir)/et (i.e., /usr/share/et)
directory. Change to use new installation directory variables
convention. Fix uninstall rules to take $(DESTDIR) into account.
compile_et.1: Change man page to reflect the fact that compile_et is
now a awk/sed script, not a yacc script.
compile_et.sh.in: Look in $(datadir)/et for et_c.awk and et_h.awk; if
not found, look in the build directory. Add error checking for
non-existent input file.
ChangeLog, Makefile.in, mk_cmds.sh.in:
Makefile.in: Install the ct_c.awk and ct_c.sed files in $(datadir)/ss
(i.e., /usr/share/ss) directory. Change to use new installation
directory variables convention. Fix uninstall rules to take
$(DESTDIR) into account.
mk_cmds.sh.in: Look in $(datadir)/ss for ct_c.awk and ct_c.sed; if not
found, look in the build directory. Add error checking for
non-existent input file.
ChangeLog, Makefile.in:
Makefile.in: Change to use new installation directory variables
convention. Fix uninstall rules to take $(DESTDIR) into account.
hangeLog
akefile.in
17dba281a042d3f8122ef7ce6933035a8eae074a 30-Mar-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, e2fsck.h, pass4.c, super.c:
super.c, e2fsck.h: Always declare e2fsck_get_device_size() as an
extern in e2fsck.h to prevent -Wall warnings.
pass4.c (e2fsck_pass4): Remove unused variable 'j'.
super.c (check_super_block): Fix broken superblock sanity check when
calculating blocks_per_group if s_log_frag_size != s_log_block_size.
Since we don't support fragments, this isn't a bug deal, but it's good
to get it fixed.
ChangeLog, Makefile.elf-lib:
Makefile.elf-lib (installdirs): Change use of DLL_INSTALL_DIR to
ELF_INSTALL_DIR. (Doesn't make a difference currently, but it's
correct this way.)
ChangeLog, fgetversion.c, getversion.c:
getversion.c (getversion): Return 0 if there's no error.
fgetversion.c (fgetversion): Pass the address of the temporary
variable instead of the unitialized variable to the
EXT2_IOC_GETVERSION ioctl.
hangeLog
getversion.c
etversion.c
cce382b12c2e0764b91d143ec6f9549c735f8f9e 09-Mar-1998 Theodore Ts'o <tytso@mit.edu> ChangeLog, ls.c:
Mask off high 8 bits from dirent->name_len.
Many files:
The ext2 version and flags ioctl's take an int *, not a long *. Fix
library to use the correct type, so we don't have problems on the
Alpha.
hangeLog
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
etflags.c
etversion.c
024996cf0a54c2b294810a15942747c8fa9238e3 17-Jun-1997 Theodore Ts'o <tytso@mit.edu> ChangeLog:
Check-in for the 1.11 source release.
hangeLog
a29f4d30f24d68f1f1c75548e020689ede532c05 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.10
hangeLog
ll/jump.params
s.c
2ecc6fefa176f3203598225eb9ae2f61c3ae9c10 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.09
hangeLog
521e36857227b21e7ab47b0a97f788d2af9f9717 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.08.
hangeLog
akefile.in
s.c
21c84b71e205b5ab13f14343da5645dcc985856d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs-1.07
hangeLog
akefile.in
ll/jump.funcs
s.c
uid.c
5c576477ccb2f0ca8c5d5af2e2354fd8eeff1589 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.06
hangeLog
f.c
1e3472c5f37ca3686dd69b079d4d02a302f5798d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.05
hangeLog
AKELOG
akefile.in
2p.h
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
s.c
e.c
f.c
s.c
etflags.c
etversion.c
uid.c
62c06f790c4920ec2721515e36d599751f6d4d2d 29-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.04.
hangeLog
akefile.in
7f88b04341d88c5df0360d930832c38040303b61 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.03.
hangeLog
s.c
74becf3c0a065f8d64e07ce4d31f9fe53be91d62 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 1.02.
hangeLog
akefile.in
getflags.c
getversion.c
setflags.c
setversion.c
297f47a13edce54d08517182e714083a0a7f196c 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 1.01.
hangeLog
akefile.in
s.c
50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checked in e2fsprogs 0.5c
depend
hangeLog
AKELOG
akefile
akefile.in
onfigure
ll/jump.funcs
ll/jump.ignore
ll/jump.import
ll/jump.params
ll/jump.undefs
ll/jump.vars
2p.h
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
od.c
ump/jump.funcs
ump/jump.import
ump/jump.params
ump/jump.undefs
s.c
etflags.c
etversion.c
f3db3566b5e1342e49dffc5ec3f418a838584194 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 0.5b
depend
hangeLog
akefile
2p.h
ump/jump.funcs
ump/jump.import
ump/jump.params
ump/jump.undefs
s.c
f.c
3839e65723771b85975f4263102dd3ceec4523c0 26-Apr-1997 Theodore Ts'o <tytso@mit.edu> Many files:
Checkin of e2fsprogs 0.5b
depend
akefile
2p.h
getflags.c
getversion.c
setflags.c
setversion.c
etflags.c
etversion.c
od.c
s.c
e.c
f.c
s.c
etflags.c
etversion.c