Whamcloud - gitweb
Theodore Ts'o [Sun, 20 Jul 2003 15:22:34 +0000 (11:22 -0400)]
probe.c: When revalidating a filesystem in the blkid library,
delete the LABEL tag if the filesystem no longer has a label.
Theodore Ts'o [Fri, 18 Jul 2003 23:10:28 +0000 (19:10 -0400)]
tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an
error, then reflect that error upwards; don't try again
(forever). This prevents an infinite loop when /proc and
the /etc/blkid.tab file are not present.
Theodore Ts'o [Sat, 12 Jul 2003 20:28:09 +0000 (16:28 -0400)]
Use symbolic links for fsck.ext{2,3} and mkfs.ext{2,3} in the udeb
package since busybox tar can't deal with hard links.
(Closes Debian bug #196508)
Theodore Ts'o [Sat, 12 Jul 2003 20:02:48 +0000 (16:02 -0400)]
Update debian changelog
Add conflicts against older versions of sysvinit that don't correctly
handle an exit code that has the bit #2 set. (Closes: #183675)
Theodore Ts'o [Sat, 12 Jul 2003 20:01:45 +0000 (16:01 -0400)]
badblocks.c (do_read, do_write, test_rw): Change the read/write
test to honor the -c option (number of blocks at a time).
do_read and do_write will try to turn on the O_DIRECT flag
if it appears that it is possible to use it. (Addresses
Debian bug #198006)
Theodore Ts'o [Sat, 12 Jul 2003 06:45:05 +0000 (02:45 -0400)]
Update to use the new freebsd config triple (Addresses Debian
bug #195274)
Theodore Ts'o [Sat, 12 Jul 2003 05:58:12 +0000 (01:58 -0400)]
mke2fs.c (set_fs_defaults): If sector_size is 0, don't use it to
set the blocksize to zero. This causes MD devices to fail
since they don't support the BLKSSZGET ioctl. (Addresses
Debian bug #196734)
Theodore Ts'o [Tue, 8 Jul 2003 22:03:48 +0000 (18:03 -0400)]
In mke2fs and resize2fs, round the default size of the filesystem to
be an even multiple of the pagesize to work around a potential
Linux kernel bug.
Use the testio manager in mke2fs if CONFIG_TESTIO_DEBUG is set.
Theodore Ts'o [Sun, 6 Jul 2003 04:36:48 +0000 (00:36 -0400)]
Fixx gcc -Wall nitpicks.
Theodore Ts'o [Sat, 5 Jul 2003 18:50:24 +0000 (14:50 -0400)]
configure.in:
Add workaround for Darwin and Libintl
Theodore Ts'o [Tue, 24 Jun 2003 22:06:03 +0000 (18:06 -0400)]
Fix spelling error in e2fsck problem reporting.
Theodore Ts'o [Tue, 24 Jun 2003 21:34:02 +0000 (17:34 -0400)]
Fix bug in resize2fs which caused it to fail on filesystems with a
non-empty bad block list. Resize2fs now discards any blocks on the
badblock list which are no longer part of the filesystem as the result
of a filesystem shrink. (Note: this means that shrinking and then
enlarging a filesystem is no longer a reversible operation;
information about bad blocks in the part of the filesystem
which is to be chopped off will be lost.)
Theodore Ts'o [Mon, 9 Jun 2003 00:32:46 +0000 (20:32 -0400)]
resize2fs.8.in: Make explicit that you need to run resize2fs
after using fdisk to adjust the partition size when
expanding the filesystem. (Addresses Debian Bug #195616)
Theodore Ts'o [Mon, 9 Jun 2003 00:26:15 +0000 (20:26 -0400)]
Adjust defaults for FreeBSD to no longer build the
fsck wrapper, and to not install into /usr/local by
default. (Addresses Debian bug #195274)
Theodore Ts'o [Wed, 21 May 2003 22:26:31 +0000 (18:26 -0400)]
ADD TAG: E2FSPROGS-1_34-WIP-0521
Theodore Ts'o [Wed, 21 May 2003 22:26:31 +0000 (18:26 -0400)]
Update for e2fsprogs 1.34-WIP-0521 release.
Theodore Ts'o [Wed, 21 May 2003 21:58:36 +0000 (17:58 -0400)]
unused.c (do_dump_unused): Add new command which dumps the
unused blocks. (Initial implementation; currently only
dumps the output to stdout.)
Theodore Ts'o [Wed, 21 May 2003 21:56:36 +0000 (17:56 -0400)]
Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the
uuid library. (Addresses Debian bug: #194094)
Theodore Ts'o [Wed, 21 May 2003 21:28:29 +0000 (17:28 -0400)]
mke2fs.c (PRS, set_fs_defaults): If the sector size of the
device is larger than the default block size, then use the
sector size of the device as the default block size.
getsectsize.c (ext2fs_get_device_sectsize): New function which
returns the hardware sector size (if it is available).
Theodore Ts'o [Tue, 20 May 2003 14:29:29 +0000 (10:29 -0400)]
Fix bug which caused --disable-evms not to work.
Theodore Ts'o [Sun, 18 May 2003 05:11:52 +0000 (01:11 -0400)]
badblocks.c: Use an unsigned integer to support 4-byte test
patterns with the high bit set. Let the user explicitly
specify a random pattern with the argument "random".
Theodore Ts'o [Sun, 18 May 2003 01:00:46 +0000 (21:00 -0400)]
unix.c (show_stats), e2fsck.h: Use ngettext (abbreivated with
the macro P_(str1, str2, n)) to simplify the statistics
reporting.
Theodore Ts'o [Sat, 17 May 2003 21:39:46 +0000 (17:39 -0400)]
Debian packaging: Add gettext to the build-depends line.
Theodore Ts'o [Sat, 17 May 2003 21:15:00 +0000 (17:15 -0400)]
LINGUAS, de-utf.po: Remove de-utf.po; de.po is newer, and we
shouldn't have two versions using different charset
encodings anyway.
Theodore Ts'o [Sat, 17 May 2003 20:29:27 +0000 (16:29 -0400)]
MCONFIG.in, configure.in: Only put the intl directory in the -I
search path if we are using --with-internal-gettext.
Otherwise causes compatibility problems with the woody
glibc. (Addresses Debian bug #193372)
Theodore Ts'o [Wed, 14 May 2003 03:53:20 +0000 (23:53 -0400)]
Add package dependency to shlibs for comerr to indicate support
for kth compatibility. (Closes Debian bug #193096)
Theodore Ts'o [Wed, 14 May 2003 03:41:29 +0000 (23:41 -0400)]
unix_io.c: Add #ifdef NO_IO_CACHE which disables all userspace
caching by the unix_io layer. Not enabled, only for
debugging.
Theodore Ts'o [Wed, 14 May 2003 03:32:59 +0000 (23:32 -0400)]
main.c (main): Add the ability to specify units to the size
parameter, and make the error and information messages
display explicitly the blocksize used by the filesystem,
to avoid confusion. (Addresses Debian bug: #189814)
Theodore Ts'o [Wed, 14 May 2003 03:32:32 +0000 (23:32 -0400)]
configure.in: Fix typo in help message for --enable-evms-11
Theodore Ts'o [Wed, 14 May 2003 03:03:43 +0000 (23:03 -0400)]
util.c, ls.c, logdump.c, htree.c, dump.c, debugfs.h, debugfs.c, ChangeLog:
util.c (reset_getopt), debugfs.c (do_open_filesys,
do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump),
htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump):
Define and use a new function, reset_getopt(), which does whatever
is necessary to reset getopt() again. This is different for
different implementations, so the portabilty issues are a bit of a
nightmare. (Addresses Debian bug #192834)
Theodore Ts'o [Thu, 8 May 2003 14:39:50 +0000 (10:39 -0400)]
Debian packaging issues:
* Remove e2fsprogs-bf package, as it is obsolete. (Closes: #183453)
* Remove NLS support from e2fsprogs-udeb. Save 5.5k on the boot
floppies / install media.
Theodore Ts'o [Thu, 8 May 2003 07:33:07 +0000 (03:33 -0400)]
Update debian changelog
Add replaces field to comerr-dev to resolve a file conflict with
/usr/include/com_err.h and the libkrb5-dev package.
(Closes: #192277)
Theodore Ts'o [Wed, 7 May 2003 13:52:14 +0000 (09:52 -0400)]
badblocks.c, badblocks.8.in: Functional enhancements contributed
by Thayne Harbaugh. These patches allow the -t option to
control the test pattern(s) used when checking the disk.
Test patterns may be specified in all modes (r/w, r/o and
non-destructive).
Theodore Ts'o [Wed, 7 May 2003 12:35:38 +0000 (08:35 -0400)]
badblocks.c (test_rw): Fix minor memory leak with test_rw() is
called for multiple passes.
(test_nd): Fix bug in chosing randomness for the
non-destructive test. We were only using 1 bit of
randomness per byte instead of 8 due to a bit-shift bug.
Also, initialize the random number generator from the time
in main(). Thanks to Thayne Harbaugh for pointing out
these bugs.
Theodore Ts'o [Tue, 6 May 2003 04:31:55 +0000 (00:31 -0400)]
Update debian changelog.
Declare comerr-dev as replacing << e2fslibs-dev 1.33-2, to avoid
errors when upgrading to the new versions of comerr-dev and
e2fslibs-dev
Declare init_error_table as taking a long for the second argument.
Theodore Ts'o [Tue, 6 May 2003 03:07:32 +0000 (23:07 -0400)]
Add full Heimdall compatibility.
Theodore Ts'o [Tue, 6 May 2003 00:38:33 +0000 (20:38 -0400)]
Add usr/share/locale to e2fsprogs.files (debian packaging).
Theodore Ts'o [Tue, 6 May 2003 00:02:39 +0000 (20:02 -0400)]
Update Debian changelog.
Add support for OV-style continuation (closes Debian bug #191900).
Move /usr/include/com_err.h from the e2fslibs-dev package to the
comerr-dev package. (closes Debian bug #191899)
Theodore Ts'o [Mon, 5 May 2003 23:50:49 +0000 (19:50 -0400)]
Stupid think-o bugfix in test_io.c: Don't close data->outfile
if it is stderr.
Theodore Ts'o [Mon, 5 May 2003 16:08:47 +0000 (12:08 -0400)]
Add --enable-test-io-debug configure option which causes e2fsck and
tune2fs to use the test I/O manager.
The test I/O manager has been changed to not do anything extra by
default, unless the TEST_IO_FLAGS and/or TEST_IO_BLOCK environment
variables are set, which controls what I/O operations are logged and
a block number to watch, respectively. The log messages are sent to
stderr by default, unless a filename is specified via the
TEST_IO_LOGFILE environment variable.
Theodore Ts'o [Mon, 5 May 2003 15:35:04 +0000 (11:35 -0400)]
debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in:
Added new command, imap, which prints the location of a
specified inode in the inode table.
Theodore Ts'o [Mon, 5 May 2003 13:00:24 +0000 (09:00 -0400)]
configure.in, configure, Makefile.in: Add --with-diet-libc
convenience option. Add --disable-evms option.
Theodore Ts'o [Sat, 3 May 2003 22:45:55 +0000 (18:45 -0400)]
Add Czech translation.
Remove "NYC" translation. Add Czech translation from Miloslav
Trmac <mitr@volny.cz>
Random NLS and other display fixes from Miloslav.
Theodore Ts'o [Sat, 3 May 2003 20:40:09 +0000 (16:40 -0400)]
tune2fs.c (parse_time): Add portability code to work around lack
of strptime().
Theodore Ts'o [Sat, 3 May 2003 20:39:50 +0000 (16:39 -0400)]
tst_badblocks.c (file_test): Use tmpfile() instead of mktemp().
Theodore Ts'o [Sat, 3 May 2003 20:35:17 +0000 (16:35 -0400)]
Update to gettext 0.11.5. We now enable NLS support by default.
Fixed up support for using the internal intl library.
Theodore Ts'o [Wed, 30 Apr 2003 01:10:15 +0000 (21:10 -0400)]
getsize.c (ext2fs_get_device_size): Allow windows code to get
the resize for filesystems that are in regular files.
Theodore Ts'o [Sun, 27 Apr 2003 21:34:14 +0000 (17:34 -0400)]
Fixed NLS support for message abbreviations in e2fsck.
Theodore Ts'o [Mon, 21 Apr 2003 20:17:09 +0000 (16:17 -0400)]
ADD TAG: E2FSPROGS-1_33
Theodore Ts'o [Mon, 21 Apr 2003 20:17:09 +0000 (16:17 -0400)]
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.
Theodore Ts'o [Mon, 21 Apr 2003 20:12:34 +0000 (16:12 -0400)]
Use DYLD_LIBRAY_PATH so that "make check" works on
Darwin systems when building with shared libraries.
Theodore Ts'o [Sat, 19 Apr 2003 18:22:19 +0000 (14:22 -0400)]
test_config: Define DYLD_LIBRAY_PATH so that "make check" works on
Darwin systems when building with shared libraries.
Theodore Ts'o [Sat, 19 Apr 2003 17:48:27 +0000 (13:48 -0400)]
Fix gcc -Wall warnings.
Theodore Ts'o [Fri, 18 Apr 2003 11:32:00 +0000 (07:32 -0400)]
Makefile.in (uuidgen): Avoid linking lsattr and chattr against
libext2fs, and avoid linking blkid against any of the ext2
libraries.
Theodore Ts'o [Fri, 18 Apr 2003 11:22:01 +0000 (07:22 -0400)]
configure.in: Remove CYGWIN definition; we will use the
automatically defined __CYGWIN__ instead.
Theodore Ts'o [Fri, 18 Apr 2003 03:37:28 +0000 (23:37 -0400)]
Update after "make depend".
Theodore Ts'o [Fri, 18 Apr 2003 02:06:46 +0000 (22:06 -0400)]
Add Cygwin/Windows version of ext2fs_get_device_size()
Theodore Ts'o [Fri, 18 Apr 2003 01:58:27 +0000 (21:58 -0400)]
Fsck does not need to linked against the ext2 libraries anymore.
Theodore Ts'o [Fri, 18 Apr 2003 01:55:38 +0000 (21:55 -0400)]
e2fsck/rehash.c (name_cmp): Sort the deleted inodes to the end
of the list, for portability to systems that whose qsort
does not perform a stable sort.
Theodore Ts'o [Wed, 16 Apr 2003 20:13:58 +0000 (16:13 -0400)]
Put stdout and stderr into non-buffered mode to
avoid cosmetic problems when running fsck under logsave.
Theodore Ts'o [Wed, 16 Apr 2003 19:29:39 +0000 (15:29 -0400)]
Avoid printing the version banner for mke2fs if
the -q option is specified. (Addresses Debian bug #172716)
Theodore Ts'o [Wed, 16 Apr 2003 19:20:13 +0000 (15:20 -0400)]
Use setvbuf instead of setbuf to force stdout and
stderr to be non-buffered when the stdout/stderr are a pipe.
This fixes a cosmetic problem when using e2fsck under logsave.
Theodore Ts'o [Wed, 16 Apr 2003 18:05:06 +0000 (14:05 -0400)]
* Add support for the -a and -s options to logsave.
* Change e2fsck to bracket its progress bar output with ctrl-A and ctrl-B
characters, so that logsave -s can omit writing the progress bar output
to the log file.
Theodore Ts'o [Wed, 16 Apr 2003 04:59:59 +0000 (00:59 -0400)]
ADD TAG: E2FSPROGS-1_33-WIP-0414
Theodore Ts'o [Wed, 16 Apr 2003 04:59:59 +0000 (00:59 -0400)]
Update for 1.33-WIP April 14, 2003 release.
Theodore Ts'o [Tue, 15 Apr 2003 00:40:49 +0000 (20:40 -0400)]
Remove the debian-special legal permission notes.
Theodore Ts'o [Mon, 14 Apr 2003 22:05:12 +0000 (18:05 -0400)]
Add logsave, a new program which saves the output of a command
in a log file, even if the containing directory hasn't been
mounted yet (in which case the it saves the output in
memory until it can write out the logfile).
Theodore Ts'o [Sun, 13 Apr 2003 04:44:19 +0000 (00:44 -0400)]
Add portability enhancements for Cygwin32 environment.
Theodore Ts'o [Sat, 12 Apr 2003 06:53:49 +0000 (02:53 -0400)]
Update to standards 3.5.9.
Add dc to the build-depends line.
Remove ancient e2fslibsg conflicts line.
Theodore Ts'o [Sat, 12 Apr 2003 02:10:50 +0000 (22:10 -0400)]
Mke2fs can be given a minimum block size by passing in a negative
number to the -b option.
Theodore Ts'o [Fri, 11 Apr 2003 18:00:53 +0000 (14:00 -0400)]
mke2fs.8.in: Document the -g option. (Addresses Debian bug #188318)
Theodore Ts'o [Fri, 11 Apr 2003 17:46:57 +0000 (13:46 -0400)]
Fix bug where mke2fs was incorrectly checking
the argument to the -g option, if the default block size
is used. (Addresses Debian bug #188319)
Theodore Ts'o [Fri, 11 Apr 2003 17:32:31 +0000 (13:32 -0400)]
tune2fs.8.in, mke2fs.8.in: Document the dir_index filesystem
feature which can be used with the -O option.
Theodore Ts'o [Fri, 11 Apr 2003 17:26:21 +0000 (13:26 -0400)]
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.
Theodore Ts'o [Fri, 11 Apr 2003 16:56:27 +0000 (12:56 -0400)]
Use the SS_READLINE_PATH environment variable to control the search
for a suitable readine library. As a default, try using libreadline,
libedit, and libeditline.
Theodore Ts'o [Thu, 10 Apr 2003 04:18:56 +0000 (00:18 -0400)]
Add libblkid1-udeb package for the Debian Installer.
Theodore Ts'o [Thu, 10 Apr 2003 04:01:19 +0000 (00:01 -0400)]
Various Debian fixups:
Update debian changelog. Move packages from devel to libdevel.
We now supply the /usr/include/com_err.h include file.h
Theodore Ts'o [Mon, 7 Apr 2003 03:08:47 +0000 (23:08 -0400)]
fsck.c (parse_fstab_line, interpret_type, fsck_device, ignore,
main): Don't evaluate the filesystem type when loading the
fstab file, since that might cause fsck to hang trying to
read from a floppy disk. (Addresses Debian bug #187812)
Add tmpfs and devpts to filesystems that should be
ignored, and add jfs, reseirfs, and xfs as filesystems
types where we should complain if we can't find the fsck
program for that filesystem type.
Theodore Ts'o [Sun, 6 Apr 2003 03:50:44 +0000 (22:50 -0500)]
E2fsck now updates the global free block and
inode counters from the block group specific counters
quietly. This is needed for an experimental patch which
eliminates locking the entire filesystem when allocating
blocks or inodes; if the filesystem is not unmounted
cleanly, the global counts may not be accurate.
Theodore Ts'o [Fri, 4 Apr 2003 01:09:19 +0000 (20:09 -0500)]
Import bug fixes from EVMS 2.0 tree.
Fixed possible hangs caused by bugs in calling waitpid, and not
setting the pipe to non-blocking mode. Also fixed a file descriptor
leak. Made sure all functions call log entry/exit functions.
Theodore Ts'o [Thu, 3 Apr 2003 16:37:46 +0000 (11:37 -0500)]
badblocks.c (bb_output): Flush output to the badblocks
output file as bad blocks are discovered.
Theodore Ts'o [Thu, 3 Apr 2003 13:25:15 +0000 (08:25 -0500)]
gen_uuid.c (get_random_bytes): Always xor in a stream of bytes
from the system PRNG (i.e., random/srandom, seeded from
the time, pid, and uid) in case /dev/random isn't doing
the right thing on a particular system. It doesn't hurt,
and it can help, in the case of a buggy /dev/random.
Theodore Ts'o [Thu, 3 Apr 2003 05:04:28 +0000 (00:04 -0500)]
Fix XFS superblock definition. Add support to
extract UUID and labels for JFS and romfs. (Thanks to
Janos Farkas <chexum@acomp.hu>.)
Theodore Ts'o [Mon, 31 Mar 2003 04:53:53 +0000 (23:53 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0330
Theodore Ts'o [Mon, 31 Mar 2003 04:53:53 +0000 (23:53 -0500)]
Remove gen-tarball when doing "make clean"
Theodore Ts'o [Mon, 31 Mar 2003 04:45:02 +0000 (23:45 -0500)]
Update for e2fsprogs 1.33-WIP-0330 release
Theodore Ts'o [Mon, 31 Mar 2003 04:29:18 +0000 (23:29 -0500)]
Update dependencies of ss/Makefile
Theodore Ts'o [Mon, 31 Mar 2003 04:08:32 +0000 (23:08 -0500)]
getsize.c: #include stat.h for the Apple Darwin port
Theodore Ts'o [Mon, 31 Mar 2003 03:26:13 +0000 (22:26 -0500)]
Change compile_et to generate header files that use <et/com_err.h>
instead of <com_err.h>, so the current version of the header file
is used.
Add a --build-tree option to compile_et to make sure that it uses
the et_?.awk files from the build tree.
Remove legacy support for varargs.h, K&R C, and pre-POSIX signal
support. Also fixed gcc -Wall nits.
Theodore Ts'o [Wed, 26 Mar 2003 06:06:07 +0000 (01:06 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0325
Theodore Ts'o [Wed, 26 Mar 2003 06:06:07 +0000 (01:06 -0500)]
Update for 1.33-WIP-0325 release.
I'm now the Debian maintainer!
Theodore Ts'o [Wed, 26 Mar 2003 05:58:06 +0000 (00:58 -0500)]
tr.po: Update from nilgun@superonline.com.
Theodore Ts'o [Wed, 26 Mar 2003 04:08:29 +0000 (23:08 -0500)]
f_h_badnode, f_h_badroot, f_h_reindex: Updated expect script to
remove the optimizing directories message.
Theodore Ts'o [Wed, 26 Mar 2003 04:02:34 +0000 (23:02 -0500)]
Fixed chattr man page to clarify description of the 't' (no tail)
attribute.
Theodore Ts'o [Sun, 23 Mar 2003 06:37:53 +0000 (01:37 -0500)]
Move tarball generation functions to util/gen-tarball
Theodore Ts'o [Thu, 20 Mar 2003 00:46:02 +0000 (19:46 -0500)]
com_err.h, error_table.h: Move definition of the error_table
structure from the internal error_table.h to com_err.h,
since it now needs to be public.
et_c.awk, et_h.awk: Import changes from krb5's et library so
that the error_table structure is defined and available
publically.
error_message.c: Import krb5 and heimdall com_err extensions to
the et library.
Theodore Ts'o [Mon, 17 Mar 2003 23:13:57 +0000 (18:13 -0500)]
cache.c: Initialize blkid_debug_mask to zero since some
operating systems can't deal with variables in the common
section in shared libraries.
Theodore Ts'o [Mon, 17 Mar 2003 18:53:38 +0000 (13:53 -0500)]
ls.c (list_super2): Display the superblock fields even if the
journal or the dir index feature is not enabled.
Theodore Ts'o [Mon, 17 Mar 2003 15:01:22 +0000 (10:01 -0500)]
Fix the Apple Darwin port.
Theodore Ts'o [Mon, 17 Mar 2003 01:49:43 +0000 (20:49 -0500)]
ADD TAG: E2FSPROGS-1_33-WIP-0316