1. 23 Apr, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, tune2fs.c: · 4d0f2283
      Theodore Ts'o authored
        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.
      4d0f2283
  2. 22 Apr, 2001 3 commits
  3. 21 Apr, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.c: · 2103ea78
      Theodore Ts'o authored
        mke2fs.c (main): Add better explanation about when the filesystem will
        	be checked after it is created.
      2103ea78
  4. 17 Apr, 2001 6 commits
    • Theodore Ts'o's avatar
      ChangeLog, subst.c: · 913c4e9f
      Theodore Ts'o authored
        subst.c (replace_string): Fix replace_string so that it correctly
        	handles replacing a substitution variable with a zero-length string.
      913c4e9f
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.c: · d6a27e00
      Theodore Ts'o authored
        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.
      d6a27e00
    • Theodore Ts'o's avatar
      ChangeLog, Makefile.in, ismounted.c: · 52db0b41
      Theodore Ts'o authored
        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().
      52db0b41
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.c, tune2fs.c: · 1d08d9bf
      Theodore Ts'o authored
        mke2fs.c, tune2fs.c: Add newlines to error messages so that they look
        	nicer.
      1d08d9bf
    • Theodore Ts'o's avatar
      ChangeLog, ext2_err.et.in, mkjournal.c: · 03603946
      Theodore Ts'o authored
        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_*.
      03603946
    • Theodore Ts'o's avatar
      ChangeLog, super.c: · ef059870
      Theodore Ts'o authored
        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.
      ef059870
  5. 29 Mar, 2001 7 commits
    • Theodore Ts'o's avatar
      Many files: · da81e3fc
      Theodore Ts'o authored
        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.
      da81e3fc
    • Theodore Ts'o's avatar
      ChangeLog, jfs_user.h, journal.c: · 15986f79
      Theodore Ts'o authored
        journal.c (mark_buffer_uptodate): Add emulation of kernel function
        	mark_buffer_uptodate.
      15986f79
    • Theodore Ts'o's avatar
      jfs.h: · 50286ad4
      Theodore Ts'o authored
        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).
      50286ad4
    • Theodore Ts'o's avatar
      revoke.c: · 78eccb85
      Theodore Ts'o authored
        Make insert_revoke_hash static (since it's not used outside this function).
      78eccb85
    • Theodore Ts'o's avatar
      ChangeLog, recovery.c, revoke.c: · 1f735038
      Theodore Ts'o authored
        recovery.c, revoke.c: Synchronize with 0.6b ext3 files.
      1f735038
    • Theodore Ts'o's avatar
      .del-jfs_e2fsck.h~c0cc80d6: · 1833186c
      Theodore Ts'o authored
        Remove obsolete header file.
      1833186c
    • Theodore Ts'o's avatar
      jfs.h: · 8bc85c0d
      Theodore Ts'o authored
        Update to synchronize with 0.6b version of jfs.h
      8bc85c0d
  6. 26 Mar, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c, util.c, util.h: · 2537b6d0
      Theodore Ts'o authored
        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.
      2537b6d0
  7. 18 Mar, 2001 1 commit
  8. 20 Feb, 2001 2 commits
  9. 17 Feb, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.c: · 93345d15
      Theodore Ts'o authored
        mke2fs.c (main): Flush out the "creating journal" message.  Also
        	handle the case where the default journal size returns zero blocks ==
        	no journal.  Print out how often the filesystem will be checked.
      93345d15
  10. 13 Feb, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, journal.c: · d0515212
      Theodore Ts'o authored
        journal.c (e2fsck_run_ext3_journal): Force a flush of the filesystem
        	and io_channel before replaying the journal.
      d0515212
  11. 08 Feb, 2001 10 commits
    • Theodore Ts'o's avatar
      ChangeLog, e2image.c: · c5423c5b
      Theodore Ts'o authored
        e2image.c (main): Add code to write the e2image header.
      ChangeLog, e2image.h:
        e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
      c5423c5b
    • Theodore Ts'o's avatar
      libuuid.3.in: · 6e343281
      Theodore Ts'o authored
        Fix man page formatting
      6e343281
    • Theodore Ts'o's avatar
      ChangeLog, mkjournal.c: · d23042af
      Theodore Ts'o authored
        mkjournal.c (ext2fs_create_journal_superblock): Fix the setting of
        	s_first for external devices to always be 1, since jsb->s_first is
        	always relative to the start of the journal superblock.  Use htonl(1)
        	when setting s_nr_users.
      d23042af
    • Theodore Ts'o's avatar
      ChangeLog, tune2fs.8.in: · be4244ba
      Theodore Ts'o authored
        tune2fs.8.in: Update man page to reflect that 2.0.39 supports
        	sparse_super.
      be4244ba
    • Theodore Ts'o's avatar
      ChangeLog, dumpe2fs.c: · 8b164f97
      Theodore Ts'o authored
        dumpe2fs.c (list_desc): Fix fencepost error when calculating the range
        of inode table blocks.  Add '0x' to values printed in hex.
      8b164f97
    • Theodore Ts'o's avatar
      ChangeLog, chattr.c, lsattr.c: · fff18b4e
      Theodore Ts'o authored
        chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of
        the LFS so that lstat will work on large files.
      fff18b4e
    • Theodore Ts'o's avatar
      uuidgen.c: · 6b7e807e
      Theodore Ts'o authored
        Add check for HAVE_STDLIB_H before including stdlib.h
      6b7e807e
    • Theodore Ts'o's avatar
      problem.c: · 67a473ec
      Theodore Ts'o authored
        Add quick compression of journal -> @j
      jfs.h:
        Eliminate force of JFS_DEBUG for userspace
      67a473ec
    • Theodore Ts'o's avatar
      journal.c: · 4e009f6a
      Theodore Ts'o authored
        Fix minor typo in C comment
      4e009f6a
    • Theodore Ts'o's avatar
      Makefile.in, configure, configure.in: · db653a80
      Theodore Ts'o authored
        Update for initial finddev library.
      db653a80
  12. 18 Jan, 2001 5 commits
    • Theodore Ts'o's avatar
      Makefile.in: · a05c589a
      Theodore Ts'o authored
        Update makefile dependencies
      a05c589a
    • Theodore Ts'o's avatar
      ChangeLog, pass1.c: · a5c33f26
      Theodore Ts'o authored
        pass1.c (check_blocks): Fix large file checking code so that files >
        	2GB are considered large files, and restrict directories from being >
        	2GB.
      version.h:
        Update for WIP release.
      a5c33f26
    • Theodore Ts'o's avatar
      ChangeLog, mke2fs.8.in, mke2fs.c, tune2fs.8.in, tune2fs.c: · dc2ec525
      Theodore Ts'o authored
        tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user interface
        	so that -J is used to specify journal options, and -j is used to
        	request creation of a journal using default values.  (This is a UI
        	change, but we haven't done a formal release, and it makes things much
        	more consistent with the rest of the options out there.)
        tune2fs.c: Add support for removing a filesystem from an external
        	journal; we correctly remove the filesystem UUID from the external
        	journal's filesystem list.
      dc2ec525
    • Theodore Ts'o's avatar
      ChangeLog, util.c, util.h: · 5683e6e2
      Theodore Ts'o authored
        util.h, util.c (journal_default_size): New function from Andreas
        	Dilger to calculate an appropriate default journal size given a
        	filesystem size.
        util.c (parse_journal_opts): Allow the creation of a journal as small
        	as 1MB.
      5683e6e2
    • Theodore Ts'o's avatar
      ChangeLog, mkjournal.c: · 02088862
      Theodore Ts'o authored
        mkjournal.c (ext2fs_add_journal_device): Fix bug where the device
        	number of the filesystem (instead of the journal) was being dropped
        	into s_journal_dev.
      ChangeLog, dumpe2fs.c:
        dumpe2fs.c (print_journal_information): Use s_first_data_block to find
        	the correct block to read the journal superblock.
      02088862
  13. 16 Jan, 2001 1 commit
    • Theodore Ts'o's avatar
      ChangeLog, Makefile.in, dumpe2fs.c, jfs_user.h, mke2fs.c, tune2fs.c: · 16ed5b3a
      Theodore Ts'o authored
        tune2fs.c: Changed the external journal code so that it simply adds a
        	filesystem to a journal; the journal must have bene created via
        	"mke2fs -O journal_dev /dev/XXX".
        mke2fs.c: Add support for creating an external journal device by using
        	the command "mke2fs -O journal_dev /dev/XXX".  Also changed the
        	external journal code so -j device=/dev/XXX it simply adds a
        	filesystem to that journal; the journal must have been created via
        	separate step.
        dumpe2fs.c (print_journal_information): Add support for dumping
        	information about an external journal device.
      16ed5b3a