Whamcloud - gitweb
Theodore Ts'o [Mon, 20 Jun 2005 12:26:50 +0000 (08:26 -0400)]
Clean up e2image man page, mostly based on suggestions from
Benno Schulenberg.
Theodore Ts'o [Mon, 20 Jun 2005 12:25:31 +0000 (08:25 -0400)]
Make it easier to compile the misc/partinfo program
for testing purposes only)
Theodore Ts'o [Mon, 20 Jun 2005 12:24:28 +0000 (08:24 -0400)]
Fix minor typo introduced in e2fsck man page.
Theodore Ts'o [Mon, 20 Jun 2005 12:23:55 +0000 (08:23 -0400)]
Remove the findsuper and partinfo programs from the list of C files to be
internationalized, as they are not installed by default (nor should they be).
Theodore Ts'o [Mon, 20 Jun 2005 03:11:09 +0000 (23:11 -0400)]
getsectsize.c (BLKSSZGET): Clean up test for when to manually
define the BLKSSZGET ioctl.
Theodore Ts'o [Mon, 20 Jun 2005 01:04:12 +0000 (21:04 -0400)]
Make the e2fsck man page clear that the -c, -l, and -L options are
never safe to use on a mounted filesystem, and in general, running
e2fsck on mounted filesystems is a bad idea.
Theodore Ts'o [Sun, 19 Jun 2005 13:45:36 +0000 (09:45 -0400)]
Clean up e2fsck problem description messages for typo's and to make them
easier to understand (sorry, translators).
Add new @m (multiply-claimed) and @n (invalid) expansions for e2fsck
problem descriptions.
Add Dutch translation, and update French translation.
Add an explanation of how the @-expansion and %-exapansion works in
e2fsck/problem.c to make life easier for the translators.
Synchronize and update po files.
Theodore Ts'o [Thu, 16 Jun 2005 22:41:06 +0000 (18:41 -0400)]
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.
Theodore Ts'o [Thu, 16 Jun 2005 19:08:00 +0000 (15:08 -0400)]
defaults/e_script, run_e2fsck, d_loaddump, f_resize_inode,
f_swapfs, f_move_itable, f_resize_inode, test_config:
Allow the diff options to be set in test_config so that
diff -u can be used on platforms that have it. (To be
done: checking whether diff can support -u in the
configure script.)
Theodore Ts'o [Thu, 16 Jun 2005 18:10:55 +0000 (14:10 -0400)]
mke2fs.c (PRS): Fix missing close parenthesis from bad inode
ratio error message.
Theodore Ts'o [Sun, 5 Jun 2005 20:46:19 +0000 (16:46 -0400)]
Fix a minor spelling typo in blkid's man page, and update e2fsck's REPORTING
BUGS section to request that e2fsck's messages printed in English, and to
send a raw e2image filesystem dump if possible.
Theodore Ts'o [Sun, 5 Jun 2005 20:42:20 +0000 (16:42 -0400)]
Update release notes and changelogs for the correct spelling of "Swedish".
Theodore Ts'o [Sun, 5 Jun 2005 20:05:22 +0000 (16:05 -0400)]
On Linux 2.6 systems, mke2fs and badblocks will check to see whether
the filesystem appears to be busy; if so, the programs will print an
error message and abort. (Addresses Debian Bug #308594).
Theodore Ts'o [Sat, 21 May 2005 03:10:35 +0000 (23:10 -0400)]
filefrag.c (frag_report, get_bmap): The FIBMAP and FIGETBSZ ioctls return
an integer, not an unsigned long. Fix this to avoid problems on 64-bit
platforms where the size of an integer != the size of a long.
(Addresses Debian Bug #309655)
Theodore Ts'o [Sat, 21 May 2005 02:51:55 +0000 (22:51 -0400)]
Update Polish, Sweedish, and Turkish translations.
Theodore Ts'o [Tue, 10 May 2005 02:25:39 +0000 (22:25 -0400)]
Change the default journal size to be bigger for larger filesystems,
given modern memory sizes. Now, for filesystems greater than 4GB, we
use a journal of 128 MB instead 32 MB.
Theodore Ts'o [Tue, 10 May 2005 00:42:38 +0000 (20:42 -0400)]
ADD TAG: E2FSPROGS-1_38-WIP-0509
Theodore Ts'o [Tue, 10 May 2005 00:42:38 +0000 (20:42 -0400)]
Update for release of e2fsprogs 1.38-WIP-0509-1.
Theodore Ts'o [Tue, 10 May 2005 00:40:55 +0000 (20:40 -0400)]
Update e2fsprogs.pot for translation project.
Theodore Ts'o [Tue, 10 May 2005 00:39:02 +0000 (20:39 -0400)]
Modify the script which generates the e2fsprogs.pot translations template
file to include comments that expand the '@' abbrevations in e2fsck/problem.c
Theodore Ts'o [Mon, 9 May 2005 20:22:17 +0000 (16:22 -0400)]
Fix some minor typo's and grammar's strings, and remove debugging strings
from needing to be translated. Patch is from Benno Schulenberg.
Theodore Ts'o [Mon, 9 May 2005 06:01:31 +0000 (02:01 -0400)]
Update Swedish translation, and add Rawanda translation.
Theodore Ts'o [Sun, 8 May 2005 06:15:02 +0000 (02:15 -0400)]
Fix bug in the secure getenv function so that the ss library will corrently
honor the PAGER and SS_READLINE_PATH environtment variables, and the
test_io io_manager in the ext2fs library honors the TEST_IO_LOGFILE,
TEST_IO_FLAGS, TEST_IO_BLOCK, and TEST_IO_READ_ABORT environment variables.
Theodore Ts'o [Sun, 8 May 2005 05:01:02 +0000 (01:01 -0400)]
Fix the f_dup_resize script to be more portable and not rely on e2fsprogs
already being installed.
Theodore Ts'o [Sat, 7 May 2005 21:06:27 +0000 (17:06 -0400)]
Add a new option to the blkid program, -l, which will more efficiently search
for a single device.
Add a new function to the blkid library, blkid_probe_all_new().
Optimize blkid_find_dev_with_tag() so that extraneous device validation are
skipped. (Makes a difference for system with a large number of disks).
Theodore Ts'o [Sat, 7 May 2005 18:38:10 +0000 (14:38 -0400)]
Fix gcc -Wall nits in the blkid library.
Theodore Ts'o [Sat, 7 May 2005 18:22:38 +0000 (14:22 -0400)]
Clean up the debugging code in the blkid library so that we don't use
the inline functions DEB_DUMP_* and instead use the private functions
blkid_debug_dump_*().
Theodore Ts'o [Sat, 7 May 2005 17:32:47 +0000 (13:32 -0400)]
Add new two new functions to the blkid library: blkid_dev_set_search(), and
blkid_dev_has_tag(), and change the blkid program to take advantage of these
functions.
Theodore Ts'o [Sat, 7 May 2005 05:54:19 +0000 (01:54 -0400)]
Remove the Conflicts: tag from the Debian e2fsprogs-udebs package, since
udebs dont support Conflicts.
Theodore Ts'o [Fri, 6 May 2005 20:26:13 +0000 (16:26 -0400)]
When determining the libraries needed for Debian's initrd, unset
LD_PRELOAD and LD_LIBRARY_PATH and filter out libraries found in
/etc/ld.so.preload. (Addresses Debian Bug: #304003)
Theodore Ts'o [Fri, 6 May 2005 16:04:10 +0000 (12:04 -0400)]
Escape hyphens in the e2image and tune2fs man pages so that they show up
correctly after groff processes them.
Theodore Ts'o [Fri, 6 May 2005 13:42:34 +0000 (09:42 -0400)]
If the .c and .h file already exist, and they have not changed, use the
original versions of the files, so as to avoid rebuilding files when not
necessary. Also fixes a potential SMP/Parallel build problem when one
make process runs compile_et to generate the .h file, and a partially
generated .c file is compiled by another make process. (Addresses
Sourceforge Bug: #1157933)
Theodore Ts'o [Fri, 6 May 2005 13:37:58 +0000 (09:37 -0400)]
Update "make depend" information. Fixes SMP parallel build problem.
(Addresses Sourceforge Bug: #1157933)
Theodore Ts'o [Fri, 6 May 2005 13:04:37 +0000 (09:04 -0400)]
Fix compile warning in do_stat() from previous fix.
Theodore Ts'o [Fri, 6 May 2005 04:38:26 +0000 (00:38 -0400)]
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)
Theodore Ts'o [Fri, 6 May 2005 04:10:52 +0000 (00:10 -0400)]
Fix potential portability issue in the blkid program. (On architectures
where char is unsigned). (Addresses Sourceforge Bug: #1180585)
Theodore Ts'o [Fri, 6 May 2005 03:15:55 +0000 (23:15 -0400)]
Corrects a few mistakes in the fsck man page, wraps two overlong lines,
and changes "bad" to "invalid" in some messages to avoid confusion with
"bad blocks" in the e2fsck, mke2fs, and badblocks programs. Thanks to
Benno Schulenberg. (Addresses Sourceforge Bug: #1189803)
Theodore Ts'o [Fri, 6 May 2005 02:57:44 +0000 (22:57 -0400)]
Fix typo in the debugfs command used to fixed trashed filesystems by
FC3's resize2fs program. (Addresses Sourceforge Bug #1190897).
Theodore Ts'o [Fri, 6 May 2005 02:55:20 +0000 (22:55 -0400)]
Fix a bug in filefrag so that it doesn't when the first block found is an
indirect block, it doesn't falsely count an extra discontunity. (Addresses
Debian Bug #307607).
Theodore Ts'o [Thu, 5 May 2005 22:06:04 +0000 (18:06 -0400)]
Fix libblkid's magic number recognition for the cramfs filesystem,
and add support to pull out the label for cramfs filesystems.
Thanks to Karel Zak (kzak at redhat.com) for the patch.
Theodore Ts'o [Thu, 5 May 2005 21:21:46 +0000 (17:21 -0400)]
debugfs.c (do_stat): Check to make sure a filesystem is open
and abort if with an error if not, to prevent a seg fault
in that case.
Theodore Ts'o [Sat, 16 Apr 2005 18:05:09 +0000 (14:05 -0400)]
Fix spelling mistakes in man pages. (Addresses Debian Bugs: #304591,
#304592, #304594, #304597, #304593)
Theodore Ts'o [Sat, 16 Apr 2005 17:56:03 +0000 (13:56 -0400)]
Fix typo so that we actually ignore environment variables when gid != egid.
Theodore Ts'o [Thu, 14 Apr 2005 21:10:14 +0000 (17:10 -0400)]
Don't offer to update or clone the resize inode when e2fsck deals with
multiply claimed blocks.
Theodore Ts'o [Thu, 14 Apr 2005 18:07:53 +0000 (14:07 -0400)]
Use a centrally stored current time for "now" which
can be overridden using the E2FSCK_TIME environment
variable, for better reproducibility for regression tests.
Theodore Ts'o [Sun, 10 Apr 2005 01:12:30 +0000 (21:12 -0400)]
Update debian changelog for 1.37-2 release.
Theodore Ts'o [Sat, 9 Apr 2005 05:26:49 +0000 (01:26 -0400)]
test_script.in: Make the test script driver exit with a non-zero
status if there are any failed tests.
Theodore Ts'o [Sat, 9 Apr 2005 05:24:04 +0000 (01:24 -0400)]
Don't abort filefrag if EXT3_IOC_GETFLAGS ioctl is not supported,
so that filefrag can work on non-ext2/3 filesystems, as advertised.
(Addresses Debian Bug: #303509)
Theodore Ts'o [Sat, 9 Apr 2005 05:22:09 +0000 (01:22 -0400)]
ls.c: Add stdlib.h header file since list_super2() uses the
free() function.
Theodore Ts'o [Sat, 9 Apr 2005 05:21:21 +0000 (01:21 -0400)]
Add missing return values in error return cases in the ext2fs library.
(Otherwise we return garbage instead of the error code.)
Theodore Ts'o [Sat, 9 Apr 2005 04:33:21 +0000 (00:33 -0400)]
Fix minor spelling typo in the mke2fs man page.
Theodore Ts'o [Wed, 6 Apr 2005 18:55:53 +0000 (14:55 -0400)]
pass1.c (e2fsck_pass1): If the superblock last mount time (not
just the last write time) looks insane, then assume that
we can't do the LOW_DTIME checks.
Theodore Ts'o [Wed, 6 Apr 2005 18:44:16 +0000 (14:44 -0400)]
Add paranoia checks into the blkid, ext2fs, and ss libraries to ignore
environment variables if the libraries are called from setuid or setguid
programs, or if kernel believes that the process is not eligible to create
a core dump. In addition, if the libc has __secure_getenv(), use it so that
the libc can also do any additional limitations regarding when libraries can
trust environment variables (i.e., to integrate with systems like SELinux
and Posix capabilities).
Theodore Ts'o [Thu, 31 Mar 2005 05:01:33 +0000 (00:01 -0500)]
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)
Theodore Ts'o [Tue, 22 Mar 2005 03:55:18 +0000 (22:55 -0500)]
ADD TAG: E2FSPROGS-1_37
Theodore Ts'o [Tue, 22 Mar 2005 03:55:18 +0000 (22:55 -0500)]
Update LSM file for 1.37 release.
Theodore Ts'o [Tue, 22 Mar 2005 03:37:03 +0000 (22:37 -0500)]
Update for the e2fsprogs 1.37 release.
Theodore Ts'o [Tue, 22 Mar 2005 03:13:32 +0000 (22:13 -0500)]
Ignore the BLKID_FILE environment variable if blkid_get_cache() is
called from a setuid program.
Theodore Ts'o [Mon, 21 Mar 2005 22:15:18 +0000 (17:15 -0500)]
Fix the test image so that it actually has an ea-in-inode.
Theodore Ts'o [Mon, 21 Mar 2005 21:41:35 +0000 (16:41 -0500)]
Add new test case which exercises the ea-in-inode checker in e2fsck.
Theodore Ts'o [Mon, 21 Mar 2005 18:15:45 +0000 (13:15 -0500)]
Integrate code from Alex Thomas at Clusterfs to check extended attributes
stored in inodes into e2fsck.
There are a number of bug fixes and enhancements over the original lustre fsck
BK repository. The biggest one is that this extended attribute values must
be aligned on 4-byte boundaries.
Theodore Ts'o [Mon, 21 Mar 2005 06:08:10 +0000 (01:08 -0500)]
Make debugfs's stat command print the size of the extra inode fields,
if any.
Theodore Ts'o [Mon, 21 Mar 2005 06:02:53 +0000 (01:02 -0500)]
Fix mke2fs so that it writes the root directory
using ext2fs_write_new_inode(), and fix ext2fs_write_new_inode()
so that it initializes i_extra_isize properly.
Theodore Ts'o [Mon, 21 Mar 2005 03:47:54 +0000 (22:47 -0500)]
Make e2fsck check the superblock's inode_size to make sure it is
sane before we start depending on it!
Theodore Ts'o [Mon, 21 Mar 2005 01:05:22 +0000 (20:05 -0500)]
Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create
a new inode we make sure that the extra information in the inode (any extra
fields in a large inode and any ea-in-inode information) is cleared. This
can happen when e2fsck creates a new root inode or a new lost+found directory,
or when the user uses the debugfs write, mknod, or mkdir commands. Otherwise,
the newly create inode could inherit garbage (or old EA information) from
a previously deleted inode.
Theodore Ts'o [Sun, 20 Mar 2005 23:03:58 +0000 (18:03 -0500)]
Enhance debugfs's stat command so it can dump extended attributes
which are stored in the inode body.
Theodore Ts'o [Sun, 20 Mar 2005 21:57:10 +0000 (16:57 -0500)]
Fix bug in e2fsck where we don't notice if a file with an extended
attribute block is so big that i_blocks wraps to zero.
Theodore Ts'o [Sat, 19 Mar 2005 06:13:22 +0000 (01:13 -0500)]
Add new functions which convert between a string and os_type: e2p_os2string()
and e2p_string2os() in the e2p library.
Theodore Ts'o [Sat, 19 Mar 2005 04:50:32 +0000 (23:50 -0500)]
Fix clean target to remove tst_getsectsize.
Remove useless -DDEBUG when linking tst_getsectsize.
Theodore Ts'o [Sat, 19 Mar 2005 01:37:45 +0000 (20:37 -0500)]
filefrag.c (frag_report): Automatically detect files that are
stored using the new experimental file fragments format,
and use the non-ext2 algorithm for determing the number of
extents. Avoid reporting a false discontinuity if there
is a non-allocated block (or extent) at the beginning of
the file.
Theodore Ts'o [Sat, 19 Mar 2005 01:11:59 +0000 (20:11 -0500)]
getsize.c (ext2fs_get_device_size): Check to see if the number
of blocks is greater than 2**32 when we are doing a binary
search to determine the device size. Thanks to Stephen
Tweedie for the patch.
Theodore Ts'o [Thu, 17 Mar 2005 06:16:34 +0000 (01:16 -0500)]
Force compile_et and mk_cmds to use /usr/bin/awk so that we will work
on any Debian system regardless of which version of awk is installed.
(Closes: #299341)
Theodore Ts'o [Thu, 17 Mar 2005 04:38:14 +0000 (23:38 -0500)]
getsize.c (blkid_get_dev_size): Fix compilation problem on
Darwin systems.
Theodore Ts'o [Wed, 2 Mar 2005 17:57:51 +0000 (12:57 -0500)]
gen_tarball.in: Don't remove the .gmo files from the generated tarball;
they are now treated as source files instead of generated files.
Theodore Ts'o [Tue, 1 Mar 2005 22:15:33 +0000 (17:15 -0500)]
Update the TODO file to have more information in it.
Theodore Ts'o [Tue, 1 Mar 2005 22:10:51 +0000 (17:10 -0500)]
Change the debian version to be 1.36release-1 since we didn't do the WIP
version numbers correctly.
Theodore Ts'o [Sat, 5 Feb 2005 23:26:03 +0000 (18:26 -0500)]
ADD TAG: E2FSPROGS-1_36
Theodore Ts'o [Sat, 5 Feb 2005 23:26:03 +0000 (18:26 -0500)]
Update for release of e2fsprogs 1.36.
Theodore Ts'o [Sat, 5 Feb 2005 20:53:56 +0000 (15:53 -0500)]
Makefile util/gen-tarball executable after creating the file.
Theodore Ts'o [Sat, 5 Feb 2005 20:48:49 +0000 (15:48 -0500)]
Remove *.pc files on a "make distclean"
Remove emacs backup files in tests/Makefile on a "make clean"
Theodore Ts'o [Sat, 5 Feb 2005 15:28:15 +0000 (10:28 -0500)]
Remove support for --enable-clear-htree; this was
only needed during the early development of the htree patch.
Theodore Ts'o [Fri, 4 Feb 2005 15:43:58 +0000 (10:43 -0500)]
Add support for maintainer mode, which enables the makefile rules
to rebuild the configure script from configure.in, and to reubuild the
.gmo files in po directory.
Theodore Ts'o [Fri, 4 Feb 2005 15:36:37 +0000 (10:36 -0500)]
Makefile.in (clean): Remove tst_getsize when doing a make clean
Theodore Ts'o [Fri, 4 Feb 2005 14:50:41 +0000 (09:50 -0500)]
filefrag.c (frag_report): In verbose mode, print the first and
last block numbers; may be useful for some folks.
Theodore Ts'o [Fri, 4 Feb 2005 03:09:49 +0000 (22:09 -0500)]
Use inline instead of __inline__ in the blkid debugging code for
Solaris compatibility.
Theodore Ts'o [Fri, 4 Feb 2005 02:56:44 +0000 (21:56 -0500)]
Drop the sparc assembly bitwise operations; it's less efficient
than the GCC 3.4 compile code and triggers compiler warnings on
sparc64. Thanks to Matthias Andree for his analysis and suggestions.
(Addresses Debian Bug #232326)
Remove support for the --enable-old-bitops configure option which
was only for very old sparc systems.
Theodore Ts'o [Fri, 4 Feb 2005 01:38:52 +0000 (20:38 -0500)]
Define _XOPEN_SOURCE to be 500 to fix compilation problems on Solaris.
Theodore Ts'o [Fri, 28 Jan 2005 17:33:01 +0000 (12:33 -0500)]
Update release notes and version.h for e2fsprogs 1.36-rc5 release.
Theodore Ts'o [Fri, 28 Jan 2005 17:27:35 +0000 (12:27 -0500)]
pass2.c (e2fsck_process_bad_inode): Fix a corner case involving
big-endian systems, long symlinks and i_file_acl set when
it shouldn't be. Without this bugfix, f_clear_xattr will
fail on big-endian machines.
Theodore Ts'o [Fri, 28 Jan 2005 16:46:05 +0000 (11:46 -0500)]
f_bad_inode, f_recnect_bad: Adjust test cases to take into
account the change which clears the i_file_acl field earlier.
Theodore Ts'o [Fri, 28 Jan 2005 16:45:28 +0000 (11:45 -0500)]
Fix two bugs found by the regression test suites. The bug was created when
we changed ext2fs_create_resize_inode to always create the resize inode,
even when s_reserved_gdt_blocks is zero. Mke2fs and e2fsck was calling
ext2fs_create_resize_inode() unconditionally, and depending on
s_reserved_gdt_blocks to be zero, instead of explicitly checking the
resize_inode feature.
Theodore Ts'o [Fri, 28 Jan 2005 02:40:53 +0000 (21:40 -0500)]
Fixed missing not_fixed branch in e2fsck so that if the frag size field in
the inode is not fixed, the inode_bad_map bitmap won't be cleared. Thanks to
Stephen Tweedie for pointing this out.
Theodore Ts'o [Fri, 28 Jan 2005 00:51:47 +0000 (19:51 -0500)]
blkid.c (main, compare_search_type): Make blkid -t work more
consistently when the blkid cache file is explicitly set
to /dev/null. (Addresses Debian Bug #292425)
Also expose blkid_verify() as a public function to the blkid library.
Theodore Ts'o [Fri, 28 Jan 2005 00:12:05 +0000 (19:12 -0500)]
mke2fs.c (PRS): Don't use a blocksize greater than 4k, even on
2.6 kernels, unless explicitly requested by the user; not
all 2.6 kernels (includeing stock 2.6 kernels as of this
writing) don't support blocksizes > 4k.
Theodore Ts'o [Fri, 28 Jan 2005 00:07:26 +0000 (19:07 -0500)]
mke2fs.c (PRS): If the device size is too big to be expressed
using a 1k blocksize, retry with a 4k blocksize.
(Addresses Sourceforge bug #1106631)
Theodore Ts'o [Thu, 27 Jan 2005 23:47:51 +0000 (18:47 -0500)]
Create the resize inode is created even if the s_reserved_gdt_blocks is
zero; e2fsck will now complain and recreate the resize inode if i_links_count
is zero or if it is not a regular file.
Theodore Ts'o [Thu, 27 Jan 2005 23:13:33 +0000 (18:13 -0500)]
Cset exclude: tytso@think.thunk.org|ChangeSet|
20050123214956|52665
Theodore Ts'o [Thu, 27 Jan 2005 19:28:41 +0000 (14:28 -0500)]
Fix e2fsck to not delete symlinks that contain an extended attribute after
the ext_attr feature flag has been cleared. (Addresses Red Hat Bugzilla
#146284)
Theodore Ts'o [Wed, 26 Jan 2005 18:34:57 +0000 (13:34 -0500)]
Fix Solaris portability bug in the resize tests.
Theodore Ts'o [Wed, 26 Jan 2005 18:20:12 +0000 (13:20 -0500)]
Update version.h and release notes for the e2fsprogs 1.36-rc4 release.