Commit Graph

1341 Commits (9bf19713c8b4e5b325ad33c1b14271a2881fa381)

Author SHA1 Message Date
Theodore Ts'o 9bf19713c8 Do not include the top-level ChangeLog file in /usr/share/doc/e2fsprogs
for debian packages.  The RELEASE-NOTES file is what people should be
reading instead.
2003-07-23 09:55:39 -04:00
Theodore Ts'o c6df04bbdb Update makefile dependencies. 2003-07-23 09:53:06 -04:00
Theodore Ts'o 3de5bf6106 probe.c (probe_udf): Add specific UDF probing code, and probe
UDF before checking for ISO9660 filesystems.
2003-07-22 01:06:36 -04:00
Theodore Ts'o 5e38fed9c5 fsck.c (wait_many): Rename wait_all() to wait_many(), and have
new semantics: WAIT_ALL vs. WAIT_ATLEAST_ONE.  This fixes
	a bug where when fsck is waiting for another partition on
	the same spindle, it spins wasting a lot of CPU.
2003-07-21 20:43:21 -04:00
Theodore Ts'o e7a8a9df55 libblkid.txt: Clarify documentation file 2003-07-21 20:03:59 -04:00
Theodore Ts'o 78e2edf796 probe.c (blkid_known_fstype): New function which returns true if
the filesystem type is one which this blkid library supports.
2003-07-21 19:42:19 -04:00
Theodore Ts'o a30b9446d1 probe.c: When revalidating a filesystem in the blkid library,
delete the LABEL tag if the filesystem no longer has a label.
2003-07-20 11:22:34 -04:00
Theodore Ts'o 849c610250 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.
2003-07-18 19:10:28 -04:00
Theodore Ts'o e3075aea55 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)
2003-07-12 16:28:09 -04:00
Theodore Ts'o b1a085fcca 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)
2003-07-12 16:02:48 -04:00
Theodore Ts'o 1c29b0979a 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)
2003-07-12 16:01:45 -04:00
Theodore Ts'o 93636bdea9 Update to use the new freebsd config triple (Addresses Debian
bug #195274)
2003-07-12 02:45:05 -04:00
Theodore Ts'o 11393006c6 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)
2003-07-12 01:58:12 -04:00
Theodore Ts'o a7ccdff8e1 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.
2003-07-08 18:03:48 -04:00
Theodore Ts'o 48e6e81362 Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
Theodore Ts'o 07a0db15b0 configure.in:
Add workaround for Darwin and Libintl
2003-07-05 14:50:24 -04:00
Theodore Ts'o d3128ccb06 Fix spelling error in e2fsck problem reporting. 2003-06-24 18:06:03 -04:00
Theodore Ts'o 7d7bdd578b 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.)
2003-06-24 17:34:02 -04:00
Theodore Ts'o 23658ffa30 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)
2003-06-08 20:32:46 -04:00
Theodore Ts'o d3c9fb8fba Adjust defaults for FreeBSD to no longer build the
fsck wrapper, and to not install into /usr/local by
	default.  (Addresses Debian bug #195274)
2003-06-08 20:26:15 -04:00
Theodore Ts'o fd1f3c5eb8 ADD TAG: E2FSPROGS-1_34-WIP-0521 2003-05-21 18:26:31 -04:00
Theodore Ts'o 96e6f5da9a Update for e2fsprogs 1.34-WIP-0521 release. 2003-05-21 18:26:31 -04:00
Theodore Ts'o a5fdcd5946 unused.c (do_dump_unused): Add new command which dumps the
unused blocks.  (Initial implementation; currently only
	dumps the output to stdout.)
2003-05-21 17:58:36 -04:00
Theodore Ts'o d339f2684d Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the
uuid library.  (Addresses Debian bug: #194094)
2003-05-21 17:56:36 -04:00
Theodore Ts'o 93d5c38791 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).
2003-05-21 17:28:29 -04:00
Theodore Ts'o 5c70a50b28 Fix bug which caused --disable-evms not to work. 2003-05-20 10:29:29 -04:00
Theodore Ts'o 84c054577f 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".
2003-05-18 01:11:52 -04:00
Theodore Ts'o 113e405bb6 unix.c (show_stats), e2fsck.h: Use ngettext (abbreivated with
the macro P_(str1, str2, n)) to simplify the statistics
	reporting.
2003-05-17 21:00:46 -04:00
Theodore Ts'o 5cdc5bfaba Debian packaging: Add gettext to the build-depends line. 2003-05-17 17:39:46 -04:00
Theodore Ts'o eb82a2b0e3 LINGUAS, de-utf.po: Remove de-utf.po; de.po is newer, and we
shouldn't have two versions using different charset
	encodings anyway.
2003-05-17 17:15:00 -04:00
Theodore Ts'o c6f35b8a82 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)
2003-05-17 16:29:27 -04:00
Theodore Ts'o 813bde19f5 Add package dependency to shlibs for comerr to indicate support
for kth compatibility.  (Closes Debian bug #193096)
2003-05-13 23:53:20 -04:00
Theodore Ts'o b8a953157b unix_io.c: Add #ifdef NO_IO_CACHE which disables all userspace
caching by the unix_io layer.  Not enabled, only for
	debugging.
2003-05-13 23:41:29 -04:00
Theodore Ts'o 792a088162 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)
2003-05-13 23:32:59 -04:00
Theodore Ts'o bb988b2fd3 configure.in: Fix typo in help message for --enable-evms-11 2003-05-13 23:32:32 -04:00
Theodore Ts'o 88494bb6d4 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)
2003-05-13 23:03:43 -04:00
Theodore Ts'o 62775dc542 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.
2003-05-08 10:39:50 -04:00
Theodore Ts'o 32e7608cf6 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)
2003-05-08 03:33:07 -04:00
Theodore Ts'o 849b6bc8ec 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).
2003-05-07 09:52:14 -04:00
Theodore Ts'o 6d40f568cd 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.
2003-05-07 08:35:38 -04:00
Theodore Ts'o 58f9d9e679 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.
2003-05-06 00:31:55 -04:00
Theodore Ts'o d03550970c Add full Heimdall compatibility. 2003-05-05 23:07:32 -04:00
Theodore Ts'o 0d54ec2350 Add usr/share/locale to e2fsprogs.files (debian packaging). 2003-05-05 20:38:33 -04:00
Theodore Ts'o b16fb628bf 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)
2003-05-05 20:02:39 -04:00
Theodore Ts'o c62dbdb9ec Stupid think-o bugfix in test_io.c: Don't close data->outfile
if it is stderr.
2003-05-05 19:50:49 -04:00
Theodore Ts'o 2a29f1354f 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.
2003-05-05 12:08:47 -04:00
Theodore Ts'o becf36f6ac 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.
2003-05-05 11:35:04 -04:00
Theodore Ts'o d21ae6c5cd configure.in, configure, Makefile.in: Add --with-diet-libc
convenience option.  Add --disable-evms option.
2003-05-05 09:00:24 -04:00
Theodore Ts'o ddc32a045b Add Czech translation.
Remove "NYC" translation.  Add Czech translation from Miloslav 
Trmac <mitr@volny.cz>

Random NLS and other display fixes from Miloslav.
2003-05-03 18:45:55 -04:00
Theodore Ts'o bc7c14e040 tune2fs.c (parse_time): Add portability code to work around lack
of strptime().
2003-05-03 16:40:09 -04:00