Whamcloud - gitweb
tools/e2fsprogs.git
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

22 years agoUpdate size of tarball.
Theodore Ts'o [Sat, 23 Jun 2001 04:25:18 +0000 (00:25 -0400)]
Update size of tarball.

22 years agoUpdate changelogs for 1.22.
Theodore Ts'o [Sat, 23 Jun 2001 04:16:37 +0000 (00:16 -0400)]
Update changelogs for 1.22.

22 years agoUpdate for 1.22 release.
Theodore Ts'o [Sat, 23 Jun 2001 04:13:09 +0000 (00:13 -0400)]
Update for 1.22 release.

22 years agoSynchronize with Debian release 1.21+1.22-WIP-0620-1
Theodore Ts'o [Sat, 23 Jun 2001 03:05:23 +0000 (23:05 -0400)]
Synchronize with Debian release 1.21+1.22-WIP-0620-1

22 years agomkjournal.c (ext2fs_add_journal_inode): Move close of file
Theodore Ts'o [Sat, 23 Jun 2001 01:52:14 +0000 (21:52 -0400)]
mkjournal.c (ext2fs_add_journal_inode): Move close of file
descriptor so that adding a journal to a mounted
filesystem doesn't die.  (Fixes a bug accidentally
introduced in e2fsprogs 1.21.)

