]> git.ipfire.org Git - thirdparty/e2fsprogs.git/log
thirdparty/e2fsprogs.git
24 years agoADD TAG: E2FSPROGS-1_16 E2FSPROGS-1_16
Theodore Ts'o [Sat, 23 Oct 1999 04:25:48 +0000 (04:25 +0000)] 
ADD TAG: E2FSPROGS-1_16

24 years agoREADME, RELEASE-NOTES, TODO, e2fsprogs.lsm, e2fsprogs.spec, version.h:
Theodore Ts'o [Sat, 23 Oct 1999 03:33:15 +0000 (03:33 +0000)] 
README, RELEASE-NOTES, TODO, e2fsprogs.lsm, e2fsprogs.spec, version.h:
  Update for 1.16 release.

24 years agoMakefile.in:
Theodore Ts'o [Sat, 23 Oct 1999 03:22:38 +0000 (03:22 +0000)] 
Makefile.in:
  Update makefile dependencies for 1.16 release.

24 years agoChangeLog:
Theodore Ts'o [Sat, 23 Oct 1999 03:19:51 +0000 (03:19 +0000)] 
ChangeLog:
  Update for 1.16 release.
libext2fs.texinfo:
  Update version number for 1.16 release.

24 years agodebugfs.c:
Theodore Ts'o [Sat, 23 Oct 1999 03:17:10 +0000 (03:17 +0000)] 
debugfs.c:
  Update to pass new required parameter to e2p_edit_features
mke2fs.8.in:
  Update man page to add explanatory note about how the default block
  size is determined.

24 years agoChangeLog, com_err.3:
Theodore Ts'o [Sat, 23 Oct 1999 02:51:33 +0000 (02:51 +0000)] 
ChangeLog, com_err.3:
  com_err.3: Fix to have correct #include path for com_err.h

24 years agomke2fs.c, tune2fs.c:
Theodore Ts'o [Sat, 23 Oct 1999 01:22:17 +0000 (01:22 +0000)] 
mke2fs.c, tune2fs.c:
  Fixed usage messages.

24 years agoMany files:
Theodore Ts'o [Sat, 23 Oct 1999 01:16:22 +0000 (01:16 +0000)] 
Many files:
  Update copyright statements.

24 years agoChangeLog, Makefile.in, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c:
Theodore Ts'o [Sat, 23 Oct 1999 01:04:50 +0000 (01:04 +0000)] 
ChangeLog, Makefile.in, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c:
  tune2fs.c (main): Add a new option -O which allows the user to set and
   clear certain "safe" filsystem feature flags.  Currently, the only
   ones which are supported for modification are sparse_superblock and
   filetype.
  mke2fs.c (PRS): Add new option -O which allows the user to request
   filesystems with specific filesystem options.  By default on 2.2 and
   later systems, create filesystems that have both file type information
   and sparse superblocks.

24 years agoChangeLog, e2p.h, feature.c:
Theodore Ts'o [Sat, 23 Oct 1999 01:01:09 +0000 (01:01 +0000)] 
ChangeLog, e2p.h, feature.c:
  feature.c (e2p_edit_feature), e2p.h: Add a new argument which allows
   the calling application to limit what features the user is allowed to
   set or clear using this function.  Also add support for comma
   separated lists.

24 years agoChangeLog, link.c, mkdir.c, newdir.c:
Theodore Ts'o [Sat, 23 Oct 1999 00:58:54 +0000 (00:58 +0000)] 
ChangeLog, link.c, mkdir.c, newdir.c:
  mkdir.c (ext2fs_mkdir): Pass EXT2_FT_DIR flag to ext2fs_link().
  link.c (ext2fs_link): This call now uses the low three bits of the
   flags parameter to pass the directory filetype information; it will
   set the directory entry FILETYPE information if the filesystem
   supports it.
  newdir.c (ext2fs_new_dir_block): If the FILETYPE superblock option is
   set, then create the '.' and '..' entries with the filetype set to
   EXT2_FT_DIR.

24 years agoChangeLog, pass2.c, problem.c, problem.h:
Theodore Ts'o [Fri, 22 Oct 1999 15:11:42 +0000 (15:11 +0000)] 
ChangeLog, pass2.c, problem.c, problem.h:
  pass2.c (check_filetype): If the filetype filesystem feature is not
   set, and a directory entry has a dirent feature, offer to clear it
   (since 2.0 kernels will do complain will interpret it as a very large
   name length field).

24 years agoMany files:
Theodore Ts'o [Thu, 21 Oct 1999 19:56:34 +0000 (19:56 +0000)] 
Many files:
  badblocks.8.in, chattr.1.in, dumpe2fs.8.in, e2label.8.in,
  fsck.8.in, lsattr.1.in, mke2fs.8.in, mklost+found.8.in,
  tune2fs.8.in, uuidgen.1.in: Update man page to use a more standard
   format (bold option flags and italicized variables), as suggested by
   Andreas Dilger (adilger@enel.ucalgary.ca)
ChangeLog, e2fsck.8.in:
  e2fsck.8.in: Update man page to use a more standard format (bold
   option flags and italicized variables), as suggested by Andreas Dilger
   (adilger@enel.ucalgary.ca)
ChangeLog, uuid_generate.3.in:
  uuid_generate.8.in: Update man page to use a more standard format
   (bold option flags and italicized variables), as suggested by Andreas
   Dilger (adilger@enel.ucalgary.ca)

