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

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

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

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

23 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...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23 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

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

23 years agoChangeLog, chattr.c, lsattr.c:
Theodore Ts'o [Fri, 8 Jun 2001 02:53:20 +0000 (02:53 +0000)]
ChangeLog, chattr.c, lsattr.c:
  chattr.c, lsattr.c: Don't use _FILE_BITS_OFFSET method of using the
   64-bit function, since this changes the expected size of struct
   dirent.  Instead use lseek64 explicitly.

23 years agoChangeLog, debugfs.c:
Theodore Ts'o [Sun, 3 Jun 2001 23:27:56 +0000 (23:27 +0000)]
ChangeLog, debugfs.c:
  debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read
   errors to not be noticed.

23 years agoChangeLog, expect.1, image.gz:
Theodore Ts'o [Sat, 2 Jun 2001 04:55:57 +0000 (04:55 +0000)]
ChangeLog, expect.1, image.gz:
  f_badinode: Added a fast symlink with an invalid size to test e2fsck's
   handling of this case.
RELEASE-NOTES:
  Upate last couple of changes for the WIP release.

23 years agoChangeLog, recovery.c:
Theodore Ts'o [Sat, 2 Jun 2001 04:50:14 +0000 (04:50 +0000)]
ChangeLog, recovery.c:
  recovery.c (scan_revoke_records): Fix bug in recovery code; missing
   byte order conversion.

23 years agoChangeLog:
Theodore Ts'o [Sat, 2 Jun 2001 04:37:02 +0000 (04:37 +0000)]
ChangeLog:
  Add other change to pass1.c

23 years agoChangeLog, pass1.c, pass2.c, problem.c, problem.h:
Theodore Ts'o [Sat, 2 Jun 2001 04:26:26 +0000 (04:26 +0000)]
ChangeLog, pass1.c, pass2.c, problem.c, problem.h:
  pass1.c (mark_inode_bad): Replace alloc_bad_map with a function which
   sets the bit in the bad inode bitmap.
   (e2fsck_pass1): Check for fast symlinks with an invalid size, and set
   the bad inode map in that case.
  pass2.c (e2fsck_process_bad_inode): Check for fast symlinks with an
   invalid size and prompt the user if the inode should be cleared.
  problem.h, problem.c (PR_2_SYMLINK_SIZE): Added new problem code.

23 years agoChangeLog, valid_blk.c:
Theodore Ts'o [Sat, 2 Jun 2001 04:13:16 +0000 (04:13 +0000)]
ChangeLog, valid_blk.c:
  valid_blk.c (ext2fs_inode_has_valid_blocks): Only check i_blocks for a
   symlink to determine whether it is a fast symlink.

23 years agoMany files:
Theodore Ts'o [Sat, 2 Jun 2001 01:20:18 +0000 (01:20 +0000)]
Many files:
  Interim checkin for 1.21-WIP release.

23 years agoChangeLog:
Theodore Ts'o [Sat, 2 Jun 2001 00:54:10 +0000 (00:54 +0000)]
ChangeLog:
  Fix typo in ChangeLog.

23 years agoChangeLog, journal.c, problem.c, problem.h:
Theodore Ts'o [Sat, 2 Jun 2001 00:38:40 +0000 (00:38 +0000)]
ChangeLog, journal.c, problem.c, problem.h:
  problem.c, problem.h: Change PR_0_JOURNAL_UNSUPP_INCOMPAT and
   PR_0_JOURNAL_UNSUPP_ROCOMPAT so they aren't fatal errors, but prompt
   to see if the user should abort.  Removed the
   PR_0_JOURNAL_RESET_COMPAT problem code.
  journal.c (e2fsck_journal_load): If there are incompatible journal
   flags, just return an error code.
   (e2fsck_check_ext3_journal): If e2fsck_journal_load returns an error
   code indicating that there are incompatible journal flag, check to see
   if we should abort, and then offer to clear the journal.

23 years agoChangeLog, wordwrap.pl:
Theodore Ts'o [Fri, 1 Jun 2001 23:49:46 +0000 (23:49 +0000)]
ChangeLog, wordwrap.pl:
  Makefile.in: Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.
  wordwrap.pl: Add some rules which help fix up the dependencies.
Many files:
  Move include/asm/types.h.in to lib/ext2fs/ext2_fs.h.in.