22 years agomkjournal.c (ext2fs_add_journal_inode): Only use fchflags if
Theodore Ts'o [Sat, 23 Jun 2001 01:20:47 +0000 (21:20 -0400)]
mkjournal.c (ext2fs_add_journal_inode): Only use fchflags if
HAVE_CHFLAGS and UF_NODUMP are defined, since the Hurd has
fchflags without defining UF_NODUMP.  (Addresses Debian
bug #101361)

22 years agoe2fsck/flushb.c and lib/ext2fs/flushb.c: Use platform independent
Theodore Ts'o [Sat, 23 Jun 2001 01:01:17 +0000 (21:01 -0400)]
e2fsck/flushb.c and lib/ext2fs/flushb.c: Use platform independent
method of defining the BLKFLSBUF and FDFLUSH ioctl's.
Also include sys/mount.h since on newer glibc's BLKFLSBUF
is defined there.

22 years agobitops.h: The C language versions of ext2fs_swab16/32 need to be
Theodore Ts'o [Sat, 23 Jun 2001 00:54:11 +0000 (20:54 -0400)]
bitops.h: The C language versions of ext2fs_swab16/32 need to be
included if EXT2FS_ENABLE_SWAPFS is defined, since we need to support
byte swapping even if we don't support the conversion functions.
(Fixes Debian bug #101686).

22 years agouuid.h: Add protection against multiple inclusion
Theodore Ts'o [Sat, 23 Jun 2001 00:51:42 +0000 (20:51 -0400)]
uuid.h: Add protection against multiple inclusion

22 years agoADD TAG: WIP-20010620 WIP-20010620
Theodore Ts'o [Sat, 23 Jun 2001 00:50:05 +0000 (20:50 -0400)]
ADD TAG: WIP-20010620

22 years agoUpdate version for 1.22-WIP release
Theodore Ts'o [Sat, 23 Jun 2001 00:50:05 +0000 (20:50 -0400)]
Update version for 1.22-WIP release

22 years agoMakefile.in: Avoid including BitKeeper files into the source tarball.
Theodore Ts'o [Sat, 23 Jun 2001 00:47:24 +0000 (20:47 -0400)]
Makefile.in: Avoid including BitKeeper files into the source tarball.

22 years agodirblock.c (ext2fs_read_dir_block): Remove use of dir_entry_2 since
Theodore Ts'o [Sat, 23 Jun 2001 00:40:51 +0000 (20:40 -0400)]
dirblock.c (ext2fs_read_dir_block): Remove use of dir_entry_2 since
the byte-swapping code all assumes the ext2_dir_entry structure.
(It's a question of whether or not name_len should be byte-swapped or
not, and whether it's a 16 bit or 8 bit field.)

22 years agosuper.c (release_inode_blocks): Don't try to release the blocks if the
Theodore Ts'o [Sat, 23 Jun 2001 00:35:38 +0000 (20:35 -0400)]
super.c (release_inode_blocks): Don't try to release the blocks if the
orphaned inode is a device file, symlink, or some other kind of
special file that doesn't have a block list.

22 years agoFilter out CR characters from the output, since BK filtered \r fromthe
Theodore Ts'o [Sat, 23 Jun 2001 00:29:54 +0000 (20:29 -0400)]
Filter out CR characters from the output, since BK filtered \r fromthe
expect files.  This is needed to make the regression test suite work
again.

22 years agoADD TAG: E2FSPROGS-1_21 E2FSPROGS-1_21
Theodore Ts'o [Sat, 16 Jun 2001 01:14:28 +0000 (01:14 +0000)]
ADD TAG: E2FSPROGS-1_21

22 years agoChangeLog:
Theodore Ts'o [Sat, 16 Jun 2001 01:14:28 +0000 (01:14 +0000)]
ChangeLog:
  Update for 1.21 release.

22 years agoMany files:
Theodore Ts'o [Fri, 15 Jun 2001 22:54:34 +0000 (22:54 +0000)]
Many files:
  Synchronize with the Debian package 1.20+1.21-WIP-0614-1.
RELEASE-NOTES, version.h, libext2fs.texinfo, e2fsprogs.lsm:
  Update for 1.21 release.

22 years agoChangeLog, Makefile.in:
Theodore Ts'o [Fri, 15 Jun 2001 22:44:32 +0000 (22:44 +0000)]
ChangeLog, Makefile.in:
  Makefile.in: Fix bug in installation of ext2_types.h.  It is a file
   which is generated and is therefore found in the build directory, not
   source directory.

22 years agoChangeLog, ismounted.c:
Theodore Ts'o [Fri, 15 Jun 2001 18:33:43 +0000 (18:33 +0000)]
ChangeLog, ismounted.c:
  ismounted.c (check_mntent_file): Use a test file in / to check to see
   if the root filesystem is mounted read-only.  This protects against
   the case where /etc might not be on /, as well as the case where
   /etc/mtab doesn't exist.  (Both are should-never happen scenarios, but
   you never know...)

22 years agoconfigure:
Theodore Ts'o [Thu, 14 Jun 2001 07:20:12 +0000 (07:20 +0000)]
configure:
  Update to latest configure.in script.
version.h:
  Update for WIP release.

22 years agotune2fs.8.in:
Theodore Ts'o [Thu, 14 Jun 2001 07:15:02 +0000 (07:15 +0000)]
tune2fs.8.in:
  Fix minor man page nits.

22 years agoRELEASE-NOTES, ChangeLog:
Theodore Ts'o [Thu, 14 Jun 2001 07:11:33 +0000 (07:11 +0000)]
RELEASE-NOTES, ChangeLog:
  Add Debian bug number which got resolved.

22 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Thu, 14 Jun 2001 07:05:44 +0000 (07:05 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c (PRS): Remove unneeded test in when creating a external
   filesystem journal.

22 years agoChangeLog, ismounted.c:
Theodore Ts'o [Thu, 14 Jun 2001 07:00:55 +0000 (07:00 +0000)]
ChangeLog, ismounted.c:
  ismounted.c (ext2fs_check_if_mounted): Fix grammer in comment.  Remove
   unneeded #pragma argsused, since the arguments are always used.

22 years agoproblem.c:
Theodore Ts'o [Thu, 14 Jun 2001 06:58:33 +0000 (06:58 +0000)]
problem.c:
  Fix tabbing/indenting from Andreas.

22 years agoChangeLog, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
Theodore Ts'o [Thu, 14 Jun 2001 06:42:44 +0000 (06:42 +0000)]
ChangeLog, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
  tune2fs.c, mke2fs.c, util.c, util.h (print_check_message): Move the
   message which displays how often the filesystem will be checked from
   mke2fs into a utility subroutine.  Then cause tune2fs to call that
   function to display the message after adding a journal to a
   filesystem.
  mke2fs.8.in: Add manual page fixups and explanation for why it's good
   to check filesystems periodically from Andreas Dilger.

22 years agoChangeLog, unix.c:
Theodore Ts'o [Thu, 14 Jun 2001 01:16:17 +0000 (01:16 +0000)]
ChangeLog, unix.c:
  unix.c (check_if_skip): Adapted patch from Andreas Dilger which prints
   the number of mounts or days elapsed since the last check when e2fsck
   is forced to check an otherwise clean filesystem.

22 years agoChangeLog, ext2_types.h.in:
Theodore Ts'o [Thu, 14 Jun 2001 00:24:42 +0000 (00:24 +0000)]
ChangeLog, ext2_types.h.in:
  ext2_types.h.in: If linux/types.h has been defined, then don't try to
   redefine the typedefs.
ChangeLog, Makefile.in:
  Makefile.in: Make the install target depend on $(SUBS) to accomodate
   the fools who want to compile and install e2fsprogs as root using just
   one command.

22 years agoRELEASE-NOTES:
Theodore Ts'o [Wed, 13 Jun 2001 23:49:05 +0000 (23:49 +0000)]
RELEASE-NOTES:
  Fixed release note entry since we ended up installing ext2_fs.h in
  /usr/include/ext2fs.

22 years agoChangeLog, setsuper.c:
Theodore Ts'o [Wed, 13 Jun 2001 23:46:39 +0000 (23:46 +0000)]
ChangeLog, setsuper.c:
  setsuper.c: Add s_lastcheck field to the fields which can be modified
   using set_super_value.  (Suggested by Andreas Dilger)
ChangeLog, Makefile.in:
  Makefile.in (HFILES): Add ext2_types.h to the list of files which
   should be installed.

22 years agoChangeLog:
Theodore Ts'o [Wed, 13 Jun 2001 23:31:27 +0000 (23:31 +0000)]
ChangeLog:
  Add debian bug number reference.
  Add debian bug reference.

22 years agoChangeLog, ismounted.c:
Theodore Ts'o [Wed, 13 Jun 2001 23:26:19 +0000 (23:26 +0000)]
ChangeLog, ismounted.c:
  ismounted.c (check_mntent_file): Work around GNU hurd brain damage.

22 years agoChangeLog, Makefile.in:
Theodore Ts'o [Wed, 13 Jun 2001 22:38:56 +0000 (22:38 +0000)]
ChangeLog, Makefile.in:
  Makefile.in: Limit some .o files from being included into the library
   if --disable-debugfs, --disable-swapfs, --disable-imager, or
   --disable-resizer are used.

22 years agoChangeLog, configure, configure.in:
Theodore Ts'o [Wed, 13 Jun 2001 22:16:47 +0000 (22:16 +0000)]
ChangeLog, configure, configure.in:
  configure.in: Add --disable-resizer, --disable-imager, and
   --disable-debugfs switches, which allow people who are building boot
   floppies to build a very restricted e2fsprogs distribution.  Note:
   these functions limit the functions in the shared library, so beware!
Makefile.in, ChangeLog:
  Makefile.in: Don't recurse into debugfs and resize subdirectory if
   --disable-debugfs or --disable-resizer is given as a configuration
   option.
ChangeLog, Makefile.in:
  Makefile.in: Don't build e2image if --disable-imager is specified to
   configure.

22 years agoMakefile.in:
Theodore Ts'o [Wed, 13 Jun 2001 21:40:58 +0000 (21:40 +0000)]
Makefile.in:
  Insert missing dependencies.

22 years agoChangeLog, dumpe2fs.c, mke2fs.c:
Theodore Ts'o [Wed, 13 Jun 2001 00:12:04 +0000 (00:12 +0000)]
ChangeLog, dumpe2fs.c, mke2fs.c:
  dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not we're
   (not) using i386 byte order.
  dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks function,
   and use the ext2fs_badblocks_* functions instead.
ChangeLog, inode.c, tst_iscan.c:
  inode.c, tst_iscan.c: Stop using the compatibility badblocks function,
   and use the ext2fs_badblocks_* functions instead.
ChangeLog, badblocks.c:
  badblocks.c: Stop using the compatibility badblocks function, and use
   the ext2fs_badblocks_* functions instead.

22 years agoChangeLog, fsck.c:
Theodore Ts'o [Tue, 12 Jun 2001 22:35:00 +0000 (22:35 +0000)]
ChangeLog, fsck.c:
  fsck.c (device_already_active): Fixed bug which can cause fsck to core
   dump if there are a mix of devices with standard and non-standard
   names.

22 years agoChangeLog, Makefile.in, bitops.h, gen_bitmap.c:
Theodore Ts'o [Mon, 11 Jun 2001 15:17:45 +0000 (15:17 +0000)]
ChangeLog, Makefile.in, bitops.h, gen_bitmap.c:
  Makefile.in, gen_bitmap.c, bitops.h: Move inline functions
   ext2fs_mark_generic_bitmap and ext2fs_unmark_generic_bitmap to
   gen_bitmap.c as normal functions.  (This saves space and doesn't
   significantly change the speed of e2fsck on a P-III.)
ChangeLog:
  Add missing log entry for unix.c.

22 years agoChangeLog, Makefile.in, swapfs.c, unix.c:
Theodore Ts'o [Mon, 11 Jun 2001 07:00:04 +0000 (07:00 +0000)]
ChangeLog, Makefile.in, swapfs.c, unix.c:
  Makefile.in: Add message.c and swapfs.c to the list of source files to
   build the make depend.
  swapfs.c, unix.c: Only support the -s and -S options to e2fsck if
   ENABLE_SWAPFS is defined.
Many files:
  ext2fs.h, bitops.h, block.c, bmap.c, closefs.c, dirblock.c, inode.c,
   native.c, openfs.c, rw_bitmaps.c, swapfs.c: Only include the
   byte-swapping logic if ENABLE_SWAPFS is turned on or if we're on a
   big-endian machine.
  initialize.c (ext2fs_initialize):Use WORDS_BIGENDIAN directly to set
   EXT2_FLAG_SWAP_BYTES, instead of using ext2fs_native_flag.
  native.c (ext2fs_native_flag): Use WORDS_BIGENDIAN provided by
   autoconf to determine whether or not return EXT2_FLAG_SWAP_BYTES.

22 years agoChangeLog, configure, configure.in:
Theodore Ts'o [Mon, 11 Jun 2001 06:54:13 +0000 (06:54 +0000)]
ChangeLog, configure, configure.in:
  configure.in: Add new switch, --disable-swapfs which disables support
   of byte-swapping old filesystems.  Add new test, AC_C_BIGENDIAN, which
   sets WORDS_BIGENDIAN on big-endian machines.  Change handling of
   --with-ccopts so that if set, the default CFLAGS is suppressed.

22 years ago.del-configure~7a460879:
Theodore Ts'o [Mon, 11 Jun 2001 02:07:57 +0000 (02:07 +0000)]
.del-configure~7a460879:
  Remove junk file.

22 years agoChangeLog, Makefile.in, mkjournal.c:
Theodore Ts'o [Mon, 11 Jun 2001 00:49:29 +0000 (00:49 +0000)]
ChangeLog, Makefile.in, mkjournal.c:
  Makefile.in: Remove the dependence on the libe2p library.
  mkjournal.c (ext2fs_add_journal_inode): Replace use of fsetflags with
   direct usage of the ioctl/fchflags so that we don't have to depend on
   the libe2p library.

22 years agoRELEASE-NOTES, version.h:
Theodore Ts'o [Fri, 8 Jun 2001 12:03:36 +0000 (12:03 +0000)]
RELEASE-NOTES, version.h:
  Updated for 8-Jun-2001 WIP release.

22 years agoChangeLog, jfs.h:
Theodore Ts'o [Fri, 8 Jun 2001 11:55:44 +0000 (11:55 +0000)]
ChangeLog, jfs.h:
  jfs.h: Synchronize with ext3 0.7a
ChangeLog, recovery.c, revoke.c:
  recover.c, revoke.c: Synchronize with ext3 0.7a

22 years agoChangeLog, icount.c:
Theodore Ts'o [Fri, 8 Jun 2001 09:43:40 +0000 (09:43 +0000)]
ChangeLog, icount.c:
  icount.c (insert_icount_el): Fix the code used to estimate the size of
   the new icount array to be more intelligent, to avoid reallocating the
   array too many times.
ChangeLog, ext2_types.h.in:
  ext2_types.h.in: Use unsigned ints in favor of unsigned longs when
   trying to find a 32-bit wide type.