24 years agoMany files:
Theodore Ts'o [Thu, 21 Oct 1999 19:33:18 +0000 (19:33 +0000)] 
Many files:
  pass4.c (e2fsck_pass4): If an inode is set in the inode_imagic_map
   bitmap, don't check to see if it is disconnected from the inode tree
   (because it almost certainly will be).  Free inode_imagic_map at the
   end of pass 4.
  pass2.c (check_dir_block, check_filetype): If the FILETYPE feature is
   set, check the directory entry's filetype information field, and
   fix/set it if necessary.  (e2fsck_pass2): Free the inode_reg_map
   bitmap at the end of pass 2.
  pass1.c (e2fsck_pass1, alloc_imagic_map): Allocate and fill in
   information for inode_reg_map and inode_imagic_map, which indicates
   which inodes are regular files and AFS inodes, respectively.
   Since only the master superblock is written during a restart, force
   that superblock to be used after a restart; otherwise changes to the
   block group descriptors end up getting ignored.
  problem.c, problemP.h: If e2fsck is run -n, make def_yn variable be 0
   for "no".  Add support for a new flag, PR_NO_NOMSG, which supresses
   the problem message if e2fsck is run with the -n option.
  problem.c, problem.h (PR_2_SET_FILETYPE, PR_2_BAD_FILETYPE): Add new
   problem codes.
  message.c (expand_dirent_expression): Add support for %dt which prints
   the dirent type information.
  e2fsck.c (e2fsck_reset_context): Free new bitmaps (inode_reg_map and
   inode_imagic_map).
  e2fsck.h (e2fsck_t): Add new inode_reg_map and inode_magic_map to the
   context structure.
ChangeLog, nt_io.c:
  nt_io.c: New file which supports I/O under Windows NT.
ChangeLog, gen_uuid_nt.c:
  gen_uuid_nt.c: New file which creates a UUID under Windows NT.
Many files:
  Add support for non-Unix compiles

24 years agoChangeLog, super.c:
Theodore Ts'o [Wed, 20 Oct 1999 18:29:18 +0000 (18:29 +0000)] 
ChangeLog, super.c:
  super.c (check_super_block): Check to see whether the inodes_per_group
   value in the superblock is insanely too high.

24 years agoChangeLog, unix.c, util.c:
Theodore Ts'o [Wed, 20 Oct 1999 18:24:31 +0000 (18:24 +0000)] 
ChangeLog, unix.c, util.c:
  unix.c (PRS), util.c (ask_yn): Add #ifdef's to make e2fsprogs easier
   to port to non-Unix platforms.

24 years agoChangeLog, configure, configure.in:
Theodore Ts'o [Wed, 20 Oct 1999 18:20:36 +0000 (18:20 +0000)] 
ChangeLog, configure, configure.in:
  * configure.in (HAVE_STATE_FLAGS): Check to see if st_flags is
   actually useful (since glibc 2.1 declares it on Alpha without
   it being usable).  Add check for signal.h header file, which
   doesn't exist on non-unix platforms.

24 years agoChangeLog, tune2fs.c:
Theodore Ts'o [Wed, 20 Oct 1999 18:14:23 +0000 (18:14 +0000)] 
ChangeLog, tune2fs.c:
  tune2fs.c: Fix typo (double spaces) in messages regarding changing the
   sparse superblock option

24 years agoChangeLog, fsck.c, fsck.h:
Theodore Ts'o [Wed, 20 Oct 1999 18:11:01 +0000 (18:11 +0000)] 
ChangeLog, fsck.c, fsck.h:
  fsck.c (wait_one): If the fsck process just started, wait a second
   before sending a SIGUSR1, to give it a chance to set the signal
   handler; otherwise, fsck will die on an unhandled SIGUSR1.

24 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Wed, 20 Oct 1999 18:06:29 +0000 (18:06 +0000)] 
ChangeLog, mke2fs.c:
  Fix display bug when printing out the number of superblocks.
  Suggested by Yann Dirson.

24 years agoChangeLog, expect.1, expect.2, image.gz, name:
Theodore Ts'o [Thu, 16 Sep 1999 14:20:07 +0000 (14:20 +0000)] 
ChangeLog, expect.1, expect.2, image.gz, name:
  New test case which tests duplicate '.' and '..' entries.

24 years agoChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c:
Theodore Ts'o [Tue, 14 Sep 1999 20:55:37 +0000 (20:55 +0000)] 
ChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c:
  debugfs.c, debug_cmds.ct: Add new debugfs command "feature" which
   allows the user to set or clear filesystme features.  Add the -f
   (force) option to the open command.  Add the -h (superblock header
   only) option to the stats command.

24 years agoChangeLog, expanddir.c, ext2fs.h:
Theodore Ts'o [Tue, 14 Sep 1999 20:21:26 +0000 (20:21 +0000)] 
ChangeLog, expanddir.c, ext2fs.h:
  ext2fs.h: Add new fields for journalling and define new feature bits
   used by newer filesystems: IMAGIC_INODES, HAS_JOURNAL, RECOVER.
  expanddir.c (ext2fs_expand_dir, expand_dir_proc): Change where we
   update the inode block count and size files so that the block count
   field is updated correctly when we create an indirect block.

24 years agoChangeLog, Makefile.in, e2p.h, feature.c, ls.c:
Theodore Ts'o [Tue, 14 Sep 1999 20:17:38 +0000 (20:17 +0000)] 
ChangeLog, Makefile.in, e2p.h, feature.c, ls.c:
  Makefile.in, feature.c, e2p.h: New file which is used for displaying
   and editing superblock feature sets.
  ls.c (print_features, list_super): Add new function print_features
   which is used to display the feature bits in the superblock.