23 years agoChangeLog, expect.1, expect.2, image.gz, name:
Theodore Ts'o [Fri, 1 Jun 2001 19:46:43 +0000 (19:46 +0000)]
ChangeLog, expect.1, expect.2, image.gz, name:
  f_dup3: New test case which checks handling of blocks claimed multiple
   times by one inode which weren't handled correctly by e2fsck 1.20.

23 years agoChangeLog, pass1.c, pass1b.c:
Theodore Ts'o [Fri, 1 Jun 2001 19:29:36 +0000 (19:29 +0000)]
ChangeLog, pass1.c, pass1b.c:
  pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode,
   pass1_check_directory): Add a safety check to make sure
   ctx->stashed_inode is non-zero.
  pass1b.c (pass1b): Use e2fsck_use_inode_shortcuts() to disable the
   inode shortcut processing, instead of manually clearing only half of
   the function pointers that needed to be NULL'ed out.  This caused
   nasty bugs if the last inode in the filesystem needed dup block
   processing.
  pass1b.c (clone_file_block): When cloning a directory's metadata
   block, don't try to update the directory block list database, since
   indirect blocks aren't stored in the database and the resulting error
   will abort the file clone operation.

23 years agoChangeLog, debugfs.c, debugfs.h, logdump.c:
Theodore Ts'o [Fri, 1 Jun 2001 15:36:05 +0000 (15:36 +0000)]
ChangeLog, debugfs.c, debugfs.h, logdump.c:
  debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.

23 years agoChangeLog, logdump.c:
Theodore Ts'o [Fri, 1 Jun 2001 15:22:38 +0000 (15:22 +0000)]
ChangeLog, logdump.c:
  logdump.c (read_journal_block): Replace pread with lseek/read combination.

23 years agoChangeLog, expect, script:
Theodore Ts'o [Fri, 1 Jun 2001 15:14:38 +0000 (15:14 +0000)]
ChangeLog, expect, script:
  d_loaddump: Fix test script to remove bash'isms, and make the shell
   script more robust in cases where the user has overridden CFLAGS so
   that the debugfs binary isn't compiled with -g, and is smaller than
   128k.  Also specify the blocksize to be used explictly to avoid
   problems with people who change the mke2fs default parameters.

23 years agoChangeLog, unpack.c, unparse.c, uuid_time.c:
Theodore Ts'o [Fri, 1 Jun 2001 15:03:25 +0000 (15:03 +0000)]
ChangeLog, unpack.c, unparse.c, uuid_time.c:
  unpack.c, unparse.c, uuid_time.c: Update files to be under the LGPL
   (that somehow were missed when libuuid was converted to use the LGPL).
   Whoops.

23 years agoADD TAG: E2FSPROGS-1_20 E2FSPROGS-1_20
Theodore Ts'o [Fri, 25 May 2001 17:35:00 +0000 (17:35 +0000)]
ADD TAG: E2FSPROGS-1_20

23 years agoe2fsprogs.lsm, version.h:
Theodore Ts'o [Fri, 25 May 2001 17:35:00 +0000 (17:35 +0000)]
e2fsprogs.lsm, version.h:
  Update version string for 1.20 release
ChangeLog:
  Update Changelogs for 1.20 release.

23 years agoChangeLog:
Theodore Ts'o [Fri, 25 May 2001 17:32:49 +0000 (17:32 +0000)]
ChangeLog:
  Makefile.in: Only exclude the top-level TODO file, not over the entire
   tree.

23 years agoMakefile.in:
Theodore Ts'o [Fri, 25 May 2001 17:18:43 +0000 (17:18 +0000)]
Makefile.in:
  Makefile.in: Only exclude the top-level TODO file, not over the entire
   tree.

23 years agoconfigure, configure.in:
Theodore Ts'o [Fri, 25 May 2001 17:16:41 +0000 (17:16 +0000)]
configure, configure.in:
  Remove lib/finddev from the list of directories that we try to configure

23 years agoChangeLog, ismounted.c:
Theodore Ts'o [Fri, 25 May 2001 17:14:23 +0000 (17:14 +0000)]
ChangeLog, ismounted.c:
  ismounted.c: More cleanups for ismounted.c, some from Andreas, some to
   clean up Andreas's patches.  Use strncpy instead of strcpy to save the
   root's mountpoint.  Clean up #ifdef structure.  Remove uneeded
   variable in testing/debug driver.

23 years agoChangeLog, journal.c:
Theodore Ts'o [Fri, 25 May 2001 16:40:56 +0000 (16:40 +0000)]
ChangeLog, journal.c:
  journal.c (e2fsck_journal_reset_super): Remove extraneous line

