Commit Graph

1575 Commits (a06bd026c7f366c080db0a38ffbf1fe38abb0999)

Author SHA1 Message Date
Theodore Ts'o 79120f8002 mke2fs.c (set_fs_defaults): Fix bug which caused -T largefile or
-T largefile4 to core dump due to a division by zero
	error.  (Addressed Debian bug #207082)
2003-08-31 20:56:57 -04:00
Theodore Ts'o 557ddb2fdf util.c (get_backup_sb): Check to make sure the context is passed
in non-NULL before trying to dereference it.  Otherwise we
	might core dump when called to expand %S in a problem
	description.
2003-08-24 21:36:38 -04:00
Theodore Ts'o a7ac1df34f Adjust description line so that apropos "ext2" or "ext3" will
find all of the e2fsprogs man pages.  (Addresses Debian Bug #206845)
2003-08-24 17:56:41 -04:00
Theodore Ts'o 2ff2971275 Change the priority of libblkid1-udeb to be required instead of
standard, to match the override file.

Update the debian changelog file.
2003-08-21 09:00:14 -04:00
Theodore Ts'o 27479eb227 journal.c (e2fsck_move_ext3_journal): When moving the journal or
backing up the journal inode, make sure it gets written to
	all the superblocks.
2003-08-21 08:59:38 -04:00
Theodore Ts'o 91a7766ace ADD TAG: E2FSPROGS-1_35-WIP-0821 2003-08-21 02:14:44 -04:00
Theodore Ts'o 6826bde546 Update for 1.35-WIP 21-Aug-2003 release. 2003-08-21 02:14:44 -04:00
Theodore Ts'o f27eb6e8c0 Update po files. 2003-08-21 02:11:44 -04:00
Theodore Ts'o 1d658a1361 Fix misc. debian packaging problems.
* Move the initrd script from /etc/mkinitrd/scripts to
  /usr/share/initrd-tools/scripts so that mkinitrd will not remove
  the file when it is uninstalled.  (Addresses Debian bug #204019)

* Remove unneeded files in debian directory: blkid-dev.substvars and
   e2fsprogs-bf.lintian-overrides.  (Addresses Debian bug #203914)

* Support "noopt" in DEB_BUILD_OPTIONS instead of "debug".  
   (Addresses Debian bug #203914)
2003-08-21 01:53:07 -04:00
Theodore Ts'o a435ec3449 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.
2003-08-21 00:40:26 -04:00
Theodore Ts'o 51bc084517 Makefile.in: Delete com_err.info on a make clean
testcases: Update to reflect fixed prototype for
	initialize_xxx_err_table_r.
2003-08-20 12:54:31 -04:00
Theodore Ts'o 54a31a3b2e e2fsck.h, unix.c (PRS, e2fsck_clear_progbar,
e2fsck_simple_progress): Don't print the ^A and ^B
	characters which bracket the progress bar when the e2fsck
	program is talking directly to a tty, but only when it is
	being piped to another program.  (Addresses Debian bug
	#204137)
unix.c: Move some initialized variables to the BSS segment to 
	shrink the size of the e2fsck executable.
2003-08-19 10:08:34 -04:00
Theodore Ts'o 924b083a3e et_h.awk: Fix wrong prototype for initialize_xxx_err_table_r.
(Thanks to Gombas Gabor for pointing this out, addresses
	Debian bug #204332)
2003-08-19 08:36:48 -04:00
Theodore Ts'o 68ea43e0a6 ADD TAG: E2FSPROGS-1_35-WIP-0801 2003-08-02 20:48:35 -04:00
Theodore Ts'o 858dd7b112 Update for 1.35-WIP 01-Aug-2003 release. 2003-08-02 20:48:35 -04:00
Theodore Ts'o 0c193f8204 Include inttypes.h if present. New macros INT_TO_VOIDPTR and
VOIDPTR_TO_INT.  Use them throughout for int<->void *
	casts to fix 64-bit warnings.
2003-08-01 14:26:23 -04:00
Theodore Ts'o 8b949fb581 Fix tests so that they work even with --disable-htree.
f_salveage_dir: Remove HTREE flag from the test image's
	superblock.  (It is not needed).

f_h_reindex: Skip this test of the htree is not enabled

f_dup_de: If htree is not enabled, clear the htree flag, and use
	alternate expect scripts for the test.
2003-08-01 13:25:26 -04:00
Theodore Ts'o 74832b53a0 fs_ext2.c (fs_cleanup, fs_init_task, fs_set_volumes): Use an
ugly union to fix pointer aliasing problems in lib/evms.
2003-08-01 11:02:24 -04:00
Theodore Ts'o c4e3d3f374 ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem()
all now take a 'void *' instead of a 'void **' in order to 
avoid pointer aliasing problems with GCC 3.x.
2003-08-01 09:41:07 -04:00
Matthias Andree 0ec1b153ba Use $(MAKE) rather than hardcoded "make", to aid build process on
systems that expect GNU make as "gmake".
2003-08-01 15:09:15 +02:00
Theodore Ts'o 44104b2b37 Add Heimdal compile_et extensions from Philipp Thomas <pthomas@suse.de> 2003-08-01 08:59:40 -04:00
Theodore Ts'o 1f9a60c251 badblocks.c (set_o_direct): Add check to make sure the file
offset of the device is page aligned.  (Addresses Debian
	Bug #203713)

badblocks.c (test_ro, test_rw): Add code to recover after an
	error so that we continue reading on page-aligned
	boundaries.  (Thanks to Philippe Troin <phil@fifi.org> for
	the patch.)
2003-08-01 00:58:00 -04:00
Theodore Ts'o 56dc917d85 Changed priority of libblkid1-udeb to be standard, not required. 2003-07-30 19:48:01 -04:00
Theodore Ts'o 8badf17f2e Explicitly specify the version of libblkid1 needed in e2fsprogs.shlibs.local
in order to avoid picking up the wrong depedency.  (Debian packaging
issue, closes Debian bug #203157)
2003-07-29 23:35:22 -04:00
Theodore Ts'o 88a8e83db8 Fix erroneous reference to /usr/share/doc/e2fsprogs/html-info in
/usr/share/doc-base/libext2fs (Closes: #203157)
2003-07-29 23:13:14 -04:00
Theodore Ts'o 7a15db2381 Applied NMU patch to fix Debian bugs #203056 and #203058 2003-07-29 22:15:33 -04:00
Theodore Ts'o 2503179526 ADD TAG: E2FSPROGS-1_34 2003-07-26 01:03:34 -04:00
Theodore Ts'o 9c7ec17809 Update for 1.34 release. 2003-07-26 01:03:34 -04:00
Theodore Ts'o f592beded7 Update internationalization files. 2003-07-26 00:51:54 -04:00
Theodore Ts'o f85cc2a8c2 Addresses Debian bug #201050. Set the libc-dev dependency correctly
and set DEB_{HOST,BUILD}_* variables correctly for architectures 
other than *-linux and *-gnu.
2003-07-26 00:48:08 -04:00
Theodore Ts'o cf7d5f1886 mke2fs.c (PRS): Add warning if using -j and the blocksize is
greater than 4096, since some kernels don't support ext3
	with large block sizes.  (Addresses Debian bug #193773)
2003-07-25 17:39:51 -04:00
Theodore Ts'o 65b1a94c18 LINGUAS, sv.po: Added Sweedish translation from Göran Uddeborg
<goeran@uddeborg.se>
2003-07-25 12:10:12 -04:00
Theodore Ts'o dc058719df badblocks.c (set_o_direct): Remove debugging printf. (Addresses
Debian bug #201499)
2003-07-25 07:39:33 -04:00
Theodore Ts'o 151c86abb9 Separate out shared libraries out of e2fsprogs to real pacakges:
libss2, libcomerr2, libuuid1, and e2fslibs.

Remove Yann's TODO and README.Debian files.
2003-07-25 07:03:00 -04:00
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