24 years agoChangeLog, dumpe2fs.8.in, dumpe2fs.c, mke2fs.8.in, mke2fs.c, partinfo.c:
Theodore Ts'o [Tue, 14 Sep 1999 20:11:19 +0000 (20:11 +0000)] 
ChangeLog, dumpe2fs.8.in, dumpe2fs.c, mke2fs.8.in, mke2fs.c, partinfo.c:
  partinfo.c: Fix minor compilation bugs pointed out by Yann Dirson.
  mke2fs.c: Don't turn on sparse superblocks by default on pre-2.2 kernels.
  mke2fs.8.in: Add the possible valid block sizes for mke2fs.  Document
   the -n flag, and the new defaults for the -s flag.
  dumpe2fs.c, dumpe2fs.8.in: Add new options -f (force) and -h (header-only).
  mke2fs.c (PRS): Fix logic for turning on/off the sparse superblock option.
Many files:
  Updated copyright statements to reflect the GPL with permission of the
  original authors.

24 years agoChangeLog, pass1b.c:
Theodore Ts'o [Tue, 14 Sep 1999 20:00:54 +0000 (20:00 +0000)] 
ChangeLog, pass1b.c:
  pass1b.c (clone_file_block): Don't clear the dup_map flag if the block
   also shares data with the fs metadata when the count drops to 1, since
   the block should still be cloned, as fs metadata isn't included in the
   count.
ChangeLog, pass3.c:
  pass3.c (adjust_inode_count): Fix bug where we didn't keep the
   internal and external inode counts in sync when we decremented an
   inode whose link count was already zero.  Now we skip incrementing or
   decrementing both link counts if we would cause an overflow condition.
   (expand_dir, expand_dir_proc): Change where we update the inode block
   count and size files so that the block count field is updated
   correctly when we create an indirect block.

24 years agoChangeLog, expect.1, expect.2, image.gz:
Theodore Ts'o [Tue, 14 Sep 1999 19:54:39 +0000 (19:54 +0000)] 
ChangeLog, expect.1, expect.2, image.gz:
  f_expand: Make test case better by testing increasing the size of
   lost+found where an indirect block must be created.  Also add checks
   to see what happens when directories are disconnected because their
   containing directory is destroyed (turned into a socket :-)
  f_dupfsblks: Add additional test cases where files share duplicate
   blocks with both other files and filesystem metadata.

24 years agoChangeLog, expect:
Theodore Ts'o [Sat, 31 Jul 1999 00:35:04 +0000 (00:35 +0000)] 
ChangeLog, expect:
  f_swapfs: Change to deal with new dump_inode command.

24 years agoChangeLog, debugfs.c:
Theodore Ts'o [Sat, 31 Jul 1999 00:32:57 +0000 (00:32 +0000)] 
ChangeLog, debugfs.c:
  debugfs.c (dump_inode): Fix debugfs message so it is the same for when
   compiled under either Linux 2.2 or 2.3.  This allows for the f_swapfs
   regression test suite to work regardless of which OS e2fsprogs was
   compiled on.

24 years agoChangeLog:
Theodore Ts'o [Fri, 30 Jul 1999 23:19:10 +0000 (23:19 +0000)] 
ChangeLog:
  Add 1.15 release note to the Changelogs.

24 years agoADD TAG: E2FSPROGS-1_15 E2FSPROGS-1_15
Theodore Ts'o [Tue, 20 Jul 1999 02:02:40 +0000 (02:02 +0000)] 
ADD TAG: E2FSPROGS-1_15

24 years agoRELEASE-NOTES, e2fsprogs.lsm, e2fsprogs.spec, version.h:
Theodore Ts'o [Tue, 20 Jul 1999 02:02:40 +0000 (02:02 +0000)] 
RELEASE-NOTES, e2fsprogs.lsm, e2fsprogs.spec, version.h:
  Checkin for 1.15 release.

24 years agoMakefile.in:
Theodore Ts'o [Mon, 19 Jul 1999 21:02:11 +0000 (21:02 +0000)] 
Makefile.in:
  Add flushb to list of files which are removed when doing a make clean.
  Add a distclean production which removes Makefile
  Add the doc substree to the clean and distclean rules.

24 years agoMakefile.in:
Theodore Ts'o [Mon, 19 Jul 1999 16:18:52 +0000 (16:18 +0000)] 
Makefile.in:
  Fix cleanup procedure to delete subst.conf properly.

24 years agoMakefile.in:
Theodore Ts'o [Mon, 19 Jul 1999 16:16:12 +0000 (16:16 +0000)] 
Makefile.in:
  Add resize2fs.clean to the clean list.

24 years agoMakefile.in:
Theodore Ts'o [Mon, 19 Jul 1999 15:52:58 +0000 (15:52 +0000)] 
Makefile.in:
  Add the -f option to rm when making the distribution_tar_file.

24 years agoChangeLog, depfix.sed:
Theodore Ts'o [Mon, 19 Jul 1999 15:48:08 +0000 (15:48 +0000)] 
ChangeLog, depfix.sed:
  depfix.sed: Remove all line continuations from the dependencies; the
   word wrapping is now done by wordwrap.pl.
README, RELEASE-NOTES, TODO, e2fsprogs.spec:
  Update for 1.15 release.

24 years agolibext2fs.texinfo:
Theodore Ts'o [Mon, 19 Jul 1999 15:43:58 +0000 (15:43 +0000)] 
libext2fs.texinfo:
  Update for the 1.15 release.

24 years agofsck.8.in:
Theodore Ts'o [Mon, 19 Jul 1999 15:40:49 +0000 (15:40 +0000)] 
fsck.8.in:
  Make clear the -- is optional.
Makefile.in:
  Add makefile production for the findsuper program.  We do not build
  it by default, however.

24 years agoChangeLog, unix.c:
Theodore Ts'o [Mon, 19 Jul 1999 15:37:46 +0000 (15:37 +0000)] 
ChangeLog, unix.c:
  unix.c (usage): Add minimalist emergency help to the usage message.

