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

23 years agoChangeLog, debugfs.c:
Theodore Ts'o [Wed, 9 May 2001 06:09:12 +0000 (06:09 +0000)]
ChangeLog, debugfs.c:
  debugfs.c (do_write, do_mknod): Set the file type information when
   creating the inode.

23 years agoChangeLog, super.c:
Theodore Ts'o [Wed, 9 May 2001 06:03:58 +0000 (06:03 +0000)]
ChangeLog, super.c:
  super.c (release_orphan_inodes): Add gettext quoting around
   "Truncating" and "Clearing" for i18n.

23 years agoMany files:
Theodore Ts'o [Wed, 9 May 2001 04:51:07 +0000 (04:51 +0000)]
Many files:
  Added Debian directory from e2fsprogs 1.19-4

23 years agoChangeLog, util.c:
Theodore Ts'o [Mon, 7 May 2001 16:53:26 +0000 (16:53 +0000)]
ChangeLog, util.c:
  util.c: Use specific check for HAVE_SYS_STAT_H.

23 years agoChangeLog, fileio.c:
Theodore Ts'o [Sat, 5 May 2001 16:42:24 +0000 (16:42 +0000)]
ChangeLog, fileio.c:
  fileio.c (ext2fs_file_read): Factored out common code and cleaned up
   function.  Fixed a bug where if there was an error reading from the
   disk, the number of bytes read wasn't reliably set.  (Fixes Debian bug
   #79163)
   (ext2fs_file_write): Factored out common code and made function more
   efficient; if writing a full block, don't bother to do a
   read-modify-write cycle.

23 years agoChangeLog, expect, name, script:
Theodore Ts'o [Sat, 5 May 2001 16:21:48 +0000 (16:21 +0000)]
ChangeLog, expect, name, script:
  d_loaddump: New test which verifies debugfs's dump and load routines.
dirblock.c:
  Fix misc. gcc -Wall errors

23 years agoChangeLog, config.guess, config.sub:
Theodore Ts'o [Sat, 5 May 2001 06:49:27 +0000 (06:49 +0000)]
ChangeLog, config.guess, config.sub:
  config.guess, config.sub: Update to use latest version from FSF
   (2001-04-20)

23 years agoChangeLog, util.c:
Theodore Ts'o [Sat, 5 May 2001 06:47:24 +0000 (06:47 +0000)]
ChangeLog, util.c:
  util.c (fatal_error): Use the correct magic number when checking the
   magic number for the io_channel data structure.  Also remove
   extraneous call to io_channel_flush() that was left over from an
   editing session.

23 years agoChangeLog, fsck.8.in:
Theodore Ts'o [Sat, 5 May 2001 06:45:05 +0000 (06:45 +0000)]
ChangeLog, fsck.8.in:
  fsck.8.in: Add explicit language to describe how options get passed to
   filesystem-specific checkers.

