1. 26 Oct, 1999 2 commits
    • Theodore Ts'o's avatar
      .del-ext2_fs.h~7a460879, ChangeLog: · 601002bd
      Theodore Ts'o authored
        ext2_fs.h (i_reserved2): Use __GNU__ instead of __hurd__ to detect the
        	Hurd OS.  To protect against future irrationality on the part of the
        	FSF concerning whether Linux is GNU or not, on a system which defines
        	both __linux__ and __GNU___, __linux__ takes precedence.
      ChangeLog, initialize.c:
        initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to detect
        	the Hurd OS.
      ChangeLog, debugfs.c:
        debugfs.c (do_dirty_filesys): Make the "dirty" command clear the valid
        	bit on the superblock.  (And with a -clean option to set the valid
        	bit.)  Originally it was used just to set the "needs to be written"
        	bit in the in-core version of the fs structure.
      601002bd
    • Theodore Ts'o's avatar
      ChangeLog, fsck.c: · ad6783df
      Theodore Ts'o authored
        fsck.c (execute): Fix really stupid bug in the linked list management
        	which caused fsck in parallel mode to go into an infinite loop.
      ChangeLog, mke2fs.c:
        mke2fs.c (show_stats): Capitalized Hurd to make the GNU types happy.
      ChangeLog, configure.in:
        configure.in: Capitalized Hurd to make the GNU folks happy.
      ad6783df
  2. 25 Oct, 1999 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, pass2.c, problem.c, problem.h: · c40db6d5
      Theodore Ts'o authored
        problem.c, problem.h (PR_2_NULL_NAME): Add new problem code.
        pass2.c (check_dir_block): Require that the length of the directory
        	entry be at least 12 bytes.  Check to see if the filename is
        	zero-length, and flag that as an error.
      c40db6d5
  3. 23 Oct, 1999 11 commits
    • Theodore Ts'o's avatar
      ADD TAG: E2FSPROGS-1_16 · bac43be9
      Theodore Ts'o authored
      bac43be9
    • Theodore Ts'o's avatar
      README, RELEASE-NOTES, TODO, e2fsprogs.lsm, e2fsprogs.spec, version.h: · 8a31ffef
      Theodore Ts'o authored
        Update for 1.16 release.
      8a31ffef
    • Theodore Ts'o's avatar
      Makefile.in: · 0859c04f
      Theodore Ts'o authored
        Update makefile dependencies for 1.16 release.
      0859c04f
    • Theodore Ts'o's avatar
      ChangeLog: · 614fdfd5
      Theodore Ts'o authored
        Update for 1.16 release.
      libext2fs.texinfo:
        Update version number for 1.16 release.
      614fdfd5
    • Theodore Ts'o's avatar
      debugfs.c: · 06968e7e
      Theodore Ts'o authored
        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.
      06968e7e
    • Theodore Ts'o's avatar
      ChangeLog, com_err.3: · 1d0fc069
      Theodore Ts'o authored
        com_err.3: Fix to have correct #include path for com_err.h
      1d0fc069
    • Theodore Ts'o's avatar
      mke2fs.c, tune2fs.c: · 18160d26
      Theodore Ts'o authored
        Fixed usage messages.
      18160d26
    • Theodore Ts'o's avatar
      Many files: · 06cefee5
      Theodore Ts'o authored
        Update copyright statements.
      06cefee5
    • Theodore Ts'o's avatar
      ChangeLog, Makefile.in, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c: · 896938d5
      Theodore Ts'o authored
        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.
      896938d5
    • Theodore Ts'o's avatar
      ChangeLog, e2p.h, feature.c: · 944ab713
      Theodore Ts'o authored
        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.
      944ab713
    • Theodore Ts'o's avatar
      ChangeLog, link.c, mkdir.c, newdir.c: · e6198e5a
      Theodore Ts'o authored
        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.
      e6198e5a
  4. 22 Oct, 1999 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, pass2.c, problem.c, problem.h: · 7847c1d4
      Theodore Ts'o authored
        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).
      7847c1d4
  5. 21 Oct, 1999 2 commits
    • Theodore Ts'o's avatar
      Many files: · caf8ce4c
      Theodore Ts'o authored
        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)
      caf8ce4c
    • Theodore Ts'o's avatar
      Many files: · aa4115a4
      Theodore Ts'o authored
        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
      aa4115a4
  6. 20 Oct, 1999 6 commits
    • Theodore Ts'o's avatar
      ChangeLog, super.c: · 78cf0547
      Theodore Ts'o authored
        super.c (check_super_block): Check to see whether the inodes_per_group
        	value in the superblock is insanely too high.
      78cf0547
    • Theodore Ts'o's avatar
      ChangeLog, unix.c, util.c: · 9ecd8bec
      Theodore Ts'o authored
        unix.c (PRS), util.c (ask_yn): Add #ifdef's to make e2fsprogs easier
        	to port to non-Unix platforms.
      9ecd8bec
    • Theodore Ts'o's avatar
      ChangeLog, configure, configure.in: · c03bc4e8
      Theodore Ts'o authored
        * 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.
      c03bc4e8
    • Theodore Ts'o's avatar
      ChangeLog, tune2fs.c: · 671cbfa9
      Theodore Ts'o authored
        tune2fs.c: Fix typo (double spaces) in messages regarding changing the
        	sparse superblock option
      671cbfa9
    • Theodore Ts'o's avatar
      ChangeLog, fsck.c, fsck.h: · 7f4bb6c6
      Theodore Ts'o authored
        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.
      7f4bb6c6
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.c: · 7671433a
      Theodore Ts'o authored
        Fix display bug when printing out the number of superblocks.
        Suggested by Yann Dirson.
      7671433a
  7. 16 Sep, 1999 1 commit
  8. 14 Sep, 1999 6 commits
    • Theodore Ts'o's avatar
      ChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c: · d3aea7dc
      Theodore Ts'o authored
        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.
      d3aea7dc
    • Theodore Ts'o's avatar
      ChangeLog, expanddir.c, ext2fs.h: · 3a5f8eaa
      Theodore Ts'o authored
        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.
      3a5f8eaa
    • Theodore Ts'o's avatar
      ChangeLog, Makefile.in, e2p.h, feature.c, ls.c: · d7b701de
      Theodore Ts'o authored
        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.
      d7b701de
    • Theodore Ts'o's avatar
      ChangeLog, dumpe2fs.8.in, dumpe2fs.c, mke2fs.8.in, mke2fs.c, partinfo.c: · 2740156b
      Theodore Ts'o authored
        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.
      2740156b
    • Theodore Ts'o's avatar
      ChangeLog, pass1b.c: · c1faf9cc
      Theodore Ts'o authored
        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.
      c1faf9cc
    • Theodore Ts'o's avatar
      ChangeLog, expect.1, expect.2, image.gz: · 8b25041e
      Theodore Ts'o authored
        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.
      8b25041e
  9. 31 Jul, 1999 2 commits
    • Theodore Ts'o's avatar
      ChangeLog, expect: · 85734702
      Theodore Ts'o authored
        f_swapfs: Change to deal with new dump_inode command.
      85734702
    • Theodore Ts'o's avatar
      ChangeLog, debugfs.c: · 55376d87
      Theodore Ts'o authored
        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.
      55376d87
  10. 30 Jul, 1999 1 commit
  11. 20 Jul, 1999 2 commits
  12. 19 Jul, 1999 5 commits
    • Theodore Ts'o's avatar
      Makefile.in: · 3ac9f0ef
      Theodore Ts'o authored
        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.
      3ac9f0ef
    • Theodore Ts'o's avatar
      Makefile.in: · f3b3dbbe
      Theodore Ts'o authored
        Fix cleanup procedure to delete subst.conf properly.
      f3b3dbbe
    • Theodore Ts'o's avatar
      Makefile.in: · 790a0ad4
      Theodore Ts'o authored
        Add resize2fs.clean to the clean list.
      790a0ad4
    • Theodore Ts'o's avatar
      Makefile.in: · 66763262
      Theodore Ts'o authored
        Add the -f option to rm when making the distribution_tar_file.
      66763262
    • Theodore Ts'o's avatar
      ChangeLog, depfix.sed: · e2a99be6
      Theodore Ts'o authored
        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.
      e2a99be6