23 years agoChangeLog, tune2fs.c:
Theodore Ts'o [Fri, 25 May 2001 16:38:48 +0000 (16:38 +0000)]
ChangeLog, tune2fs.c:
  tune2fs.c (update_feature_set): Fix capitalization typo.

23 years agoChangeLog:
Theodore Ts'o [Fri, 25 May 2001 16:35:33 +0000 (16:35 +0000)]
ChangeLog:
  Fix spelling typo.

23 years agoChangeLog, ismounted.c:
Theodore Ts'o [Fri, 25 May 2001 16:32:53 +0000 (16:32 +0000)]
ChangeLog, ismounted.c:
  ismounted.c: Add check for root device which doesn't depend on
   /etc/fstab or /proc/mounts to be correct.  Don't call endmntent()
   before we are done with mnt struct.

23 years agoChangeLog, partinfo.c:
Theodore Ts'o [Wed, 23 May 2001 22:29:22 +0000 (22:29 +0000)]
ChangeLog, partinfo.c:
  partinfo.c (main): Use unsigned long instead of long when querying the
   size of a device using the BLKGETSIZE ioctl, to remove the 1TB limit
   (and turn it into a 2TB limit :-)

23 years agoChangeLog, fsck.c:
Theodore Ts'o [Wed, 23 May 2001 22:26:39 +0000 (22:26 +0000)]
ChangeLog, fsck.c:
  fsck.c (compile_fs_type): Fix I18N compilation bug: use N_() instead
   of _() to initialize static variables.

23 years agoChangeLog, journal.c, problem.c, problem.h:
Theodore Ts'o [Wed, 23 May 2001 22:19:47 +0000 (22:19 +0000)]
ChangeLog, journal.c, problem.c, problem.h:
  journal.c (e2fsck_journal_reset_super): Fix bug; the reset journal
   wasn't getting written out to disk since the dirty bit wasn't being
   set on the buffer.
   (e2fsck_journal_load): Don't print an error message if the journal
   version number is wrong; just return a error code reflecting this
   fact.  If the block type in the journal superblcok is obviously not a
   version number, report the journal is corrupted.
   (e2fsck_check_ext3_journal): On an unsupported journal version, prompt
   to abort by default, but then offer a chance to clear the journal as
   corrupt.
  problem.c, problem.h (PR_0_JOURNAL_UNSUPP_VERSION): Added new problem code.

23 years agoChangeLog, ext2_err.et.in:
Theodore Ts'o [Wed, 23 May 2001 18:30:10 +0000 (18:30 +0000)]
ChangeLog, ext2_err.et.in:
  ext2_err.et.in (EXT2_ET_JOURNAL_UNSUPP_VERSION): Added new error code.

23 years agocontrol:
Theodore Ts'o [Mon, 21 May 2001 05:27:45 +0000 (05:27 +0000)]
control:
  Fix spelling typo.
.del-TODO~705e0f0d:
  Fix items which are already done.
RELEASE-NOTES, version.h:
  Update for 1.20 RC #3

23 years agoChangeLog, ext2_fs.h:
Theodore Ts'o [Mon, 21 May 2001 05:23:31 +0000 (05:23 +0000)]
ChangeLog, ext2_fs.h:
  ext2_fs.h: Change assignment of EXT2_FEATURE_COMPAT_DIR_INDEX to make
   room for pre-existing usage of EXT2_FEATURE_COMPAT_EXT_ATTR.  Add flag
   EXT2_INDEX_FL with the same codepoint as EXT2_BTREE_FL.

23 years agoChangeLog, ext2fs.h:
Theodore Ts'o [Mon, 21 May 2001 02:54:21 +0000 (02:54 +0000)]
ChangeLog, ext2fs.h:
  ext2fs.h: #include <> instead of "" for ext2fs and et header files,
   since they will be installed in /usr/include
ChangeLog, e2p.h:
  e2p.h: #include <> instead of "" for ext2fs and et header files, since
   they will be installed in /usr/include

23 years agochangelog, control, rules, e2fsck-static.files, e2fsprogs.copyright:
Theodore Ts'o [Mon, 21 May 2001 02:48:41 +0000 (02:48 +0000)]
changelog, control, rules, e2fsck-static.files, e2fsprogs.copyright:
  Update to sync up with Debian's e2fsprogs_1.19+1.20-WIP-0514-2 release.