23 years agoChangeLog, badblocks.8.in, badblocks.c:
Theodore Ts'o [Sat, 5 May 2001 05:43:23 +0000 (05:43 +0000)]
ChangeLog, badblocks.8.in, badblocks.c:
  badblocks.8.in: Fixed man page to describe the first optional
   parameter to badblocks as last_block, instead of num_blocks.  (Debian
   nbug #87216)
  badblocks.c: Change the blocks_count variable to be last_count, which
   is a more accurate description of the variable.

23 years agoChangeLog, pass2.c:
Theodore Ts'o [Sat, 5 May 2001 05:14:59 +0000 (05:14 +0000)]
ChangeLog, pass2.c:
  pass2.c (check_dir_block): Ignore EXT2_ET_DIR_CORRUPTED errors from
   ext2fs_read_dir_block().

23 years agoChangeLog, dirblock.c:
Theodore Ts'o [Sat, 5 May 2001 05:12:14 +0000 (05:12 +0000)]
ChangeLog, dirblock.c:
  dirblock.c (ext2fs_read_dir_block): Check for an directory record
   length which isn't a multiple four, and treat that as an invalid.
   Scan the directory and return an error (EXT2_ET_DIR_CORRUPTED) if the
   directory records are orrupted.
   (ext2fs_write_dir_block): If while byte-swapping the directory block,
   if there's an error, abort and return EXT2_ET_DIR_CORRUPTED.

23 years agoe2image.8.in:
Theodore Ts'o [Thu, 3 May 2001 16:30:48 +0000 (16:30 +0000)]
e2image.8.in:
  Updates and clarifications to the manual page.

23 years agoe2image.c:
Theodore Ts'o [Thu, 3 May 2001 16:24:57 +0000 (16:24 +0000)]
e2image.c:
  Update copyright date.
  :

23 years agoChangeLog, debugfs.8.in, debugfs.c:
Theodore Ts'o [Thu, 3 May 2001 15:05:55 +0000 (15:05 +0000)]
ChangeLog, debugfs.8.in, debugfs.c:
  debugfs.c (do_open_filesys, main): Add -i option which will allow
   debugfs to examine ext2 image files.

23 years agoChangeLog, dumpe2fs.8.in, dumpe2fs.c:
Theodore Ts'o [Thu, 3 May 2001 14:43:43 +0000 (14:43 +0000)]
ChangeLog, dumpe2fs.8.in, dumpe2fs.c:
  dumpe2fs.c (main): Add new flag, -i, which will allow dumpe2fs to dump
   out the filesystem statistics from an ext2 image file.
Many files:
  e2image.8.in: New manual page
  badblocks.8.in, e2label.8.in, mke2fs.8.in mklost+found.8.in,
   tune2fs.8.in: Update location of e2fsprogs to be
   http://e2fsprogs.sourceforge.net.

23 years agoChangeLog, e2image.c:
Theodore Ts'o [Thu, 3 May 2001 13:33:11 +0000 (13:33 +0000)]
ChangeLog, e2image.c:
  e2image.c (main): Fix format of e2image to be easier to be parse by
   ext2fs_open().

23 years agoMany files:
Theodore Ts'o [Thu, 3 May 2001 04:02:29 +0000 (04:02 +0000)]
Many files:
  ext2fs.h (EXT2_FLAG_IMAGE_FILE): Add new flag, and add image_header
   field in the ext2_filsys structure
  block.c (block_iterate_ind, block_iterate_dind, block_iterate_tind):
  inode.c (ext2fs_read_inode):
  rw_bitmaps.c (read_bitmaps):
  openfs.c (ext2fs_open): Add support for EXT2_FLAG_IMAGE_FILE
  imager.c (ext2fs_image_bitmap_read): Fix bug in imager to make sure
   the full bitmap is saved.

23 years agoChangeLog, unix.c:
Theodore Ts'o [Tue, 1 May 2001 21:13:37 +0000 (21:13 +0000)]
ChangeLog, unix.c:
  unix.c (PRS): Validate the completion information file descriptor so
   that the completion bar won't get accidentally written onto the disk.

23 years agoChangeLog, e2fsck.8.in:
Theodore Ts'o [Tue, 1 May 2001 20:01:08 +0000 (20:01 +0000)]
ChangeLog, e2fsck.8.in:
  e2fsck.8.in: Add explanation that you can use mke2fs -n -b blocksize
   to printout alternate superblock locations.

23 years agoChangeLog, dir_iterate.c:
Theodore Ts'o [Tue, 1 May 2001 19:04:28 +0000 (19:04 +0000)]
ChangeLog, dir_iterate.c:
  dir_iterate.c (ext2fs_process_dir_block): Add a double-check to make
   sure the rec_len is a multiple of 4, to prevent bus-errors on
   architectures which care about mis-aligned pointer references.

23 years ago.del-ext2_fs.h~7a460879, ChangeLog:
Theodore Ts'o [Tue, 1 May 2001 16:01:34 +0000 (16:01 +0000)]
.del-ext2_fs.h~7a460879, ChangeLog:
  ext2_fs.h: New feature assignments for
   EXT2_FEATURE_COMPAT_RESIZE_INODE for Andreas Dilger and
   EXT3_FEATURE_COMPAT_DIR_INDEX for Daniel Phillips.  Synchronize kernel
   function prototypes (which don't matter for e2fsprogs) with Linux
   2.4.4.

23 years agoChangeLog, fsck.c:
Theodore Ts'o [Tue, 1 May 2001 15:44:37 +0000 (15:44 +0000)]
ChangeLog, fsck.c:
  fsck.c (device_already_active): If we're not able to determine the
   base device, we should assume that the device is already active in
   order to force serialization.

23 years agoChangeLog, compare.c, gen_uuid.c, parse.c:
Theodore Ts'o [Tue, 1 May 2001 15:32:44 +0000 (15:32 +0000)]
ChangeLog, compare.c, gen_uuid.c, parse.c:
  parse.c, compare.c: Include string.h to fix gcc -Wall complaints.
  gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors because some
   required structures wouldn't be otherwise defined.  Fix a minor gcc
   -Wall nit in the declaration of get_random_fd().

23 years agoChangeLog, tune2fs.c:
Theodore Ts'o [Thu, 26 Apr 2001 04:25:39 +0000 (04:25 +0000)]
ChangeLog, tune2fs.c:
  tune2fs.c (parse_tune2fs_options): Interpret -c 0 as -c -1 (for
   backwards compatibility with older kernels).  -c 0 makes more sense to
   users.
tune2fs.8.in:
  Update tune2fs manual papge so that it is up to date.

23 years agoChangeLog, unix.c:
Theodore Ts'o [Thu, 26 Apr 2001 04:11:46 +0000 (04:11 +0000)]
ChangeLog, unix.c:
  unix.c (check_if_skip): If the max_mount_count is zero, treat it as
   having no count set.

23 years agoChangeLog, getsize.c:
Theodore Ts'o [Thu, 26 Apr 2001 01:42:37 +0000 (01:42 +0000)]
ChangeLog, getsize.c:
  getsize.c (ext2fs_get_device_size): Use an unsigned long to query the
   device sizes using the BLKGETSIZE ioctl.

23 years agoChangeLog, tune2fs.c:
Theodore Ts'o [Mon, 23 Apr 2001 20:58:03 +0000 (20:58 +0000)]
ChangeLog, tune2fs.c:
  tune2fs.c (remove_journal_device): If the force flag is given, tune2fs
   will remove the journal device information from the superblock even if
   tune2fs failed to open the journal device or otherwise other failed to
   remove the filesystem from journal device.
   (parse_tune2fs_options): Fix -j option so that it works (it was
   missing the open_flag being set to EXT2_FLAG_RW).
   (main): Accept "-U clear" to set a null UID.

23 years agoChangeLog, subst.conf.in:
Theodore Ts'o [Sun, 22 Apr 2001 20:39:07 +0000 (20:39 +0000)]
ChangeLog, subst.conf.in:
  subst.conf.in: Add definition of JDEV for mke2fs' and tune2fs' man page.

23 years agoChangeLog, mke2fs.8.in:
Theodore Ts'o [Sun, 22 Apr 2001 03:58:32 +0000 (03:58 +0000)]
ChangeLog, mke2fs.8.in:
  mke2fs.8.in: Manual page cleanups.  Temporarily comment out the
   documentation for the extern journal device support.

23 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Sun, 22 Apr 2001 03:47:23 +0000 (03:47 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c (usage): Remove the deprecated -s option from the usage message.

23 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Sat, 21 Apr 2001 20:53:43 +0000 (20:53 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c (main): Add better explanation about when the filesystem will
   be checked after it is created.

23 years agoChangeLog, subst.c:
Theodore Ts'o [Tue, 17 Apr 2001 05:05:37 +0000 (05:05 +0000)]
ChangeLog, subst.c:
  subst.c (replace_string): Fix replace_string so that it correctly
   handles replacing a substitution variable with a zero-length string.

23 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Tue, 17 Apr 2001 02:34:41 +0000 (02:34 +0000)]
ChangeLog, mke2fs.c:
  mke2fs.c (create_journal_dev): Call ext2fs_create_journal_superblock()
  first, so if it's going to error out, the user finds out before
  waiting for the entire device to get zero'ed.
ChangeLog, util.c:
  util.c (parse_journal_opts): Remove code which allowed a bare number
   to be treated as a journal size.

23 years agoChangeLog, Makefile.in, ismounted.c:
Theodore Ts'o [Tue, 17 Apr 2001 02:22:05 +0000 (02:22 +0000)]
ChangeLog, Makefile.in, ismounted.c:
  ismounted.c (check_mntent): Check /proc/mounts on Linux systems before
   checking /etc/mtab.  The EXT2_MF_READONLY flag is now set from the
   /etc/mtab options field for all filesystems, not just the root
   filesystem.  Add debugging code to make it easier to test
   ext2fs_check_if_mounted().

23 years agoChangeLog, mke2fs.c, tune2fs.c:
Theodore Ts'o [Tue, 17 Apr 2001 01:01:49 +0000 (01:01 +0000)]
ChangeLog, mke2fs.c, tune2fs.c:
  mke2fs.c, tune2fs.c: Add newlines to error messages so that they look
   nicer.

23 years agoChangeLog, ext2_err.et.in, mkjournal.c:
Theodore Ts'o [Tue, 17 Apr 2001 00:53:25 +0000 (00:53 +0000)]
ChangeLog, ext2_err.et.in, mkjournal.c:
  mkjournal.c (ext2fs_create_journal_superblock): Add safety check;
   return an error if there's an attempt to create a journal less than
   1024 filesystem blocks.
  ext2_err.et.in, mkjournal.c: Change EXT2_JOURNAL_NOT_BLOCK and
   EXT2_NO_JOURNAL_SB to be EXT2_ET_*.

23 years agoChangeLog, super.c:
Theodore Ts'o [Tue, 17 Apr 2001 00:40:02 +0000 (00:40 +0000)]
ChangeLog, super.c:
  super.c (check_super_block): Fix bad calculation of inodes_per_block,
   and tighten min/max checks to be a bit more paranoid.  Thanks to
   Andreas Dilger for pointing out this bug.

23 years agoMany files:
Theodore Ts'o [Thu, 29 Mar 2001 20:49:58 +0000 (20:49 +0000)]
Many files:
  debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add
   internal_dump_inode() interface for the logdump command.
  logdump.c: Imported code from Stephen Tweedie to dump the ext3 journal.

23 years agoChangeLog, jfs_user.h, journal.c:
Theodore Ts'o [Thu, 29 Mar 2001 19:22:16 +0000 (19:22 +0000)]
ChangeLog, jfs_user.h, journal.c:
  journal.c (mark_buffer_uptodate): Add emulation of kernel function
   mark_buffer_uptodate.

23 years agojfs.h:
Theodore Ts'o [Thu, 29 Mar 2001 19:19:24 +0000 (19:19 +0000)]
jfs.h:
  Move things around so that user-mode stuff is outside #ifdef LINUX,
  and stuff which is kernel-only into #ifdef LINUX.  (Should be synced up
  with sct).

23 years agorevoke.c:
Theodore Ts'o [Thu, 29 Mar 2001 19:16:44 +0000 (19:16 +0000)]
revoke.c:
  Make insert_revoke_hash static (since it's not used outside this function).

23 years agoChangeLog, recovery.c, revoke.c:
Theodore Ts'o [Thu, 29 Mar 2001 19:00:50 +0000 (19:00 +0000)]
ChangeLog, recovery.c, revoke.c:
  recovery.c, revoke.c: Synchronize with 0.6b ext3 files.

23 years ago.del-jfs_e2fsck.h~c0cc80d6:
Theodore Ts'o [Thu, 29 Mar 2001 18:55:43 +0000 (18:55 +0000)]
.del-jfs_e2fsck.h~c0cc80d6:
  Remove obsolete header file.

23 years agojfs.h:
Theodore Ts'o [Thu, 29 Mar 2001 18:18:55 +0000 (18:18 +0000)]
jfs.h:
  Update to synchronize with 0.6b version of jfs.h

23 years agoChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
Theodore Ts'o [Mon, 26 Mar 2001 20:07:13 +0000 (20:07 +0000)]
ChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h:
  ke2fs.8.in, tune2fs.8.in: Change man paegs to document that the
  journal must be bewteen 1024 and 10,240 file system blocks.
  mke2fs.c, tune2fs.c: Change to use figure_journal_size()
  util.c, util.h (figure_journal_size): Change journal_default_size into
   routine which also converts the requested journal size into filesystem
   blocks and does bounds checking to make sure the journal is sized
   reasonably.  Renamed function to journal_default_size.
   parse_journal_opts): Remove bounds check for the journal size, since
   this is now done in figure_journal_size, and based on the number of
   filesystem blocks, as opposed to using the absolute size of the
   journal.

23 years agoChangeLog, debugfs.c:
Theodore Ts'o [Sun, 18 Mar 2001 18:16:18 +0000 (18:16 +0000)]
ChangeLog, debugfs.c:
  debugfs.c (do_write, do_mknod): Remove extra (useless) call to
   ext2fs_write_inode.

23 years agojournal.c:
Theodore Ts'o [Tue, 20 Feb 2001 16:31:38 +0000 (16:31 +0000)]
journal.c:
  Fix stupid typo.

23 years agoChangeLog, Makefile.in, bitops.h, tst_byteswap.c:
Theodore Ts'o [Tue, 20 Feb 2001 16:28:40 +0000 (16:28 +0000)]
ChangeLog, Makefile.in, bitops.h, tst_byteswap.c:
  bitops.h (ext2fs_swab16, ext2fs_swab32): Add i386 assembly inline
   functions.
  tst_byteswap.c: New function to test the byteswap functions.  Add to
   regression test suite.