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
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