23 years agolibext2fs.texinfo, ChangeLog:
Theodore Ts'o [Mon, 21 May 2001 02:45:22 +0000 (02:45 +0000)]
libext2fs.texinfo, ChangeLog:
  libext2fs.texinfo: Added @dircategory line so that Debian programs
   know which section to list the .info file.

23 years agoChangeLog, fsck.8.in, fsck.c:
Theodore Ts'o [Mon, 21 May 2001 02:15:15 +0000 (02:15 +0000)]
ChangeLog, fsck.8.in, fsck.c:
  fsck.8.in, fsck.c (compile_fs_type, fs_type, ignore): Fix handling of
   -t option to be more intuitive.  Also add support for the Mandrake -t
   loop hack.  See man page for description of new -t semantics.

23 years agoChangeLog, fsck.c:
Theodore Ts'o [Mon, 21 May 2001 01:41:37 +0000 (01:41 +0000)]
ChangeLog, fsck.c:
  fsck.c (device_already_active): Fix bug in device_already_active which
   could cause infinite loops if we don't know the base_device of the
   filesystem.

23 years agoChangeLog, fsck.c:
Theodore Ts'o [Mon, 21 May 2001 01:39:02 +0000 (01:39 +0000)]
ChangeLog, fsck.c:
  fsck.c: Make sure all exit status codes returned by fsck are
   consistent with the error codes documented in the fsck man page.

23 years agoMany files:
Theodore Ts'o [Sat, 19 May 2001 22:07:36 +0000 (22:07 +0000)]
Many files:
  Makefile.bsd-lib, Makefile.dll-lib, Makefile.elf-lib,
   Makefile.solaris-lib: Use $(LDCONFIG) instead of -ldconfig.

23 years agoChangeLog, MCONFIG.in, configure, configure.in:
Theodore Ts'o [Sat, 19 May 2001 22:02:22 +0000 (22:02 +0000)]
ChangeLog, MCONFIG.in, configure, configure.in:
  configure.in, MCONFIG.in (LDCONFIG): Use AC_PATH_PROG to find the
   pathname for ldconfig.

23 years agoRELEASE-NOTES:
Theodore Ts'o [Mon, 14 May 2001 13:04:44 +0000 (13:04 +0000)]
RELEASE-NOTES:
  Update a typo and updated date for next WIP release.
e2fsprogs.lsm:
  Updated approximate values for 1.20 release
version.h:
  Update for new WIP release.

23 years agoChangeLog, pass1.c, problem.c, problem.h, problemP.h:
Theodore Ts'o [Mon, 14 May 2001 12:47:41 +0000 (12:47 +0000)]
ChangeLog, pass1.c, problem.c, problem.h, problemP.h:
  pass1.c: Treat inodes with a low dtime (that were from a corrupted
   orphan list) specially.
  problem.c, problem.h: Add new problem codes PR_1_LOW_DTIME and
   PR_1_ORPHAN_LIST_REFUGEES, and a new latch group, PR_LATCH_LOW_DTIME.
  problemP.h: Expand the size of the problem flag to be an int instead
   of a short.  Expand space in the flag word which is reserved for
   problem latch flags from 3 bits to 8 bits.
ChangeLog, expect.1, expect.2, image.gz, name:
  f_badorphan: New test which verifies corrupted orphan list handling.

23 years agoMany files:
Theodore Ts'o [Mon, 14 May 2001 11:45:38 +0000 (11:45 +0000)]
Many files:
  badblocks.c, chattr.c, dumpe2fs.c, e2image.c, findsuper.c, lsattr.c,
   mke2fs.c, mklost+found.c, tune2fs.c, util.c: Change location of
   ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, resize2fs.h:
  resize2fs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, debugfs.h:
  debugfs.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, e2fsck.h, scantest.c:
  e2fsck.h, scantest.c: Change location of ext2_fs.h to be
   ext2fs/ext2_fs.h
ChangeLog, Makefile.in, tst_uuid.c, uuid_time.c:
  tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
ChangeLog, Makefile.in, e2p.h:
  e2p.h: Change location of ext2_fs.h to be ext2fs/ext2_fs.h
ChangeLog, Makefile.in, test_icount.c, test_rel.c:
  test_icount.c, test_rel.c: Change location of ext2_fs.h to be
   ext2fs/ext2_fs.h