24 years agoChangeLog, fsck.8.in, fsck.c, fsck.h, mke2fs.8.in, mke2fs.c:
Theodore Ts'o [Mon, 19 Jul 1999 15:30:21 +0000 (15:30 +0000)] 
ChangeLog, fsck.8.in, fsck.c, fsck.h, mke2fs.8.in, mke2fs.c:
  * mke2fs.c (PRS, set_fs_defaults): Add new option -T which allows the
   user to specify the how the filesystem is to be used.  Mke2fs now
   chooses the filesystem parameters automatically based on the size of
   the filesystem and the intended use of the filesystem.  Add new option
   -n which simply goes through the calculations to determine the
   parameters of the filesystem the system would make.
  * fsck.c, fsck.h: Add support for new option -C.  This option will
   automatically manage e2fsck processes so that they will print
   completion/progress bars.  If multiple filesystems are being checked,
   arrange to make sure that only one e2fsck process is displaying a
   progress bar at a time.

24 years agoMany files:
Theodore Ts'o [Mon, 19 Jul 1999 15:27:37 +0000 (15:27 +0000)] 
Many files:
  unix.c: Add support for calculating a progress bar if the -C0 option
   is given.  The function e2fsck_clear_progbar() clears the progress bar
   and must be called before any message is issued.  SIGUSR1 will enable
   the progress bar, and SIGUSR2 will disable the progress bar.  This is
   used by fsck to handle parallel filesystem checks.  Also, set the
   device_name from the filesystem label if it is available.
  e2fsck.h: Add new flags E2F_FLAG_PROG_BAR and E2F_FLAG_PROG_SUPRESS.
   Add new field in the e2fsck structure which contains the last tenth of
   a percent printed for the user.
  message.c (print_e2fsck_message): Add call to e2fsck_clear_progbar().
  pass1.c (e2fsck_pass1):
  pass2.c (e2fsck_pass2):
  pass3.c (e2fsck_pass3):
  pass4.c (e2fsck_pass4):
  pass5.c (e2fsck_pass5): Add call to e2fsck_clear_progbar when printing
   the resource tracking information.
  pass5.c (check_block_bitmaps, check_inode_bitmaps): If there is an
   error in the bitmaps, suppress printing the progress bar using the
   suppression flag for the remainder of the check, in order to clean up
   the display.

24 years agoChangeLog, badblocks.c:
Theodore Ts'o [Fri, 16 Jul 1999 10:41:36 +0000 (10:41 +0000)] 
ChangeLog, badblocks.c:
  badblocks.c (do_test): Don't complain if the write error occurs on a
   non-block boundary.  This is perfectly common when using blocksizes
   larger than 1k.

24 years agoRELEASE-NOTES:
Theodore Ts'o [Sat, 3 Jul 1999 20:52:21 +0000 (20:52 +0000)] 
RELEASE-NOTES:
  Interim checkin of the release notes for 1.15

24 years agoMakefile.in:
Theodore Ts'o [Sat, 3 Jul 1999 20:45:28 +0000 (20:45 +0000)] 
Makefile.in:
  Update dependencies.
ChangeLog:
  Update ChangeLog to reflect full set of changes to configure.in

24 years agoChangeLog, MCONFIG.in, configure.in, configure:
Theodore Ts'o [Sat, 3 Jul 1999 20:37:03 +0000 (20:37 +0000)] 
ChangeLog, MCONFIG.in, configure.in, configure:
  MCONFIG.in (BUILD_CC):
  configure.in (BUILD_CC): If cross compiling, find the native C
   compiler and set it to BUILD_CC so that we can successfully build
   util/subst.
ChangeLog, Makefile.in:
  Makefile.in (subst): Build subst using $(BUILD_CC), since it's a
   helper program which must be built using the native C compiler during
   a cross-compilation.
Makefile.in:
  Update dependencies.

24 years agoChangeLog, Makefile.in, configure.in, MCONFIG.in, configure, wordwrap.pl:
Theodore Ts'o [Sat, 3 Jul 1999 20:25:58 +0000 (20:25 +0000)] 
ChangeLog, Makefile.in, configure.in, MCONFIG.in, configure, wordwrap.pl:
  Makefile.in (depend): Make "make depend" at the top-level
   automatically recurse through all subdirectories.
  configure.in: Test for perl since it's needed by wordwrap.pl
  MCONFIG.in (depend): Fix make-depend so that it the dependencies are
   automatically word-wrapped.  Added the makefile macro $(PERL).
  wordwrap.pl: New file which does the word wrapping.

24 years agoChangeLog, pass3.c:
Theodore Ts'o [Sat, 3 Jul 1999 07:20:06 +0000 (07:20 +0000)] 
ChangeLog, pass3.c:
  Fix some stupid spelling typo's.
ChangeLog:
  Fix e-mail address.

24 years agoChangeLog, uuidgen.1.in, uuidgen.c:
Theodore Ts'o [Sat, 3 Jul 1999 06:16:06 +0000 (06:16 +0000)] 
ChangeLog, uuidgen.1.in, uuidgen.c:
  uuidgen.c: Add option parsing so that user can ask for either a
   time-based UUID or a random-based UUID.

24 years agoMakefile.in:
Theodore Ts'o [Sat, 3 Jul 1999 05:08:56 +0000 (05:08 +0000)] 
Makefile.in:
  Update dependency information for Makefile.

