]> git.ipfire.org Git - thirdparty/e2fsprogs.git/log
thirdparty/e2fsprogs.git
22 years agoADD TAG: E2FSPROGS-1_24a E2FSPROGS-1_24a
Theodore Ts'o [Tue, 4 Sep 2001 19:00:37 +0000 (15:00 -0400)] 
ADD TAG: E2FSPROGS-1_24a

22 years agoUpdate for 1.24a release
Theodore Ts'o [Tue, 4 Sep 2001 19:00:37 +0000 (15:00 -0400)] 
Update for 1.24a release

22 years agoFix version format string.
Andreas Dilger [Fri, 31 Aug 2001 16:24:46 +0000 (10:24 -0600)] 
Fix version format string.

22 years agoADD TAG: E2FSPROGS-1_24 E2FSPROGS-1_24
Theodore Ts'o [Fri, 31 Aug 2001 04:59:55 +0000 (00:59 -0400)] 
ADD TAG: E2FSPROGS-1_24

22 years agoUpdate for 1.24 release.
Theodore Ts'o [Fri, 31 Aug 2001 04:59:55 +0000 (00:59 -0400)] 
Update for 1.24 release.

22 years agomke2fs.c (zap_sector): Now takes a third argument, which is how
Theodore Ts'o [Fri, 31 Aug 2001 01:55:26 +0000 (21:55 -0400)] 
mke2fs.c (zap_sector): Now takes a third argument, which is how
many sectors to clear out.  Fixed up Andreas's patch to
make it a bit more efficient/compact.

22 years agomke2fs.c (main): Zap the second sector of the disk, along with
Andreas Dilger [Thu, 30 Aug 2001 21:39:04 +0000 (15:39 -0600)] 
mke2fs.c (main): Zap the second sector of the disk, along with
        any sectors in the same filesystem block after the superblock.
        The latter will remove (for example) swapspace signatures
        on 4kB+ blocksize filesystems.  Also when zeroing the "end"
        of the filesystem don't actually zero the start of a very
        small device (less than 128kB).