23 years agoMany files:
Theodore Ts'o [Mon, 14 May 2001 11:35:52 +0000 (11:35 +0000)]
Many files:
  alloc.c, alloc_tables.c, badblocks.c, bb_compat.c, bb_inode.c,
   bitmaps.c, bitops.c, block.c, bmap.c, bmove.c, brel_ma.c,
   check_desc.c, closefs.c, cmp_bitmaps.c, dblist.c, dblist_dir.c,
   dir_iterate.c, dirblock.c, dupfs.c, expanddir.c, ext2_fs.h, fileio.c,
   finddev.c, flushb.c, freefs.c, get_pathname.c, getsize.c, icount.c,
   imager.c, initialize.c, inline.c, inode.c, irel_ma.c, ismounted.c,
   link.c, lookup.c, mkdir.c, mkjournal.c, namei.c, native.c, newdir.c,
   nt_io.c, openfs.c, read_bb.c, read_bb_file.c, rs_bitmap.c,
   rw_bitmaps.c, swapfs.c, test_io.c, tst_badblocks.c, tst_byteswap.c,
   tst_getsize.c, tst_iscan.c, unix_io.c, unlink.c, valid_blk.c,
   version.c, write_bb_file.c, ext2_fs.h: Moved file from include/linux.
   Adjust all files in this directroy to include this file.

23 years agodebugfs.c:
Theodore Ts'o [Mon, 14 May 2001 11:20:48 +0000 (11:20 +0000)]
debugfs.c:
  Fix missing tab

23 years ago.del-ext2_fs.h~7a460879, ChangeLog:
Theodore Ts'o [Mon, 14 May 2001 05:01:47 +0000 (05:01 +0000)]
.del-ext2_fs.h~7a460879, ChangeLog:
  ext2_fs.h: Define EXGT2_RESIZE_INO and EXT2_FEATURE_COMPAT_DIR_INDEX
  ext2_fs.h: Moved file to lib/ext2fs

23 years agoChangeLog, tune2fs.8.in:
Theodore Ts'o [Mon, 14 May 2001 04:43:05 +0000 (04:43 +0000)]
ChangeLog, tune2fs.8.in:
  tune2fs.8.in: Fix typo's and make other clarifications suggested by
   Andreas Dilger.

23 years agoChangeLog, mkjournal.c:
Theodore Ts'o [Mon, 14 May 2001 04:28:35 +0000 (04:28 +0000)]
ChangeLog, mkjournal.c:
  mkjournal.c (ext2fs_create_journal_superblock): Remove redundant code.