24 years agoChangeLog, MCONFIG.in:
Theodore Ts'o [Sat, 3 Jul 1999 04:55:36 +0000 (04:55 +0000)] 
ChangeLog, MCONFIG.in:
  MCONFIG.in (subst): Add rule to build the util/subst program if
   necessary (by cd'ing to $(top_builddir)/util and making it.)

24 years agoChangeLog, Makefile.in, fsck.c, get_device_by_label.c, get_device_by_label.h:
Theodore Ts'o [Sat, 3 Jul 1999 01:59:42 +0000 (01:59 +0000)] 
ChangeLog, Makefile.in, fsck.c, get_device_by_label.c, get_device_by_label.h:
  fsck.c: Added support for LABEL= and UUID= specifications for the
   filesystem's device, to match what recent mount programs can support.
   Also, close stdin when doing fsck -A or when checking more than one
   filesystem at a time, so that e2fsck doesn't try to ask interactive
   questions if the filesystem appears to be mounted.
  get_device_by_label.c: New file added to support LABEL=foo and
   UUID=bar type specifications.

24 years agoChangeLog, badblocks.c:
Theodore Ts'o [Sat, 3 Jul 1999 00:45:58 +0000 (00:45 +0000)] 
ChangeLog, badblocks.c:
  badblocks.c: Make the "done" string include enough spaces to clear out
   a large block number.

24 years agoChangeLog, unix.c:
Theodore Ts'o [Thu, 1 Jul 1999 03:00:47 +0000 (03:00 +0000)] 
ChangeLog, unix.c:
  unix.c (check_mount): Clean up the abort message displayed when the
   filesystem is mounted and either stdout or stdin isn't a tty.

24 years agomke2fs.c, ChangeLog, mke2fs.8.in:
Theodore Ts'o [Tue, 29 Jun 1999 14:37:35 +0000 (14:37 +0000)] 
mke2fs.c, ChangeLog, mke2fs.8.in:
  mke2fs.c (check_mount): Allow a filesystem to be made even if it
   appears mounted if the force option is given.

24 years agoChangeLog, e2fsck.h, pass1.c, pass2.c, pass4.c, swapfs.c:
Theodore Ts'o [Fri, 25 Jun 1999 15:40:18 +0000 (15:40 +0000)] 
ChangeLog, e2fsck.h, pass1.c, pass2.c, pass4.c, swapfs.c:
  e2fsck.h:
  pass1.c (pass1_get_blocks, pass1_read_inode, pass1_write_inode,
   pass1_check_directory, e2fsck_use_inode_shortcuts): Make pass1_* be
   private static functions, and create new function
   e2fsck_use_inode_shortcuts which sets and clears the inode shortcut
   functions in the fs structure.
  e2fsck.h:
  pass2.c (e2fsck_process_bad_inode): Make process_bad_inode() an
   exported function.
  pass4.c (e2fsck_pass4): Call e2fsck_process_bad_inode to check if a
   disconnected inode has any problems before connecting it to
   /lost+found.  Bug and suggested fix by Pavel Machek <pavel@bug.ucw.cz>
ChangeLog, swapfs.c:
  swapfs.c (ext2fs_swap_inode): Add compatibility for Linux 2.3 kernels
   that use i_generation instead of i_version.  Patch supplied by Jon
   Bright <sircus@sircus.demon.co.uk>.
ChangeLog, mke2fs.8.in:
  mke2fs.8.in: Fix typo in man page which caused the badblocks command
   to not show up in the "SEE ALSO" section.
ChangeLog, expect.1, expect.2, image.gz, name:
  f_recnect_bad: New test which checks the case where a disconnect inode
   also bad inode fields; we need to make sure e2fsck offers to fix the
   inode (or clear the inode, as necessary).

24 years agoChangeLog, debugfs.c:
Theodore Ts'o [Fri, 25 Jun 1999 15:32:37 +0000 (15:32 +0000)] 
ChangeLog, debugfs.c:
  debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels that
   use i_generation instead of i_version.  Patch supplied by Jon Bright
   <sircus@sircus.demon.co.uk>.

24 years agoChangeLog, configure.in, configure:
Theodore Ts'o [Fri, 25 Jun 1999 15:30:33 +0000 (15:30 +0000)] 
ChangeLog, configure.in, configure:
  configure.in: Check for the presence of i_generation field versus
   i_version in the ext2_inode to support compiling e2fsprogs in Linux
   2.3.

24 years agoChangeLog, dir_iterate.c:
Theodore Ts'o [Tue, 22 Jun 1999 03:17:45 +0000 (03:17 +0000)] 
ChangeLog, dir_iterate.c:
  dir_iterate.c (ext2fs_process_dir_block): Check for corrupted
   directory entry before calling the callback function.  This should
   prevent some core dumps of insufficiently paranoid callback functions.
ChangeLog, unix.c:
  unix.c (main): Add missing space in the disk write-protected message.

24 years agoversion.h:
Theodore Ts'o [Fri, 18 Jun 1999 01:18:11 +0000 (01:18 +0000)] 
version.h:
  Update version number for snapshot release.

24 years agofpopen.c:
Theodore Ts'o [Fri, 18 Jun 1999 01:13:31 +0000 (01:13 +0000)] 
fpopen.c:
  Add support for the '&' flag, which redirects stderr to the FILE *.
TODO:
  New set of TODO items....

24 years agoChangeLog, problem.c, problem.h, super.c:
Theodore Ts'o [Fri, 18 Jun 1999 01:09:29 +0000 (01:09 +0000)] 
ChangeLog, problem.c, problem.h, super.c:
  problem.c, problem.h (PR_0_INODE_COUNT_WRONG): Add new problem code.
  super.c (check_super_block): Add check to make sure the total number
   of inodes is sane, since this can be calculated from the number of
   groups times the number of inodes per group.  Offer to correct it if
   it is incorrect.

24 years agoChangeLog, pass5.c:
Theodore Ts'o [Fri, 18 Jun 1999 01:06:59 +0000 (01:06 +0000)] 
ChangeLog, pass5.c:
  pass5.c (check_block_end): Fix fencepost condition where when clearing
   the block padding we were missing the last position in the bitmap.

24 years agofindsuper.c, ChangeLog:
Theodore Ts'o [Fri, 18 Jun 1999 00:51:31 +0000 (00:51 +0000)] 
findsuper.c, ChangeLog:
  findsuper.c: Added documentation from aeb@cwi.nl; some minor code
   cleanups.

24 years agoChangeLog, dumpe2fs.c, dumpe2fs.8.in:
Theodore Ts'o [Fri, 18 Jun 1999 00:48:41 +0000 (00:48 +0000)] 
ChangeLog, dumpe2fs.c, dumpe2fs.8.in:
  dumpe2fs.c, dumpe2fs.8.in: Added new command-line options which allow
   a filesystem expert to specify the superblock and blocksize when
   opening a filesystem.  This is mainly useful when examining the
   remains of a toasted filesystem.

24 years agoMany files:
Theodore Ts'o [Fri, 18 Jun 1999 00:32:03 +0000 (00:32 +0000)] 
Many files:
  * gen_uuid.c (get_random_bytes): Use a while loop when reading from
   /dev/urandom so that if we get interrupted while reading the right
   thing happens.
   (uuid_generate_random): Add new function which uses the new UUID
   format which uses 122 random bits to form the 128-bit UUID.
   (uuid_generate): Rename the old uuid_generate to be
   uuid_generate_time, and create a new uuid_generate function which
   calls either uuid_generate_random or uuid_genereate_time depending on
   whether /dev/urandom is present.
  uuid_generate.3.in: Update to reflect changesin uuid_generate and its
   two new variants.
  tst_uuid.c: Updated to test new uuid_generate functions, and to
   reflect new semantics of uuid_compare.  Added tests to make sure the
   UUID type and variant created by UUID generate is correct.
  uuid_time.c (uuid_variant, uuid_type): Added new functions to return
   the UUID variant and type information.  The debugging program now
   prints the UUID variant and type, and warns if the unparsed time
   information is likely to be incorrect.
  uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups.
uuidgen.1.in:
  Miscellaneous text cleanups.

24 years agoChangeLog, uuid_compare.3.in, compare.c:
Theodore Ts'o [Thu, 17 Jun 1999 22:49:23 +0000 (22:49 +0000)] 
ChangeLog, uuid_compare.3.in, compare.c:
  compare.c (uuid_compare): Change sense of uuid_compare so that its
   return values match that of memcpy and the uuid_compare() found in
   Paul Leach's internet-draft.

24 years agoChangeLog, fileio.c:
Theodore Ts'o [Sat, 29 May 1999 21:53:30 +0000 (21:53 +0000)] 
ChangeLog, fileio.c:
  fileio.c (ext2fs_file_open): Remove obsolete comment stating that we
   don't handle writing yet (we do).  Fixed bug where we weren't
   allocating a big enough buffer for ext2_bmap.
ChangeLog, ext2fs.h:
  ext2fs.h: Add feature definition for AFS IMAGIC inodes.
ChangeLog, MCONFIG.in, config.sub:
  MCONFIG.in: Define man1dir, man3dir, and man8dir in terms of mandir.
  config.sub: Update config.sub from autoconf 2.13 so that it will
   recognize new machine types from the Alpha.
configure:
  Update to match latest changes to configure.in

24 years agoChangeLog, openfs.c:
Theodore Ts'o [Sat, 29 May 1999 21:48:03 +0000 (21:48 +0000)] 
ChangeLog, openfs.c:
  openfs.c (ext2fs_open): Check to make sure that the number of blocks
   per group is not zero --- if so, it must be a bad superblock!

24 years agounix.c, ChangeLog:
Theodore Ts'o [Tue, 18 May 1999 03:16:36 +0000 (03:16 +0000)] 
unix.c, ChangeLog:
  unix.c (reserve_stdio_fds): Add safety check in case reserve_stdio_fds
   couldn't open /dev/null.

25 years agoMany files:
Theodore Ts'o [Tue, 16 Mar 1999 20:31:56 +0000 (20:31 +0000)] 
Many files:
  Created man pages for libuuid functions.

25 years agoChangeLog, Makefile.in, fsck.c, mke2fs.c, uuidgen.1.in, uuidgen.c:
Theodore Ts'o [Tue, 16 Mar 1999 19:35:19 +0000 (19:35 +0000)] 
ChangeLog, Makefile.in, fsck.c, mke2fs.c, uuidgen.1.in, uuidgen.c:
  uuidgen.c, uuidgen.1.in: Created command-line utility to generate
   UUIDs.
  fsck.c (fsck_device, execute): Don't dereference a null pointer when
   checking a filesystem not in /etc/fstab.

25 years agoChangeLog, pass3.c, problem.c, problem.h, util.c:
Theodore Ts'o [Tue, 16 Mar 1999 19:32:52 +0000 (19:32 +0000)] 
ChangeLog, pass3.c, problem.c, problem.h, util.c:
  util.c (print_resource_track): Use mallinfo if present to get more
   accurate malloc statistics.
  pass3.c (get_lost_and_found): Check to see if lost+found is a plain
   fail; if so, offer to unlink it.
  problem.c, problem.h (PR_3_LPF_NOTDIR): Add new problem code.
  problem.c: Fix problem message for PR_1_BAD_GROUP_DESCRIPTORS so that
   the block group number is printed.  Add new prompt, PROMPT_UNLINK.

25 years agoChangeLog, configure.in:
Theodore Ts'o [Tue, 16 Mar 1999 19:24:34 +0000 (19:24 +0000)] 
ChangeLog, configure.in:
  Add check for malloc.h and mallinfo().

25 years agoChangeLog, expect.1, expect.2, image.gz, name:
Theodore Ts'o [Mon, 15 Mar 1999 17:00:48 +0000 (17:00 +0000)] 
ChangeLog, expect.1, expect.2, image.gz, name:
  f_lpffile: New test which checks how e2fsck handles a the case where
   lost+found exists, but it's not a directory.

25 years agoChangeLog, icheck.c:
Theodore Ts'o [Fri, 19 Feb 1999 18:56:43 +0000 (18:56 +0000)] 
ChangeLog, icheck.c:
  icheck.c (do_icheck): Check to make sure the inode has valid blocks
   before iterating over that inode's blocks.

25 years agoChangeLog, fsck.c, mke2fs.c:
Theodore Ts'o [Tue, 9 Feb 1999 08:14:28 +0000 (08:14 +0000)] 
ChangeLog, fsck.c, mke2fs.c:
  fsck.c (fsck_device): Print an error message if the user passes in a
   device or directory name which isn't found in /etc/fstab.  Allow the
   location of /etc/fstab to be overridden by the FSTAB_FILE environment
   variable.
  mke2fs.c (write_inode_tables): Add kludge code so that when the
   MKE2FS_SYNC environment variable is set, mke2fs will sync every
   MKE2FS_SYNC block groups, while it is writing out the inode tables.
   This is to work around a VM bug in the 2.0 kernel.  I've heard a
   report that a RAID user was able to trigger it even using a 2.2
   kernel.

25 years agoChangeLog, fsck.c:
Theodore Ts'o [Sat, 16 Jan 1999 05:39:12 +0000 (05:39 +0000)] 
ChangeLog, fsck.c:
  fsck.c (execute, wait_one): Modified routines so that they accurately
  create an fsck_instance even when the noexecute flag is set.  This
  allows for accurate debugging of the fsck pass structure.
  (check_all): When the verbose flag is given twice, print debugging
  information about when fsck is waiting for jobs to finish.

25 years agoTODO:
Theodore Ts'o [Tue, 12 Jan 1999 23:40:01 +0000 (23:40 +0000)] 
TODO:
  Added todo file for private use.

25 years agoMakefile.in:
Theodore Ts'o [Tue, 12 Jan 1999 23:32:52 +0000 (23:32 +0000)] 
Makefile.in:
  Add some files to the list of files to be excluded when building a
  source distribution file.
configure:
  Update to match last configure.in changes.
RELEASE-NOTES, e2fsprogs.lsm, e2fsprogs.spec, version.h:
  Update for e2fsprogs 1.14 release.

25 years agoChangeLog, message.c:
Theodore Ts'o [Sat, 9 Jan 1999 16:32:31 +0000 (16:32 +0000)] 
ChangeLog, message.c:
  message.c (safe_print): New function which prints strings, converting
   non-printable characters using the '^' and M-notation.  This function
   is now used to print directory name entries and pathnames.
ChangeLog:
  Update for release of E2fsprogs 1.14.

25 years agoChangeLog, configure.in:
Theodore Ts'o [Sat, 9 Jan 1999 05:06:02 +0000 (05:06 +0000)] 
ChangeLog, configure.in:
  configure.in (YEAR): Allow a 4-digit year for the version date, so we
   can be Y2K politically correct.  (The date isn't used for anything
   except display purposes, but it should make people more comfortable to
   not use a 2-digit date, even though it doesn't matter.)

25 years agoChangeLog, fsck.8.in:
Theodore Ts'o [Sat, 9 Jan 1999 05:03:52 +0000 (05:03 +0000)] 
ChangeLog, fsck.8.in:
  fsck.8.in: Clarified and expanded the documentation for the -A switch.

25 years agoChangeLog, inode.c:
Theodore Ts'o [Fri, 8 Jan 1999 13:33:39 +0000 (13:33 +0000)] 
ChangeLog, inode.c:
  inode.c (ext2fs_read_inode, ext2fs_write_inode): Check to see if the
  inode number is zero; if it's zero, return EXT2_ET_BAD_INODE_NUM.
ChangeLog, fsck.c:
  fsck.c (load_fs_info): If the pass number field is missing, it needs
   to be treated as zero.
libext2fs.texinfo, README:
  Update for 1.14 release.

25 years agoChangeLog, mke2fs.8.in, mke2fs.c:
Theodore Ts'o [Tue, 5 Jan 1999 07:25:06 +0000 (07:25 +0000)] 
ChangeLog, mke2fs.8.in, mke2fs.c:
  mke2fs.c (PRS): Allow the user to specify exactly how many inodes
   he/she wishes.

25 years agoChangeLog, chattr.1.in, chattr.c, lsattr.1.in, lsattr.c:
Theodore Ts'o [Tue, 5 Jan 1999 07:02:39 +0000 (07:02 +0000)] 
ChangeLog, chattr.1.in, chattr.c, lsattr.1.in, lsattr.c:
  chattr.c, lsattr.c: Only print the version information for the program
   if the -V option is given.
  chattr.c: Ignore symbolic links when doing a recursive descent through
   a directory.

25 years agoChangeLog, initialize.c:
Theodore Ts'o [Mon, 4 Jan 1999 08:50:59 +0000 (08:50 +0000)] 
ChangeLog, initialize.c:
  initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead of
   EXT2_FIRST_INO to ensure compatibility with Linux 1.2 header files.

25 years agoMakefile.in, configure.in, ChangeLog, configure:
Theodore Ts'o [Mon, 4 Jan 1999 07:39:19 +0000 (07:39 +0000)] 
Makefile.in, configure.in, ChangeLog, configure:
  Makefile.in: Move the generated types.h file from the linux/ directory
   to the asm/ directory.
  configure.in: Force Solaris to never use -static, due to its dynamic
   loader not being available to statically linked programs.  Create the
   asm/ directory if needed.
.del-types.h.in~ca55114a, .del-ext2_fs.h~7a460879, .del-types.h.in~7a460879:
  Move the types.h header file from linux/ to asm/.

25 years agoChangeLog, unix.c:
Theodore Ts'o [Mon, 4 Jan 1999 07:35:45 +0000 (07:35 +0000)] 
ChangeLog, unix.c:
  unix.c (main): Reset the context before calling ext2fs_close(), to
  avoid referencing already freed memory.
ChangeLog, llseek.c:
  llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the non-Linux case
   to use EINVAL by default, unless it isn't defined, in which case we
   use EXT2_ET_INVALID_ARGUMENT instead.
ChangeLog, mk_cmds.sh.in:
  mk_cmds.sh.in: Fixed portability bug in shell script; we were
   depending on a bash'ism.
ChangeLog, uuid.c:
  uuid.c: Use asm/types.h instead of linux/types.h, to be consistent
   with other locations where we've had to do this to work around glibc.

25 years agoChangeLog, INSTALL.elfbin:
Theodore Ts'o [Sat, 2 Jan 1999 04:15:29 +0000 (04:15 +0000)] 
ChangeLog, INSTALL.elfbin:
  INSTALL.elfbin (NOTE): Add a warning that the ELF binaries assume glibc.

25 years agoChangeLog, config.guess:
Theodore Ts'o [Sat, 2 Jan 1999 04:10:33 +0000 (04:10 +0000)] 
ChangeLog, config.guess:
  config.guess: Update with a newer version from the FSF (although I've
   removed rms's pathetic LINUX/GNU name kludgery)

25 years agoChangeLog, mke2fs.c:
Theodore Ts'o [Sat, 2 Jan 1999 04:04:42 +0000 (04:04 +0000)] 
ChangeLog, mke2fs.c:
  mke2fs.c: Add definition of SCSI_BLK_MAJOR if not defined, for
   compatibility with Linux 1.2.13 header files.
ChangeLog, fsck.c:
  fsck.c (load_fs_info, parse_fstab_line): Ignore fstab lines are
   commented out.  Also allow blank lines in the /etc/fstab file.
   (execute): In verbose mode, print the mountpount of the filesystem
   which we are checking (user request).

25 years agoADD TAG: E2FSPROGS-1_13 E2FSPROGS-1_13
Theodore Ts'o [Sat, 19 Dec 1998 08:10:58 +0000 (08:10 +0000)] 
ADD TAG: E2FSPROGS-1_13

25 years agoMany files:
Theodore Ts'o [Sat, 19 Dec 1998 08:10:58 +0000 (08:10 +0000)] 
Many files:
  Update version information in ChangeLogs, release notes,
  documentation, etc.  for release of version 1.13.

25 years agoChangeLog, subst.c:
Theodore Ts'o [Sat, 19 Dec 1998 08:08:43 +0000 (08:08 +0000)] 
ChangeLog, subst.c:
  subst.c (get_subst_symbol): Add [0-9] to the list of valid characters
   for a substitution symbol.

25 years agoChangeLog, mke2fs.8.in:
Theodore Ts'o [Tue, 8 Dec 1998 02:21:29 +0000 (02:21 +0000)] 
ChangeLog, mke2fs.8.in:
  Fixed stupid typo ("Raid options are _comma_ separated", instead of
  common seperated)

25 years agoChangeLog, Makefile.in, tst_uuid.c, uuid.h, uuid_time.c:
Theodore Ts'o [Fri, 4 Dec 1998 08:13:52 +0000 (08:13 +0000)] 
ChangeLog, Makefile.in, tst_uuid.c, uuid.h, uuid_time.c:
  Makefile.in: Update version numbers of the UUID shared library, since
   we've added a new function (uuid_time()).
  uuid_time.c: New file which returns the time field of a UUID.  (Good
   for debugging purposes)
libext2fs.texinfo:
  Update version number for 1.13 release.

25 years agoChangeLog, expect.1, expect.2:
Theodore Ts'o [Fri, 4 Dec 1998 06:18:58 +0000 (06:18 +0000)] 
ChangeLog, expect.1, expect.2:
  f_badtable, f_illitable, f_lpf: Update to deal with the fact that
   e2fsck will now create a lost+found directory at the end of
   pass 3 if one isn't present.
ChangeLog:
  Oops; premature checkin of ChangeLog.

25 years agoChangeLog, Makefile.in:
Theodore Ts'o [Fri, 4 Dec 1998 06:15:12 +0000 (06:15 +0000)] 
ChangeLog, Makefile.in:
  Makefile.in: Updated dependencies.

25 years agoChangeLog, pass3.c, problem.c:
Theodore Ts'o [Thu, 3 Dec 1998 16:40:38 +0000 (16:40 +0000)] 
ChangeLog, pass3.c, problem.c:
  pass3.c (get_lost_and_found): If the filesystem is not opened
   read-only, then force /lost+found to be created if it is not present.
  problem.c: Allow PR_3_NO_LF_DIR to be handled during a preen operation.
ChangeLog, Makefile.in:
  Makefile.in: Updated dependencies.
ChangeLog, fsck.c:
  fsck.c (load_fs_info): Parse /etc/fstab ourselves, instead of relying
   on getmntent().  This has the advantage of allowing us to properly
   handle missing pass numbers correctly.
ChangeLog, configure.in:
  configure.in: Add paths.h to header files for which we search.