22 years agobadblocks.8.in: Fix spelling typo. (Addresses Debian bug #110621)
Theodore Ts'o [Thu, 30 Aug 2001 22:07:40 +0000 (18:07 -0400)] 
badblocks.8.in: Fix spelling typo.  (Addresses Debian bug #110621)

22 years agogetsize.c (ext2fs_get_device_size): Back out BLKGETSIZE64
Theodore Ts'o [Thu, 30 Aug 2001 21:24:02 +0000 (17:24 -0400)] 
getsize.c (ext2fs_get_device_size): Back out BLKGETSIZE64
changes, since the ioctl number has been reused by another
unofficial patch.

22 years agolibext2fs.texinfo: Remove texinfo warnings by adding white space
Theodore Ts'o [Thu, 30 Aug 2001 20:43:07 +0000 (16:43 -0400)] 
libext2fs.texinfo: Remove texinfo warnings by adding white space
after the function name and before the open parenthesis.

22 years agopass1.c (e2fsck_pass1): For EXT2_RESIZE_INO, allow its i_mode to
Theodore Ts'o [Thu, 30 Aug 2001 20:42:09 +0000 (16:42 -0400)] 
pass1.c (e2fsck_pass1): For EXT2_RESIZE_INO, allow its i_mode to
either be zero or a regular file (for compatibility with
Andreas's on-line resizing programs).

22 years agoRemove EXT2FS_VERSION from the version display, since it
Theodore Ts'o [Mon, 27 Aug 2001 16:44:23 +0000 (12:44 -0400)] 
Remove EXT2FS_VERSION from the version display, since it
only confuses people.

Make fsck's version display be consistent with the other e2fsprogs
programs.

22 years agoAdd missing log entry showing when we released e2fsprogs 1.23
Theodore Ts'o [Mon, 27 Aug 2001 16:29:22 +0000 (12:29 -0400)] 
Add missing log entry showing when we released e2fsprogs 1.23

22 years agoDeal with libc5's lack of strnlen.
Theodore Ts'o [Mon, 27 Aug 2001 16:18:16 +0000 (12:18 -0400)] 
Deal with libc5's lack of strnlen.

Stop checking for strdup in the configure script since we don't
care about that symbol.

22 years agoUpdate makefile dependencies.
Theodore Ts'o [Sat, 18 Aug 2001 18:31:41 +0000 (14:31 -0400)] 
Update makefile dependencies.

22 years agoMinor fixups to Andreas' changeset. Removed unused variable
Theodore Ts'o [Sat, 18 Aug 2001 18:22:25 +0000 (14:22 -0400)] 
Minor fixups to Andreas' changeset.  Removed unused variable
from tune2fs and added missing function prototype.

22 years agoget_device_by_label.[ch], fsck.c, util.c: New interpret_spec()
Andreas Dilger [Fri, 17 Aug 2001 09:48:11 +0000 (03:48 -0600)] 
get_device_by_label.[ch], fsck.c, util.c:  New interpret_spec()
        function in get_device_by_label.c to allow the use of
        UUID= or LABEL= when creating filesystems which use external
        journal dev (e.g.  mke2fs -J device=LABEL=<journal_label>).

tune2fs.c: Use superblock s_journal_uuid to locate an external
        journal device instead of s_journal_dev when removing it.
        Allow opening journal devices to set the label and UUID
        in the ext2 superblock.

mke2fs.c, tune2fs.c: Free journal_device after use, as it is
        malloc'd in interpret spec.

22 years agoADD TAG: E2FSPROGS-1_23 E2FSPROGS-1_23
Theodore Ts'o [Thu, 16 Aug 2001 01:02:23 +0000 (21:02 -0400)] 
ADD TAG: E2FSPROGS-1_23

22 years agoUpdate for 1.23 release.
Theodore Ts'o [Thu, 16 Aug 2001 01:02:23 +0000 (21:02 -0400)] 
Update for 1.23 release.

22 years ago* tune2fs.c: Make sure that error messages are sent to stderr, and
Theodore Ts'o [Wed, 15 Aug 2001 23:17:37 +0000 (19:17 -0400)] 
* tune2fs.c: Make sure that error messages are sent to stderr, and
normal messages are sent to stdout.  (Addresses Debian bug
#108555.)

22 years agofsck.8.in: Fixed error in synopsis of the man page.
Theodore Ts'o [Wed, 15 Aug 2001 23:06:55 +0000 (19:06 -0400)] 
fsck.8.in: Fixed error in synopsis of the man page.

22 years agofsck.c (main): Print a warning message if there are no devices to
Theodore Ts'o [Wed, 15 Aug 2001 23:04:59 +0000 (19:04 -0400)] 
fsck.c (main): Print a warning message if there are no devices to
be checked.  (Addresses Debian bug #107458.)

22 years agofsck.c (check_all): Don't bother to interpret a device where the
Theodore Ts'o [Wed, 15 Aug 2001 22:39:51 +0000 (18:39 -0400)] 
fsck.c (check_all): Don't bother to interpret a device where the
pass number is zero.  (Addresses Debian bug #106696).

22 years agomke2fs.c (PRS): Handle -O and -s options in line in the getopt
Theodore Ts'o [Wed, 15 Aug 2001 15:58:16 +0000 (11:58 -0400)] 
mke2fs.c (PRS): Handle -O and -s options in line in the getopt
loop, so that -s and -O handling are a bit more intuitive.
(Not that they should be mixed anyway; -s is deprecated.)

22 years agoGive an error if -O is specified more than once to tune2fs.
Theodore Ts'o [Wed, 15 Aug 2001 15:03:58 +0000 (11:03 -0400)] 
Give an error if -O is specified more than once to tune2fs.

22 years agosuper.c (release_orphan_inodes): If the filesystem contains
Theodore Ts'o [Mon, 13 Aug 2001 14:58:41 +0000 (10:58 -0400)] 
super.c (release_orphan_inodes): If the filesystem contains
errors, don't run the orphan * list, since the orphan list
can't be trusted.

22 years agoe2fsck/pass1.c (e2fsck_pass1_check_device_inode): If i_blocks is
Theodore Ts'o [Mon, 13 Aug 2001 10:15:36 +0000 (06:15 -0400)] 
e2fsck/pass1.c (e2fsck_pass1_check_device_inode): If i_blocks is
non-zero, then assume that the device/socket/fifo inode
is bogus.

22 years agopass1.c (check_size): Fix logic in check_size; the previous code
Theodore Ts'o [Mon, 13 Aug 2001 10:11:39 +0000 (06:11 -0400)] 
pass1.c (check_size): Fix logic in check_size; the previous code
only offered to clear the inode size fields if both size
and i_size_high were zero.

22 years agologdump.c (do_logdump, dump_journal): Add support for dumping
Theodore Ts'o [Sun, 12 Aug 2001 07:38:51 +0000 (03:38 -0400)] 
logdump.c (do_logdump, dump_journal): Add support for dumping
external journals.

22 years agomke2fs.8.in: Slim down text describing the -O flag to remove
Theodore Ts'o [Fri, 10 Aug 2001 23:13:11 +0000 (19:13 -0400)] 
mke2fs.8.in: Slim down text describing the -O flag to remove
text that erroneously implied that all features
(including compatible flags) aren't compatible with older kernels.

22 years agoUpdate for 1.23-WIP-0809 release.
Theodore Ts'o [Thu, 9 Aug 2001 10:14:42 +0000 (06:14 -0400)] 
Update for 1.23-WIP-0809 release.

22 years agomke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs
Theodore Ts'o [Thu, 9 Aug 2001 10:13:18 +0000 (06:13 -0400)] 
mke2fs.c (PRS): Fix bug pointed out by Christopher Niessen; if mke2fs
-O none is specified, the sparse_super feature should not be present.

22 years agoAdd support for specifiying - as the image file (to send the image
Theodore Ts'o [Thu, 9 Aug 2001 10:04:32 +0000 (06:04 -0400)] 
Add support for specifiying - as the image file (to send the image
file to standard out).

Save the journal inode if it is internal to the raw image file.

22 years agoAdd support for raw image files in e2image.
Theodore Ts'o [Thu, 9 Aug 2001 09:41:29 +0000 (05:41 -0400)] 
Add support for raw image files in e2image.

22 years agopass1.c, pass2.c, problem.c, problem.h: Fix bug introduced by
Theodore Ts'o [Thu, 9 Aug 2001 08:14:04 +0000 (04:14 -0400)] 
pass1.c, pass2.c, problem.c, problem.h: Fix bug introduced by
Andreas's symlink code; check_blocks() was unconditionally testing
inode_bad_map without checking to see if it existed first.  Fixed
problem a different way; we now no longer check inode_bad_map at all,
since the file might not get deleted in pass 2 anyway.  We move the
large file feature reconciliation code to to e2fsck_pass2(), and in
deallocate_inode() in pass2.c, we decrement the large files counter if
we're about to delete a large file.

22 years agounix.c (show_stats): Print the number of large files in verbose mode.
Theodore Ts'o [Thu, 9 Aug 2001 08:08:52 +0000 (04:08 -0400)] 
unix.c (show_stats): Print the number of large files in verbose mode.

22 years agoAdd dependencies to iscan.
Theodore Ts'o [Thu, 9 Aug 2001 00:50:57 +0000 (20:50 -0400)] 
Add dependencies to iscan.

22 years agoAdd missing errcode_t variable so that iscan compiles.
Theodore Ts'o [Wed, 8 Aug 2001 20:10:23 +0000 (16:10 -0400)] 
Add missing errcode_t variable so that iscan compiles.

22 years ago* journal.c (recover_ext3_journal): If s_errno is set in the
Theodore Ts'o [Tue, 7 Aug 2001 14:17:41 +0000 (10:17 -0400)] 
* journal.c (recover_ext3_journal): If s_errno is set in the
journal superblock, set the EXT2_ERROR_FS flag in the
filesystem superblock after the journal is run.

22 years agoPerformance enhancements to speed up creating a journal and
Theodore Ts'o [Mon, 6 Aug 2001 00:31:09 +0000 (20:31 -0400)] 
Performance enhancements to speed up creating a journal and
block and inode allocation in general.

22 years agoIgnore .failed and .new files when running e2fsck tests.
Andreas Dilger [Sat, 4 Aug 2001 08:23:14 +0000 (02:23 -0600)] 
Ignore .failed and .new files when running e2fsck tests.

22 years agoAdd ChangeLog entry for changes made by Andreas
Theodore Ts'o [Sun, 5 Aug 2001 01:33:03 +0000 (21:33 -0400)] 
Add ChangeLog entry for changes made by Andreas

22 years agoChange comments for %D and %d expansion in e2fsck problem codes. It
Andreas Dilger [Sat, 4 Aug 2001 07:47:01 +0000 (01:47 -0600)] 
Change comments for %D and %d expansion in e2fsck problem codes.  It
was not consistent which was for dirent expansion, and which was for
directory number expansion.

22 years agoAdd ChangeLog entry for changes made by Andreas Dilger
Theodore Ts'o [Sun, 5 Aug 2001 01:14:45 +0000 (21:14 -0400)] 
Add ChangeLog entry for changes made by Andreas Dilger

22 years agoPut check for JOURNAL_DEV before sparse_option, so we don't set the
Andreas Dilger [Sat, 4 Aug 2001 07:18:34 +0000 (01:18 -0600)] 
Put check for JOURNAL_DEV before sparse_option, so we don't set the
sparse superblock flag on journal devices.

22 years agoAdd ChangeLog entry for changes made by Andreas Dilger
Theodore Ts'o [Sun, 5 Aug 2001 01:00:25 +0000 (21:00 -0400)] 
Add ChangeLog entry for changes made by Andreas Dilger

22 years agoAdd "*.orig" to "make clean" target, change explicit listing of
Andreas Dilger [Sat, 4 Aug 2001 07:02:34 +0000 (01:02 -0600)] 
Add "*.orig" to "make clean" target, change explicit listing of
ext2_types.h in "make distclean" to $(SUBS).

Add $(SUBS) as a dependency to "make check" target.

22 years agoAdd -f flag to doc/Makefile $(RM) of files which may not exist.
Andreas Dilger [Sat, 4 Aug 2001 06:58:54 +0000 (00:58 -0600)] 
Add -f flag to doc/Makefile $(RM) of files which may not exist.

22 years agof_bad_inode, f_badsymlinks: Update expect files to reflect
Theodore Ts'o [Sun, 5 Aug 2001 00:51:01 +0000 (20:51 -0400)] 
f_bad_inode, f_badsymlinks: Update expect files to reflect
changes in the problem code texts.

f_swapfs: The image file used by f_swapfs had bugs which got
caught by Andreas' changes to be more strict about
symlinks.

22 years agoCleanup changes to Andreas' symlink patch. Remove use of EXT2_LINK_DIR
Theodore Ts'o [Sun, 5 Aug 2001 00:39:39 +0000 (20:39 -0400)] 
Cleanup changes to Andreas' symlink patch.  Remove use of EXT2_LINK_DIR

Also cleaned up the symlink handling code to make it a bit more
compact and to test for a bad symlink block earlier.

22 years agoAdd extra checks for bad symlinks, including zero length symlinks,
Andreas Dilger [Sat, 4 Aug 2001 06:51:18 +0000 (00:51 -0600)] 
Add extra checks for bad symlinks, including zero length symlinks,
too long i_size for slow and fast symlinks, i_size_high set, multiple
blocks for slow symlinks.

22 years agoAdd several tests for bad symlinks, including immutable flags, zero
Andreas Dilger [Sat, 4 Aug 2001 06:30:07 +0000 (00:30 -0600)] 
Add several tests for bad symlinks, including immutable flags, zero
i_size, too large i_size, and i_size_high set.

22 years agotune2fs.c (update_feature_set, remove_journal_inode): If
Theodore Ts'o [Tue, 31 Jul 2001 16:03:23 +0000 (12:03 -0400)] 
tune2fs.c (update_feature_set, remove_journal_inode): If
removing an in-filesystem journal, clear out the journal
inode and update the filesystem accounting structures so
we don't have to run e2fsck to clean up after ourselves

22 years agotune2fs.c (update_feature_set): Don't require a forced fsck if
Theodore Ts'o [Mon, 30 Jul 2001 20:31:30 +0000 (16:31 -0400)] 
tune2fs.c (update_feature_set): Don't require a forced fsck if
we're removing an external journal from a filesystem.

22 years agounix.c (check_mount): Remove the code in e2fsck which tested for the
Theodore Ts'o [Mon, 30 Jul 2001 20:29:52 +0000 (16:29 -0400)] 
unix.c (check_mount): Remove the code in e2fsck which tested for the
root filesystem being mounted read-only, and depend on the
results flags from ext2fs_check_if_mounted.

22 years agounix.c (main): Move the final print_resource_track call after
Theodore Ts'o [Sun, 29 Jul 2001 16:26:46 +0000 (12:26 -0400)] 
unix.c (main): Move the final print_resource_track call after
the filesystem and context handle are closed

22 years agoFix memory leaks in e2fsck's journal.c, and remove some cases
Theodore Ts'o [Sun, 29 Jul 2001 16:06:58 +0000 (12:06 -0400)] 
Fix memory leaks in e2fsck's journal.c, and remove some cases
which look like memory leaks in unix.c so we can more easily find
the true memory leaks.

22 years agofinddev.c (scan_dir): Fix memory leak; we weren't calling
Theodore Ts'o [Sun, 29 Jul 2001 16:01:09 +0000 (12:01 -0400)] 
finddev.c (scan_dir): Fix memory leak; we weren't calling
closedir() when exiting the function in all cases.

22 years agoe2fsck.c (e2fsck_reset_context): Fix bug; only close the io channel if
Theodore Ts'o [Sun, 29 Jul 2001 15:48:10 +0000 (11:48 -0400)] 
e2fsck.c (e2fsck_reset_context): Fix bug; only close the io channel if
it is *different* from the filesystem io channel

22 years agoADD TAG: E2FSPROGS-1_23-WIP-0727 E2FSPROGS-1_23-WIP-0727
Theodore Ts'o [Sat, 28 Jul 2001 03:33:40 +0000 (23:33 -0400)] 
ADD TAG: E2FSPROGS-1_23-WIP-0727

22 years agomkjournal.c (ext2fs_create_journal_superblock): Set the first block
Theodore Ts'o [Sat, 28 Jul 2001 03:33:40 +0000 (23:33 -0400)] 
mkjournal.c (ext2fs_create_journal_superblock): Set the first block
        usable in the journal for external journals to be 2 or 3,
        depending on the blocksize, so that the existing kernel code
        does the right thing.

22 years agoADD TAG: E2FSPROGS-1_23-WIP-0727
Theodore Ts'o [Sat, 28 Jul 2001 02:40:09 +0000 (22:40 -0400)] 
ADD TAG: E2FSPROGS-1_23-WIP-0727

22 years agoUpdate problem message printed when special files have the immutable
Theodore Ts'o [Sat, 28 Jul 2001 02:40:09 +0000 (22:40 -0400)] 
Update problem message printed when special files have the immutable
flag set.  Update the f_filetype test case.

22 years agoADD TAG: E2FSPROGS-1_23-WIP-0727
Theodore Ts'o [Sat, 28 Jul 2001 02:20:06 +0000 (22:20 -0400)] 
ADD TAG: E2FSPROGS-1_23-WIP-0727

22 years agoUpdate for 27-Jul-2001 WIP release.
Theodore Ts'o [Sat, 28 Jul 2001 02:20:06 +0000 (22:20 -0400)] 
Update for 27-Jul-2001 WIP release.

22 years agogetsize.c (ext2fs_get_device_size): Add support for the
Theodore Ts'o [Sat, 28 Jul 2001 02:15:06 +0000 (22:15 -0400)] 
getsize.c (ext2fs_get_device_size): Add support for the
BLKGETSIZE64 ioctl.  (Ioctl defined by unofficial patches
from Ben LaHaise, but it's likely this interface won't
change.)

22 years agopass1.c (e2fsck_pass1): Check for symlinks that have the
Theodore Ts'o [Sat, 28 Jul 2001 02:10:01 +0000 (22:10 -0400)] 
pass1.c (e2fsck_pass1): Check for symlinks that have the
immutable flag set (and offer to clear them).

22 years agosubst.conf.in: Enable documentation of the external journal
Theodore Ts'o [Sat, 28 Jul 2001 02:02:47 +0000 (22:02 -0400)] 
subst.conf.in: Enable documentation of the external journal
functionality in mke2fs, e2fsck, and tune2fs.

22 years agomke2fs.c (PRS): If the blocksize is not specified, and the journal
Theodore Ts'o [Sat, 28 Jul 2001 02:00:18 +0000 (22:00 -0400)] 
mke2fs.c (PRS): If the blocksize is not specified, and the journal
device is specified, user it to determine the blocksize
of the filesystem.

22 years agomkjournal.c (ext2fs_add_journal_device): Use the correct block
Theodore Ts'o [Fri, 27 Jul 2001 19:35:21 +0000 (15:35 -0400)] 
mkjournal.c (ext2fs_add_journal_device): Use the correct block
when writing the journal superblock, too.  (Oops! Needed
to make 1k filesystems with external journal to work.)

22 years agomkjournal.c (ext2fs_add_journal_device): Use the correct block
Theodore Ts'o [Fri, 27 Jul 2001 03:44:39 +0000 (23:44 -0400)] 
mkjournal.c (ext2fs_add_journal_device): Use the correct block
to find the journal superblock if the blocksize is 1024.

22 years agopass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of pass 1.
Theodore Ts'o [Thu, 26 Jul 2001 13:02:56 +0000 (09:02 -0400)] 
pass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of pass 1.
This avoids increasing the memory footprint of e2fsck by 10%!

22 years agoApply fixes reported by Andreas Gruenbacher:
Theodore Ts'o [Wed, 25 Jul 2001 23:48:24 +0000 (19:48 -0400)] 
Apply fixes reported by Andreas Gruenbacher:

pass1.c (check_ext_attr): Skip zero-length EA entries.

problem.c: PR_1_EA_ALLOC_COLLISION shouldn't abort, but should prompt
to clear the EA block.

22 years agoADD TAG: E2FSPROGS-1_23-WIP-0722 E2FSPROGS-1_23-WIP-0722
Theodore Ts'o [Mon, 23 Jul 2001 04:23:52 +0000 (00:23 -0400)] 
ADD TAG: E2FSPROGS-1_23-WIP-0722

22 years agoUpdate for 1.23-WIP-0722 release.
Theodore Ts'o [Mon, 23 Jul 2001 04:23:52 +0000 (00:23 -0400)] 
Update for 1.23-WIP-0722 release.

22 years agoAdd support for use of an external journal (so long as the external
Theodore Ts'o [Mon, 23 Jul 2001 04:17:49 +0000 (00:17 -0400)] 
Add support for use of an external journal (so long as the external
journal only has one filesystem).

22 years agoADD TAG: E2FSPROGS-1_23-WIP-0720 E2FSPROGS-1_23-WIP-0720
Theodore Ts'o [Fri, 20 Jul 2001 22:21:34 +0000 (18:21 -0400)] 
ADD TAG: E2FSPROGS-1_23-WIP-0720

22 years agoUpdate final changes before 1.23-WIP-0620
Theodore Ts'o [Fri, 20 Jul 2001 22:14:10 +0000 (18:14 -0400)] 
Update final changes before 1.23-WIP-0620

22 years agofsck.8.in: Add much more explicit language documenting how the
Theodore Ts'o [Fri, 20 Jul 2001 18:25:23 +0000 (14:25 -0400)] 
fsck.8.in: Add much more explicit language documenting how the
fs_passno field in /etc/fstab is handled.  (Addresses
Debian bug #30833).

22 years agoext_attr.c (ext2fs_write_ext_attr): When writing the extended
Theodore Ts'o [Fri, 20 Jul 2001 18:17:19 +0000 (14:17 -0400)] 
ext_attr.c (ext2fs_write_ext_attr): When writing the extended
attribute block, set the filesystem changed bit.

22 years agounix.c (main): Add an explicit warning when the filesystem is left not
Theodore Ts'o [Fri, 20 Jul 2001 18:13:49 +0000 (14:13 -0400)] 
unix.c (main): Add an explicit warning when the filesystem is left not
completely fixed when e2fsck exits.  (Addresses Debian bug #104502.)

22 years agoUpdate version and release notes for 1.23 WIP release.
Theodore Ts'o [Fri, 20 Jul 2001 16:35:11 +0000 (12:35 -0400)] 
Update version and release notes for 1.23 WIP release.

22 years agoComment out ext2_find_first_bit_set and ext2fs_find_next_bit_set
Theodore Ts'o [Fri, 20 Jul 2001 16:33:37 +0000 (12:33 -0400)] 
Comment out ext2_find_first_bit_set and ext2fs_find_next_bit_set
since we're not using them.

22 years agofstype.c (identify_fs): New file which looks at the superblock
Theodore Ts'o [Fri, 20 Jul 2001 00:38:53 +0000 (20:38 -0400)] 
fstype.c (identify_fs): New file which looks at the superblock
of the filesystem to determines its type.

fsck.c (fsck_device, ignore, interpret_type): Call identify_fs
if the type specified in /etc/fstab is "auto".

22 years agoThis patch completes the initial extended attribute/ACL support for
Theodore Ts'o [Thu, 19 Jul 2001 20:31:25 +0000 (16:31 -0400)] 
This patch completes the initial extended attribute/ACL support for
e2fsck.  We now check the entire EA block to make sure that the all
of the EA entries look sane.

22 years agoFix really stupid typo.
Theodore Ts'o [Tue, 10 Jul 2001 18:34:41 +0000 (14:34 -0400)] 
Fix really stupid typo.

22 years agoSpeed up journal recovery in userspace by avoiding a pointless
Theodore Ts'o [Tue, 10 Jul 2001 18:27:58 +0000 (14:27 -0400)] 
Speed up journal recovery in userspace by avoiding a pointless
unconditional ext2_flush() call.  Also made ext2_flush() more
efficient when the superblock is modified after the filesystem has
been flushed, and make it clear the superblock dirty flag
after doing the superblock/block group descriptor flush.

22 years agoFix problems in po's Makefile.in.in and POTFILES.in.
Theodore Ts'o [Tue, 10 Jul 2001 04:45:58 +0000 (00:45 -0400)] 
Fix problems in po's Makefile.in.in and POTFILES.in.

22 years agopass1b.c (pass1b, process_pass1b_block): Change the num_bad
Theodore Ts'o [Sun, 8 Jul 2001 03:01:31 +0000 (23:01 -0400)] 
pass1b.c (pass1b, process_pass1b_block): Change the num_bad
field calculation so that it only counts EA block entries
as a single multiply claimed block (since once we clone
the EA blocks for one inode, we fix the problem for all of
the other inodes).  Also, I moved the num_bad calculation
from process_pass1b_block to the end of pass1b.  This
fixes a *significant* performance bug in pass1b which hit
people who had to had a lot of multiply claimed blocks.
(Can you say O(n**3) boys and girls?  I knew you could...
Fortunately, this case didn't happen that much in actual practice.)

22 years agopass1.c (e2fsck_pass1): Defer inodes which have an extended attribute
Theodore Ts'o [Sun, 8 Jul 2001 02:27:40 +0000 (22:27 -0400)] 
pass1.c (e2fsck_pass1): Defer inodes which have an extended attribute
block for later processing to avoid extra seeks across the disk.
(process_inode_cmp): If there is no indirect block, sort by the
extended attribute (i_file_acl) block.

22 years agobitops.h (ext2fs_find_first_bit_set): Use %esi instead of %ebx to
Theodore Ts'o [Sun, 8 Jul 2001 02:14:23 +0000 (22:14 -0400)] 
bitops.h (ext2fs_find_first_bit_set): Use %esi instead of %ebx to
avoid register conflicts when compiling in PIC mode.

22 years agof_badinode: Update expect.1 to match change in invalid symlink
Theodore Ts'o [Sat, 7 Jul 2001 17:23:14 +0000 (13:23 -0400)] 
f_badinode: Update expect.1 to match change in invalid symlink
size text.

22 years agopass1b.c (clone_file_block): Fix bugs when cloning extended attribute
Theodore Ts'o [Sat, 7 Jul 2001 17:20:34 +0000 (13:20 -0400)] 
pass1b.c (clone_file_block): Fix bugs when cloning extended attribute
blocks.  Moved free of block_buf to after the code which clones the
extattr block, and fixed logic for changing pointers to the extended
attribute field in the inodes which were affected.

(decrement_badcount): New function which is used whenever we need to
decrement the number of files which claim a particular bad block.
Fixed bug where delete_file wasn't checking check_if_fs_block() before
clearing the entry in block_dup_map.  This could cause a block which
was claimed by multiple files as well as the filesystem metadata to
not be completely fixed.

22 years agoAdd code to check and fix incorrect reference counts in the extended
Theodore Ts'o [Sat, 7 Jul 2001 15:12:50 +0000 (11:12 -0400)] 
Add code to check and fix incorrect reference counts in the extended
attribute blocks.

22 years agoAdd new functions to bitops.h to find quickly search for set bits in
Theodore Ts'o [Wed, 4 Jul 2001 18:04:58 +0000 (14:04 -0400)] 
Add new functions to bitops.h to find quickly search for set bits in
a bitmask.  (In both C and i386 assembler).

22 years agoAdd support for XFS filesystems.
Theodore Ts'o [Wed, 4 Jul 2001 01:43:07 +0000 (21:43 -0400)] 
Add support for XFS filesystems.

22 years agoAdd initial support for extended attribute blocks
Theodore Ts'o [Mon, 2 Jul 2001 15:54:09 +0000 (11:54 -0400)] 
Add initial support for extended attribute blocks

22 years agoUse long long to calculate the percentage
Theodore Ts'o [Fri, 29 Jun 2001 21:57:26 +0000 (17:57 -0400)] 
Use long long to calculate the percentage
of the number of blocks in use in the filesystem.

22 years agoDon't predefine RM; it's defined by MCONFIG
Theodore Ts'o [Wed, 27 Jun 2001 11:51:11 +0000 (07:51 -0400)] 
Don't predefine RM; it's defined by MCONFIG

22 years agoADD TAG: E2FSPROGS-1_22 E2FSPROGS-1_22
Theodore Ts'o [Sat, 23 Jun 2001 04:25:18 +0000 (00:25 -0400)] 
ADD TAG: E2FSPROGS-1_22