23 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Mon, 14 May 2001 04:19:25 +0000 (04:19 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c: don't zap the superblock if we are running with noaction!
   Zap the end of the device to remove stale RAID superblocks.

23 years agoChangeLog:
Theodore Ts'o [Mon, 14 May 2001 04:12:27 +0000 (04:12 +0000)]
ChangeLog:
  Clarify some of the Changelog entries.
ChangeLog, fsck.8.in, mke2fs.8.in, tune2fs.8.in:
  fsck.8.in, mke2fs.8.in, tune2fs.8.in: Fix typo's and make other
   clarifications suggested by Andreas Dilger.
ChangeLog, tune2fs.c:
  tune2fs.c (update_feature_set): Clean up some printf messages.

23 years agoChangeLog, e2fsck.h, journal.c, problem.c, problem.h, super.c:
Theodore Ts'o [Mon, 14 May 2001 04:06:56 +0000 (04:06 +0000)]
ChangeLog, e2fsck.h, journal.c, problem.c, problem.h, super.c:
  super.c (check_super_block): Be more strict on checking
   s_r_blocks_count superblock field.
  problem.c, problem.h (PR_0_JOURNAL_UNSUPP_ROCOMPAT,
   PR_0_JOURNAL_UNSUPP_INCOMPAT, PR_0_JOURNAL_RESET_COMPAT): New problem
   codes.
  journal.c (e2fsck_journal_load): Use a problem code to report
   unsupported feature flags.  There is code to clear unsupported flags,
   but since this is dangerous, it's not allowed in the problem code
   table.
  journal.c (e2fsck_journal_reset_super): initialize the journal
   sequence number to a random value to avoid recovering bad transactions
   from a corrupt journal.

23 years agoopenfs.c:
Theodore Ts'o [Sun, 13 May 2001 23:12:10 +0000 (23:12 +0000)]
openfs.c:
  Update documentation about what flags are valid for ext2fs_open().

23 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Sun, 13 May 2001 22:58:27 +0000 (22:58 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c (PRS): Integrated changes from Andreas Dilger which make the
   revision superblock field be set to the correct value depending on if
   superblock features are set.

23 years agoChangeLog, feature.c:
Theodore Ts'o [Sun, 13 May 2001 22:21:52 +0000 (22:21 +0000)]
ChangeLog, feature.c:
  feature.c: Add COMPAT_DIR_INDEX and RESIZE_INODE known features

23 years agoChangeLog, ls.c:
Theodore Ts'o [Sun, 13 May 2001 22:14:53 +0000 (22:14 +0000)]
ChangeLog, ls.c:
  ls.c (print_features): Added missing space when printing (none) as the
   filesystem feature.
   (list_super2): If the filesystem revision is unknown, say so.

23 years agoChangeLog, journal.c:
Theodore Ts'o [Sun, 13 May 2001 20:21:25 +0000 (20:21 +0000)]
ChangeLog, journal.c:
  journal.c: Code cleanup; initialize journal_enable_debug using an
   initializer.

23 years agoChangeLog, debugfs.c:
Theodore Ts'o [Sun, 13 May 2001 02:45:15 +0000 (02:45 +0000)]
ChangeLog, debugfs.c:
  debugfs.c (print_features): Use fputs instead of printf to output
   using the passed-in FILE *.

23 years agoChangeLog, fsck.c:
Theodore Ts'o [Sat, 12 May 2001 16:12:12 +0000 (16:12 +0000)]
ChangeLog, fsck.c:
  fsck.c (PRS): fsck -? now prints the usage message.
ChangeLog, jfs.h:
  jfs.h (JFS_DEBUG): Don't define JFS_DEBUG for non-kernel builds; if
   necessasry it can be set with configure --enable-jfs-debug

23 years agoMany files:
Theodore Ts'o [Sat, 12 May 2001 15:49:17 +0000 (15:49 +0000)]
Many files:
  badblocks.8.in, dumpe2fs.8.in, e2label.8.in, mke2fs.8.in,
   mklost+found.8.in, tune2fs.8.in: Fix typo; removed excess "anonymous"
   in the AVAILABILITY section.

23 years agoChangeLog, chattr.1.in, lsattr.1.in, uuidgen.1.in:
Theodore Ts'o [Sat, 12 May 2001 15:46:21 +0000 (15:46 +0000)]
ChangeLog, chattr.1.in, lsattr.1.in, uuidgen.1.in:
  chattr.1.in, lsattr.1.in, uuidgen.1.in: Update URL location of
   e2fsprogs package.

23 years agoMany files:
Theodore Ts'o [Sat, 12 May 2001 15:32:46 +0000 (15:32 +0000)]
Many files:
  libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
   uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
   uuid_time.3.in, uuid_unparse.3.in: Update URL location of e2fsprogs
   package.

23 years agoChangeLog, unix.c:
Theodore Ts'o [Sat, 12 May 2001 13:43:46 +0000 (13:43 +0000)]
ChangeLog, unix.c:
  unix.c (PRS): Skip validation of -C's file descriptor if it is zero,
   since that is special case.

23 years agochangelog:
Theodore Ts'o [Fri, 11 May 2001 06:19:33 +0000 (06:19 +0000)]
changelog:
  Update with 1.20 (very brief) release notes:
e2fsprogs.spec:
  Update for 1.20 release.

23 years agoCOPYING:
Theodore Ts'o [Fri, 11 May 2001 05:41:37 +0000 (05:41 +0000)]
COPYING:
  Add actual text for the GPL and LGPL licenses.
version.h:
  Update for WIP release

23 years agoRELEASE-NOTES:
Theodore Ts'o [Fri, 11 May 2001 05:15:06 +0000 (05:15 +0000)]
RELEASE-NOTES:
  Updated release notes for 1.20 release
README:
  Update for 1.20 release.

23 years agolibext2fs.texinfo:
Theodore Ts'o [Fri, 11 May 2001 05:12:07 +0000 (05:12 +0000)]
libext2fs.texinfo:
  Update for 1.20 version release.
TODO:
  Update TODO list.

23 years agoMakefile.in:
Theodore Ts'o [Fri, 11 May 2001 05:04:03 +0000 (05:04 +0000)]
Makefile.in:
  Update make depend information.

23 years agoChangeLog, random_exercise.c:
Theodore Ts'o [Thu, 10 May 2001 21:03:38 +0000 (21:03 +0000)]
ChangeLog, random_exercise.c:
  random_exercise.c: Also do some random truncating as well.