OSDN Git Service

android-x86/external-e2fsprogs.git
20 years agoUpdate release notes as of December 26, 2003.
Theodore Ts'o [Fri, 26 Dec 2003 19:04:33 +0000 (14:04 -0500)]
Update release notes as of December 26, 2003.

20 years agoUpdate e2fsprogs POT file.
Theodore Ts'o [Fri, 26 Dec 2003 19:03:39 +0000 (14:03 -0500)]
Update e2fsprogs POT file.

20 years agochattr.1.in: Update text indicating the 'c', 's', and 'u'
Theodore Ts'o [Fri, 26 Dec 2003 19:03:20 +0000 (14:03 -0500)]
chattr.1.in: Update text indicating the 'c', 's', and 'u'
attributes are not currently supported to remove any
mention of a specific kernel version.  (Addresses Debian
bug #214920)

20 years agofsck.8.in: Update text describing "standard" options supported
Theodore Ts'o [Fri, 26 Dec 2003 18:56:14 +0000 (13:56 -0500)]
fsck.8.in: Update text describing "standard" options supported
by filesystem-specific checkers.  (Addresses Debian bug
#222606)

20 years agoAdd filefrag program to the list of programs installed in /usr/sbin.
Theodore Ts'o [Thu, 25 Dec 2003 19:31:08 +0000 (14:31 -0500)]
Add filefrag program to the list of programs installed in /usr/sbin.

20 years agoTry to use the DEBUGFS_PAGER environment
Theodore Ts'o [Thu, 25 Dec 2003 19:28:55 +0000 (14:28 -0500)]
Try to use the DEBUGFS_PAGER environment
variable first, and then fall back to the PAGER
environment variable.  Finally, search for an appropriate
pager executable.

20 years agoUpdate changelog for debian release.
Theodore Ts'o [Thu, 25 Dec 2003 07:08:07 +0000 (02:08 -0500)]
Update changelog for debian release.

20 years agoAdd Spanish translation and update PO files.
Theodore Ts'o [Wed, 24 Dec 2003 19:24:02 +0000 (14:24 -0500)]
Add Spanish translation and update PO files.

20 years agoTrivial warning fixes.
Matthias Andree [Sat, 20 Dec 2003 23:52:48 +0000 (00:52 +0100)]
Trivial warning fixes.

20 years agoInitial checkin of the filefrag program, which reports on how
Theodore Ts'o [Wed, 17 Dec 2003 15:13:41 +0000 (10:13 -0500)]
Initial checkin of the filefrag program, which reports on how
badly fragmented a file might be.

20 years agoFix bug in e2fsck: When reconnecting a directory, we may
Theodore Ts'o [Fri, 12 Dec 2003 08:00:56 +0000 (03:00 -0500)]
Fix bug in e2fsck:  When reconnecting a directory, we may
need to create a lost+found directory.  This may
invalidate our pointer to the directory information, so we
must look it up again after calling
e2fsck_reconnect_file().  (Addresses Debian bug #219640).

20 years agodebugfs.c (do_write, do_mkdir): If the directory is full,
Theodore Ts'o [Thu, 11 Dec 2003 16:54:48 +0000 (11:54 -0500)]
debugfs.c (do_write, do_mkdir): If the directory is full,
automatically call ext2fs_expand_dir() and then retry to
add the link to the directory as a convenience to the
user.  (Addresses Debian Bug: #217892)
(do_mknod): Clean up expand_dir error handling.

20 years agotune2fs.8.in: Fix some whitespace errors in the command synopsis.
Theodore Ts'o [Thu, 11 Dec 2003 16:31:48 +0000 (11:31 -0500)]
tune2fs.8.in: Fix some whitespace errors in the command synopsis.

20 years agocom_err.3: Fix C syntax error pointed out by ESR.
Theodore Ts'o [Thu, 11 Dec 2003 16:24:44 +0000 (11:24 -0500)]
com_err.3: Fix C syntax error pointed out by ESR.

20 years agoe2fsck.h (E2F_FLAG_RESTARTED): Assign a unique flag bitfield to
Theodore Ts'o [Thu, 11 Dec 2003 06:00:21 +0000 (01:00 -0500)]
e2fsck.h (E2F_FLAG_RESTARTED): Assign a unique flag bitfield to
E2F_FLAG_RESTARTED.  This fixes a bug where if the user
specifies an alternate superblock, and the journal needs
to be replayed, e2fsck would erroneously assume that
journal had been run already without clearing the
NEEDS_RECOVERY flag, and bomb out with an error.

20 years agodebugfs.c (do_write): Mask off the file type bits, and OR in the
Theodore Ts'o [Sun, 7 Dec 2003 21:31:45 +0000 (16:31 -0500)]
debugfs.c (do_write): Mask off the file type bits, and OR in the
regular file information.  (Addresses Debian Bug: #217456)

20 years agocs.po: Fix mangled encoding in Czech locale file. (Addresses
Theodore Ts'o [Sun, 7 Dec 2003 19:21:21 +0000 (14:21 -0500)]
cs.po: Fix mangled encoding in Czech locale file.  (Addresses
Debian bug #214633)

20 years agoutil.c (open_pager): Search for the pager to use, starting with
Theodore Ts'o [Sun, 7 Dec 2003 18:16:25 +0000 (13:16 -0500)]
util.c (open_pager): Search for the pager to use, starting with
'pager', and then falling back to 'less' and then 'more'.
(Addresses Debian Bug: #221977)

20 years agoFix test for /etc/mkinitrd/scripts/e2fsprogs to make sure it gets
Theodore Ts'o [Sun, 7 Dec 2003 17:45:49 +0000 (12:45 -0500)]
Fix test for /etc/mkinitrd/scripts/e2fsprogs to make sure it gets
   removed.  (Addresses Debian Bug #213275)

20 years agoADD TAG: E2FSPROGS-1_35-WIP-1207
Theodore Ts'o [Sun, 7 Dec 2003 17:17:27 +0000 (12:17 -0500)]
ADD TAG: E2FSPROGS-1_35-WIP-1207

20 years agoRemove warning message about using NLS.
Theodore Ts'o [Sun, 7 Dec 2003 17:17:27 +0000 (12:17 -0500)]
Remove warning message about using NLS.

20 years agomke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner.
Theodore Ts'o [Sun, 7 Dec 2003 07:28:24 +0000 (02:28 -0500)]
mke2fs.c (PRS): Fix mke2fs -V so that it prints the version banner.

20 years agoUpdate for WIP release December 7, 2003.
Theodore Ts'o [Sun, 7 Dec 2003 07:16:43 +0000 (02:16 -0500)]
Update for WIP release December 7, 2003.

20 years agoAdd libuuid1-udeb (Closes: #221777)
Theodore Ts'o [Sun, 7 Dec 2003 06:57:04 +0000 (01:57 -0500)]
Add libuuid1-udeb (Closes: #221777)

20 years agoFix gcc -Wall nitpicks
Theodore Ts'o [Sun, 7 Dec 2003 06:28:50 +0000 (01:28 -0500)]
Fix gcc -Wall nitpicks

20 years agorecovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
Theodore Ts'o [Sun, 7 Dec 2003 06:00:02 +0000 (01:00 -0500)]
recovery.c, jfs_user.h: Sync recovery.c with latest 2.5 kernel
version.

20 years agoWhen testing a disk using e2fsck -c, use the list
Theodore Ts'o [Tue, 2 Dec 2003 12:56:42 +0000 (07:56 -0500)]
When testing a disk using e2fsck -c, use the list
of new bad blocks to replace the current list of bad
blocks.  This way "e2fsck -c" can be used to recover from
a corrupted bad block inode.

20 years agoet_c.awk: Add declaration of the Heimdal initialization routine
Theodore Ts'o [Fri, 28 Nov 2003 14:38:13 +0000 (09:38 -0500)]
et_c.awk: Add declaration of the Heimdal initialization routine
      to avoid gcc -Wall complaints

(Incomplete checkin --- see previous changeset as well)

20 years agoet_c.awk: Add declaration of the Heimdal initialization routine
Theodore Ts'o [Fri, 28 Nov 2003 14:36:37 +0000 (09:36 -0500)]
et_c.awk: Add declaration of the Heimdal initialization routine
to avoid gcc -Wall complaints

Rename test cases to spell Heimdal correctly (only one 'l').

20 years agocom_err.h, com_err.c: Use GCC attributes to mark com_err and
Theodore Ts'o [Thu, 27 Nov 2003 04:19:28 +0000 (23:19 -0500)]
com_err.h, com_err.c: Use GCC attributes to mark com_err and
default_com_err_proc as taking printf-style format
strings.

20 years agoMCONFIG.in: Make the gcc-wall print more warnings to catch
Theodore Ts'o [Thu, 27 Nov 2003 04:18:56 +0000 (23:18 -0500)]
MCONFIG.in: Make the gcc-wall print more warnings to catch
signed vs. unsigned problems.

20 years agocom_err.h: Retore the type of n_msgs in the error_table
Theodore Ts'o [Sat, 22 Nov 2003 18:54:38 +0000 (13:54 -0500)]
com_err.h: Retore the type of n_msgs in the error_table
structure to "int" from "unsigned int" fix a core dumping
bug in the com_right() function.  (Addresses Debian bug
#213450)

20 years agopl.po: Added new Polish translation.
Theodore Ts'o [Fri, 21 Nov 2003 17:56:32 +0000 (12:56 -0500)]
pl.po: Added new Polish translation.

sv.po: Updated Sweedish translation.

20 years agode.po: Fixed and updated German translations from Marc Langer.
Theodore Ts'o [Fri, 21 Nov 2003 17:46:04 +0000 (12:46 -0500)]
de.po: Fixed and updated German translations from Marc Langer.
(Addresses Debian bug #200086)

20 years agoIn e2fsck, given an extra grace period before actually forcing
Theodore Ts'o [Fri, 21 Nov 2003 16:02:22 +0000 (11:02 -0500)]
In e2fsck, given an extra grace period before actually forcing
a filesystem check if a laptop system reports it is running on
battery.  This way the laptop will be biased to waiting until
it is on AC power before doing a filesystem check.  (Addresses
Debian bug #205177)

20 years agoIn e2fsck, if the number of mounts until the next forced filesystem
Theodore Ts'o [Fri, 21 Nov 2003 15:54:54 +0000 (10:54 -0500)]
In e2fsck, if the number of mounts until the next forced filesystem
check is 5 or less, mention this to the user.  (Addresses
Debian bug #157194)

20 years agopass1.c (e2fsck_pass1), problem.h (PR_1_BB_FS_BLOCK),
Theodore Ts'o [Fri, 21 Nov 2003 15:41:58 +0000 (10:41 -0500)]
pass1.c (e2fsck_pass1), problem.h (PR_1_BB_FS_BLOCK),
  problem.c (PR_1_BB_FS_BLOCK, PR_1_BBINODE_BAD_METABLOCK_PROMPT):
Fix up the handling of corrupted indirect blocks in the
bad block.  We now correctly handle the case where there
is an overlap between a block group descriptor or
a superblock and a bad block indirect block.  In the case
where the indirect block is corrupted, we now suggest
"e2fsck -c".

20 years agoCheck the returned name from blkid_get_devname in tune2fs and
Theodore Ts'o [Fri, 21 Nov 2003 14:10:29 +0000 (09:10 -0500)]
Check the returned name from blkid_get_devname in tune2fs and
e2fsck, and print an error if the requested LABEL/UUID does
not exist (previously, we core dumped!)

20 years agoCenteralize calculation of which blocks are reserved/used for
Theodore Ts'o [Fri, 21 Nov 2003 14:02:21 +0000 (09:02 -0500)]
Centeralize calculation of which blocks are reserved/used for
the superblock and block group descriptors into two functions:
ext2fs_reserve_super_and_bgd, found in lib/ext2fs/alloc_sb.c, and
ext2fs_super_and_bgd_lock, found in lib/ext2fs/close.c.

Change e2fsck/pass1.c (mark_table_blocks), lib/ext2fs/closefs.c
(ext2fs_flush), lib/ext2fs/initialize.c (ext2fs_initialize),
and misc/dumpe2fs.c (list_desc) to use these functions.

e2fsck/ChangeLog
    pass1.c (mark_table_blocks): Use the new function
     ext2fs_reserve_super_and_bgd to calculate the blocks to be
     reserved.

lib/ext2fs/ChangeLog
    closefs.c (ext2fs_super_and_bgd_loc): New function which
     centralizes the calculation of the superblock and block
     group descriptors.
     (ext2fs_flush): Use ext2fs_super_and_bgd_lock to figure
     out where to write the superblock and block group
     descriptors.

    alloc_sb.c (ext2fs_reserve_super_and_bgd): New function which
     reserves space in the block bitmap using
     ext2fs_super_and_bgd_loc.

    initialize.c (ext2fs_initialize): Use
     ext2fs_reserve_super_and_bgd to initialize the block bitmap.

misc/ChangeLog
    dumpe2fs.c (list_desc): Use ext2fs_super_and_bgd_loc to
     determine the locations of the superblock and block group
      descriptors.

20 years agoutil.c (check_plausibility): Support 2.6 kernel header files,
Theodore Ts'o [Thu, 20 Nov 2003 23:34:20 +0000 (18:34 -0500)]
util.c (check_plausibility): Support 2.6 kernel header files,
instead of having the build to crash.  (Addresses Debian
bug #221778)

20 years agom_meta_bg: New test case to test the meta block group feature.
Theodore Ts'o [Wed, 3 Sep 2003 13:51:52 +0000 (09:51 -0400)]
m_meta_bg: New test case to test the meta block group feature.

m_raid_opt: New test case to test raid striping

m_large_file: Fix description

run_e2fsck, run_mke2fs, filter_dumpe2fs: Add dumpe2fs output to
the test output for comparison.  Add support for
compressed expect scripts.

20 years agoAdd regression tests for mke2fs.
Theodore Ts'o [Mon, 1 Sep 2003 13:28:18 +0000 (09:28 -0400)]
Add regression tests for mke2fs.

Mke2fs has been modified to honor the MKE2FS_SKIP_PROGRESS,
MKE2FS_DEVICE_SECTSIZE, and MKE2FS_SKIP_CHECK_MSG in order
facilitate the regression testing.

20 years agoUpdate debian changelog
Theodore Ts'o [Mon, 1 Sep 2003 03:07:16 +0000 (23:07 -0400)]
Update debian changelog

Force e2fsprogs to use the most current version of e2fslibs.  (Closes
Debian bug #208103.

20 years agomke2fs.c (set_fs_defaults): Fix bug which caused -T largefile or
Theodore Ts'o [Mon, 1 Sep 2003 00:56:57 +0000 (20:56 -0400)]
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)

20 years agoutil.c (get_backup_sb): Check to make sure the context is passed
Theodore Ts'o [Mon, 25 Aug 2003 01:36:38 +0000 (21:36 -0400)]
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.

20 years agoAdjust description line so that apropos "ext2" or "ext3" will
Theodore Ts'o [Sun, 24 Aug 2003 21:56:41 +0000 (17:56 -0400)]
Adjust description line so that apropos "ext2" or "ext3" will
find all of the e2fsprogs man pages.  (Addresses Debian Bug #206845)

20 years agoChange the priority of libblkid1-udeb to be required instead of
Theodore Ts'o [Thu, 21 Aug 2003 13:00:14 +0000 (09:00 -0400)]
Change the priority of libblkid1-udeb to be required instead of
    standard, to match the override file.

Update the debian changelog file.

20 years agojournal.c (e2fsck_move_ext3_journal): When moving the journal or
Theodore Ts'o [Thu, 21 Aug 2003 12:59:38 +0000 (08:59 -0400)]
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.

20 years agoADD TAG: E2FSPROGS-1_35-WIP-0821
Theodore Ts'o [Thu, 21 Aug 2003 06:14:44 +0000 (02:14 -0400)]
ADD TAG: E2FSPROGS-1_35-WIP-0821

20 years agoUpdate for 1.35-WIP 21-Aug-2003 release.
Theodore Ts'o [Thu, 21 Aug 2003 06:14:44 +0000 (02:14 -0400)]
Update for 1.35-WIP 21-Aug-2003 release.

20 years agoUpdate po files.
Theodore Ts'o [Thu, 21 Aug 2003 06:11:44 +0000 (02:11 -0400)]
Update po files.

20 years agoFix misc. debian packaging problems.
Theodore Ts'o [Thu, 21 Aug 2003 05:53:07 +0000 (01:53 -0400)]
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)

20 years agoAdd support for backing up the journal inode location in the
Theodore Ts'o [Thu, 21 Aug 2003 04:40:26 +0000 (00:40 -0400)]
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.

20 years agoMakefile.in: Delete com_err.info on a make clean
Theodore Ts'o [Wed, 20 Aug 2003 16:54:31 +0000 (12:54 -0400)]
Makefile.in: Delete com_err.info on a make clean

testcases: Update to reflect fixed prototype for
initialize_xxx_err_table_r.

20 years agoe2fsck.h, unix.c (PRS, e2fsck_clear_progbar,
Theodore Ts'o [Tue, 19 Aug 2003 14:08:34 +0000 (10:08 -0400)]
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.

20 years agoet_h.awk: Fix wrong prototype for initialize_xxx_err_table_r.
Theodore Ts'o [Tue, 19 Aug 2003 12:36:48 +0000 (08:36 -0400)]
et_h.awk: Fix wrong prototype for initialize_xxx_err_table_r.
(Thanks to Gombas Gabor for pointing this out, addresses
Debian bug #204332)

21 years agoADD TAG: E2FSPROGS-1_35-WIP-0801
Theodore Ts'o [Sun, 3 Aug 2003 00:48:35 +0000 (20:48 -0400)]
ADD TAG: E2FSPROGS-1_35-WIP-0801

21 years agoUpdate for 1.35-WIP 01-Aug-2003 release.
Theodore Ts'o [Sun, 3 Aug 2003 00:48:35 +0000 (20:48 -0400)]
Update for 1.35-WIP 01-Aug-2003 release.

21 years agoInclude inttypes.h if present. New macros INT_TO_VOIDPTR and
Theodore Ts'o [Fri, 1 Aug 2003 18:26:23 +0000 (14:26 -0400)]
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.

21 years agoFix tests so that they work even with --disable-htree.
Theodore Ts'o [Fri, 1 Aug 2003 17:25:26 +0000 (13:25 -0400)]
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.

21 years agofs_ext2.c (fs_cleanup, fs_init_task, fs_set_volumes): Use an
Theodore Ts'o [Fri, 1 Aug 2003 15:02:24 +0000 (11:02 -0400)]
fs_ext2.c (fs_cleanup, fs_init_task, fs_set_volumes): Use an
ugly union to fix pointer aliasing problems in lib/evms.

21 years agoext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem()
Theodore Ts'o [Fri, 1 Aug 2003 13:41:07 +0000 (09:41 -0400)]
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.

21 years agoUse $(MAKE) rather than hardcoded "make", to aid build process on
Matthias Andree [Fri, 1 Aug 2003 13:09:15 +0000 (15:09 +0200)]
Use $(MAKE) rather than hardcoded "make", to aid build process on
systems that expect GNU make as "gmake".

21 years agoAdd Heimdal compile_et extensions from Philipp Thomas <pthomas@suse.de>
Theodore Ts'o [Fri, 1 Aug 2003 12:59:40 +0000 (08:59 -0400)]
Add Heimdal compile_et extensions from Philipp Thomas <pthomas@suse.de>

21 years agobadblocks.c (set_o_direct): Add check to make sure the file
Theodore Ts'o [Fri, 1 Aug 2003 04:58:00 +0000 (00:58 -0400)]
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.)

21 years agoChanged priority of libblkid1-udeb to be standard, not required.
Theodore Ts'o [Wed, 30 Jul 2003 23:48:01 +0000 (19:48 -0400)]
Changed priority of libblkid1-udeb to be standard, not required.

21 years agoExplicitly specify the version of libblkid1 needed in e2fsprogs.shlibs.local
Theodore Ts'o [Wed, 30 Jul 2003 03:35:22 +0000 (23:35 -0400)]
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)

21 years agoFix erroneous reference to /usr/share/doc/e2fsprogs/html-info in
Theodore Ts'o [Wed, 30 Jul 2003 03:13:14 +0000 (23:13 -0400)]
Fix erroneous reference to /usr/share/doc/e2fsprogs/html-info in
/usr/share/doc-base/libext2fs (Closes: #203157)

21 years agoApplied NMU patch to fix Debian bugs #203056 and #203058
Theodore Ts'o [Wed, 30 Jul 2003 02:15:33 +0000 (22:15 -0400)]
Applied NMU patch to fix Debian bugs #203056 and #203058

21 years agoADD TAG: E2FSPROGS-1_34
Theodore Ts'o [Sat, 26 Jul 2003 05:03:34 +0000 (01:03 -0400)]
ADD TAG: E2FSPROGS-1_34

21 years agoUpdate for 1.34 release.
Theodore Ts'o [Sat, 26 Jul 2003 05:03:34 +0000 (01:03 -0400)]
Update for 1.34 release.

21 years agoUpdate internationalization files.
Theodore Ts'o [Sat, 26 Jul 2003 04:51:54 +0000 (00:51 -0400)]
Update internationalization files.

21 years agoAddresses Debian bug #201050. Set the libc-dev dependency correctly
Theodore Ts'o [Sat, 26 Jul 2003 04:48:08 +0000 (00:48 -0400)]
Addresses Debian bug #201050.  Set the libc-dev dependency correctly
and set DEB_{HOST,BUILD}_* variables correctly for architectures
other than *-linux and *-gnu.

21 years agomke2fs.c (PRS): Add warning if using -j and the blocksize is
Theodore Ts'o [Fri, 25 Jul 2003 21:39:51 +0000 (17:39 -0400)]
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)

21 years agoLINGUAS, sv.po: Added Sweedish translation from Göran Uddeborg
Theodore Ts'o [Fri, 25 Jul 2003 16:10:12 +0000 (12:10 -0400)]
LINGUAS, sv.po: Added Sweedish translation from Göran Uddeborg
<goeran@uddeborg.se>

21 years agobadblocks.c (set_o_direct): Remove debugging printf. (Addresses
Theodore Ts'o [Fri, 25 Jul 2003 11:39:33 +0000 (07:39 -0400)]
badblocks.c (set_o_direct): Remove debugging printf.  (Addresses
Debian bug #201499)

21 years agoSeparate out shared libraries out of e2fsprogs to real pacakges:
Theodore Ts'o [Fri, 25 Jul 2003 11:03:00 +0000 (07:03 -0400)]
Separate out shared libraries out of e2fsprogs to real pacakges:
libss2, libcomerr2, libuuid1, and e2fslibs.

Remove Yann's TODO and README.Debian files.

21 years agoDo not include the top-level ChangeLog file in /usr/share/doc/e2fsprogs
Theodore Ts'o [Wed, 23 Jul 2003 13:55:39 +0000 (09:55 -0400)]
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.

21 years agoUpdate makefile dependencies.
Theodore Ts'o [Wed, 23 Jul 2003 13:53:06 +0000 (09:53 -0400)]
Update makefile dependencies.

21 years agoprobe.c (probe_udf): Add specific UDF probing code, and probe
Theodore Ts'o [Tue, 22 Jul 2003 05:06:36 +0000 (01:06 -0400)]
probe.c (probe_udf): Add specific UDF probing code, and probe
UDF before checking for ISO9660 filesystems.

21 years agofsck.c (wait_many): Rename wait_all() to wait_many(), and have
Theodore Ts'o [Tue, 22 Jul 2003 00:43:21 +0000 (20:43 -0400)]
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.

21 years agolibblkid.txt: Clarify documentation file
Theodore Ts'o [Tue, 22 Jul 2003 00:03:59 +0000 (20:03 -0400)]
libblkid.txt: Clarify documentation file

21 years agoprobe.c (blkid_known_fstype): New function which returns true if
Theodore Ts'o [Mon, 21 Jul 2003 23:42:19 +0000 (19:42 -0400)]
probe.c (blkid_known_fstype): New function which returns true if
the filesystem type is one which this blkid library supports.

21 years agoprobe.c: When revalidating a filesystem in the blkid library,
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.

21 years agotag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an
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.

21 years agoUse symbolic links for fsck.ext{2,3} and mkfs.ext{2,3} in the udeb
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)

21 years agoUpdate debian changelog
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)

21 years agobadblocks.c (do_read, do_write, test_rw): Change the read/write
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)

21 years agoUpdate to use the new freebsd config triple (Addresses Debian
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)

21 years agomke2fs.c (set_fs_defaults): If sector_size is 0, don't use it to
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)

21 years agoIn mke2fs and resize2fs, round the default size of the filesystem to
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.

21 years agoFixx gcc -Wall nitpicks.
Theodore Ts'o [Sun, 6 Jul 2003 04:36:48 +0000 (00:36 -0400)]
Fixx gcc -Wall nitpicks.

21 years agoconfigure.in:
Theodore Ts'o [Sat, 5 Jul 2003 18:50:24 +0000 (14:50 -0400)]
configure.in:
  Add workaround for Darwin and Libintl

21 years agoFix spelling error in e2fsck problem reporting.
Theodore Ts'o [Tue, 24 Jun 2003 22:06:03 +0000 (18:06 -0400)]
Fix spelling error in e2fsck problem reporting.

21 years agoFix bug in resize2fs which caused it to fail on filesystems with a
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.)

21 years agoresize2fs.8.in: Make explicit that you need to run resize2fs
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)

21 years agoAdjust defaults for FreeBSD to no longer build the
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)

21 years agoADD TAG: E2FSPROGS-1_34-WIP-0521
Theodore Ts'o [Wed, 21 May 2003 22:26:31 +0000 (18:26 -0400)]
ADD TAG: E2FSPROGS-1_34-WIP-0521

21 years agoUpdate for e2fsprogs 1.34-WIP-0521 release.
Theodore Ts'o [Wed, 21 May 2003 22:26:31 +0000 (18:26 -0400)]
Update for e2fsprogs 1.34-WIP-0521 release.

21 years agounused.c (do_dump_unused): Add new command which dumps the
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.)